Ibm Informix Integration Through Data Federation Ibm Redbooks pdf download
Ibm Informix Integration Through Data Federation Ibm Redbooks pdf download
https://ebookbell.com/product/ibm-informix-integration-through-
data-federation-ibm-redbooks-51388476
https://ebookbell.com/product/informix-dynamic-server-11-advanced-
functionality-for-modern-business-chuck-ballard-carlton-doe-ajay-
gupta-randy-house-alexander-koerner-vijay-lolabattu-keshava-murthy-
jacques-roy-karl-schimmel-richard-snoke-23686160
https://ebookbell.com/product/informix-dynamic-server-v10-extended-
functionality-for-modern-business-chuck-ballard-carlton-doe-alexander-
koerner-anup-nair-jacques-roy-dick-snoke-ravi-vijay-23686164
https://ebookbell.com/product/rational-application-
developer-v6-programming-guide-2-volume-set-ibm-redbooks-2104608
https://ebookbell.com/product/ibm-framework-for-ebusiness-technology-
solution-and-design-overview-ibm-redbooks-ibm-redbooks-2202548
Websphere Business Integration Message Broker Basics Ibm Redbooks
https://ebookbell.com/product/websphere-business-integration-message-
broker-basics-ibm-redbooks-2345584
https://ebookbell.com/product/websphere-business-integration-adapters-
an-adapter-development-and-websphere-business-integration-solution-
ibm-redbooks-2445116
https://ebookbell.com/product/ibm-tivoli-storage-management-concepts-
ibm-redbooks-2487464
https://ebookbell.com/product/enhance-your-business-applications-
simple-integration-of-advanced-data-mining-functions-ibm-
redbooks-2509754
https://ebookbell.com/product/understanding-ldap-design-and-
implementation-ibm-redbooks-2620322
Front cover
IBM Informix:
Integration Through
Data Federation
Managing information and protecting
development assets
Integrating heterogeneous
sources of data
Chuck Ballard
Nigel Davies
Marcelo Gavazzi
Martin Lurie
Jochen Stephani
ibm.com/redbooks
International Technical Support Organization
August 2003
SG24-7032-00
Note: Before using this information and the product it supports, read the information in
“Notices” on page vii.
This edition applies to DB2 Information Integrator Version 8.1, Informix Enterprise Gateway
Manager Version 7.3.1, Informix Dynamic Server Version 9.4, Informix Extended Parallel Server
Version 8.4, IBM Red Brick Version 6.2, DB2 Version 8.1, and Oracle9i.
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
The team that wrote this redbook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Comments welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Executive summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Contents v
8.1 Federated inserts with Informix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
8.2 Using DATE columns for a Union operation . . . . . . . . . . . . . . . . . . . . . . 219
8.3 Use of current schema with DB2 Interactive Explain . . . . . . . . . . . . . . . 219
8.4 DB2 problem determination series tutorial . . . . . . . . . . . . . . . . . . . . . . . 220
8.5 Losing connection to a data source. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
8.6 Using views versus synonyms with data federation . . . . . . . . . . . . . . . . 220
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in other countries. Consult
your local IBM representative for information on the products and services currently available in your area.
Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product, program, or service that
does not infringe any IBM intellectual property right may be used instead. However, it is the user's
responsibility to evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this document.
The furnishing of this document does not give you any license to these patents. You can send license
inquiries, in writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive Armonk, NY 10504-1785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other country where such provisions
are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES
THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer
of express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically made
to the information herein; these changes will be incorporated in new editions of the publication. IBM may
make improvements and/or changes in the product(s) and/or the program(s) described in this publication at
any time without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in any
manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the
materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.
Information concerning non-IBM products was obtained from the suppliers of those products, their published
announcements or other publicly available sources. IBM has not tested those products and cannot confirm
the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on
the capabilities of non-IBM products should be addressed to the suppliers of those products.
This information contains examples of data and reports used in daily business operations. To illustrate them
as completely as possible, the examples include the names of individuals, companies, brands, and products.
All of these names are fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrates programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs in
any form without payment to IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating platform for which the
sample programs are written. These examples have not been thoroughly tested under all conditions. IBM,
therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. You may copy,
modify, and distribute these sample programs in any form without payment to IBM for the purposes of
developing, using, marketing, or distributing application programs conforming to IBM's application
programming interfaces.
AIX® ™ NetVista™
CT™ ^™ Notes®
DataBlade™ Informix® OS/390®
DataJoiner® IBM® Red Brick™
Distributed Relational Database ibm.com® Red Brick Vista®
Architecture™ IMS™ Redbooks™
DB2 Universal Database™ iSeries™ Redbooks (logo) ™
DB2® Lotus Notes® Tivoli®
DRDA® Lotus® z/OS™
ActionMedia, LANDesk, MMX, Pentium and ProShare are trademarks of Intel Corporation in the United
States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the
United States, other countries, or both.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun
Microsystems, Inc. in the United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other company, product, and service names may be trademarks or service marks of others.
This IBM® Redbook is primarily intended for use by IBM Informix® Customers
and Business Partners, but much of the information in this publication can be
used in any data federation implementation. The purpose is to demonstrate how
your heterogeneous sources of information can be federated and enable the
implementation, use, and maintenance of a robust, managed information
environment.
The information in this publication will help you understand how the IBM Informix
database family of products can better be used together, and with other
information sources. The primary focus is on moving towards an integrated
information environment. There are several ways to provide this type of
environment, and we will discuss those alternatives.
We demonstrate how you can start down the path towards an integrated
information environment through the use of data federation technology. There are
two primary tools available to help you along, and we will discuss them and their
capabilities in later chapters. Those tools are DB2® Information Integrator and
Informix Enterprise Gateway Manager.
In addition to data federation and integration, there are other related topics of
interest in this publication. The following is a brief description of the topics and
how this publication is organized:
“Introduction” on page 1 provides a high level overview of the contents of this
publication. It enables the reader to get a basic understanding of the contents
and conclusions presented in this publication, without the requirement of
reading all the detailed and technical supporting information.
Chapter 1, “Data federation overview” on page 13, gives an overview of the
topic of data federation. It explains why it is strategic and describes the
benefits. Some best practices are provided to help guide you through
planning for and implementing your federated data environment. It can deliver
significant advantages and enable you to get faster and easier access to your
information assets.
Preface xi
Figure 1 Left to right: Nigel Davies, Marcelo Gavazzi, Chuck Ballard, Jochen Stephani
Other Contributors
Thanks to the following people for their contributions to this project:
Omkar Nimbalkar - Informix Product Management and Marketing
Dwaine Snow - Product Manager, Informix Dynamic Server
Patricia Quinn - Brand Manager, Informix Dynamic Server
Mohan Natraj - WW Brand Manager, XPS and Red Brick Warehouse
IBM Informix Marketing, Support, and Development
Preface xiii
Yang Jason Sun - UDB Query Compiler
Jacques Labrie - DB2 II Scenario Testing
Yannick Barel - Information Integration Technology Solutions
Josette Huang - Manager, Information Integration
Glenn Smith - Information Integration Install Developer
Joe Baginski - Manager, Information Integration Build and Install
IBM Silicon Valley Development Lab
Your efforts will help increase product acceptance and customer satisfaction. As
a bonus, you'll develop a network of contacts in IBM development labs, and
increase your productivity and marketability.
Find out more about the residency program, browse the residency index, and
apply online at:
ibm.com/redbooks/residencies.html
Comments welcome
Your comments are important to us!
Preface xv
xvi IBM Informix: Integration Through Data Federation
Introduction
This fast moving, heterogeneous, and ever growing type of business environment
becomes a stumbling block in making the acquisition, merger, or move to a new
technology successful. Because business cannot afford to stop doing business
until all the processes are integrated and working smoothly, it can be a huge
challenge. It can impact day-to-day business processes, the business transaction
processing systems, and the population of data warehouses that are so critical in
helping management make timely and informed decisions.
While we are discussing terms, be aware also that the terms information
integration or data integration are typically used rather loosely around the world.
You must always insist on definitions of these terms rather than accepting them
at face value. There can be varying levels of integration, but any form of
integration is typically quite difficult, resource intensive to achieve, and quite
expensive. But, depending on your definition, it could be said that data federation
is actually some level of information integration.
Data federation uses a single language to access all data sources, and that is
SQL. So, all data can be accessed and used from an application program, tool,
or program product using the same relational SQL. This means that companies
can begin moving to a standardized data access language for all their data
sources, which can mean a huge productivity boost for them. It also means huge
savings in finding, training, and maintaining skilled programming resources. This
standardization should result in a reduction in the number of different skilled
resources that a company will require to manage, maintain, and use their legacy
data.
However, there is more to data federation than simple data access. Data from
these multiple heterogeneous data sources typically will need, as examples, to
be joined together, aggregated, and summarized. This is not a simple task,
especially when the data sources reside in distributed systems in different
operating environments. Also, in addition to accessing the data, performance and
resource requirements must be considered. For example, where will these
operations take place? Will all the data have to be transferred back to the
federator? What will be the impact on the network?
To do so, we have included other data sources that are also typically
implemented by this set of users. For example, we also include Oracle9i, DB2
UDB, and Microsoft Excel. We discuss the concepts of, and considerations for
using, data federation. The benefits are many and are discussed in numerous
books and articles on the subject. We present some examples of those benefits
in this publication just to give you a feel for why you should consider
implementing a federated data environment.
Introduction 3
All data federation implementations are not alike. You must understand the
concepts, but you also must understand the criteria that can enable you to
evaluate the candidates. You must come to know the functions, features,
performance, ease of use, resource requirements, and future product direction,
to select wisely. Once you know all this, we think you will select DB2 Information
Integrator.
There are two products available from IBM that can participate in a federated
data environment. We chose to test both of these products and document the
results in this publication.They are:
DB2 Information Integrator (II)
Informix Enterprise Gateway Manager (EGM)
We configured a test environment that would appropriate for most IBM Informix
customers. That environment consisted of the following five database
management systems:
Informix Dynamic Server V9.4
Informix Extended Parallel Server V8.4
IBM Red Brick Warehouse V6.2
DB2 UDB V8.1
Oracle9i
Introduction 5
Integrator and Informix Enterprise Gateway Manager, and their ability to rewrite
the query plans. These products also enabled us to view those new query plans
to validate any optimization that took place.
For all the specific details on the project environment, refer to Chapter 2, “The
data federation project” on page 31. Here you will also discover the reasons
behind our selections for the environment.
Using these products simplified the data access and enabled fast development
and execution of the test queries. A sample database, the Stores Demo
database, comes with IDS and was used as the test vehicle for the
implementation. It is a database, and application scenario, familiar to most
Informix customers. Using it should promote easier understanding of the results
of our tests. Using this environment provided us a means of demonstrating how
quickly solutions can be developed and implemented, even when using multiple
heterogeneous data sources. It truly demonstrates the value of a federated data
environment.
We believe this publication will provide, in one document, the information you
need to begin implementing and testing a powerful federated data environment. It
will support the movement to a more standard development environment, saving
you time, money, and minimizing the need for skilled development resources on
all of those data sources.
All this adds significant costs to your organization to maintain, manage, and use.
It is because of all this that information integration is needed. Also, there is
significant savings associated with it.
Introduction 7
We have purposely restricted our scope of the project to federation of relational
data sources. Our project environment and architecture is defined in detail in
Chapter 2, “The data federation project” on page 31.
To make this exercise more realistic, we have constructed a case study centered
around a fictitious company based in the United States. This fictitious company
has the states organized into seven regions. Each region uses the same
database schema, but has implemented it using a different database server or
operating system. Most businesses hopefully would be less complex than this.
However, we wanted to demonstrate the robust data federation capabilities that
are available to you. We have used the Informix Stores Demo database schema
for our case study. That is a sample database supplied with Informix Dynamic
Server (IDS) and Informix Extended Parallel Server (XPS). Most Informix users
are already familiar with this schema, which should aid the understanding of our
case study.
We use this case study to explore the data federation technology available today
from IBM. We discuss the strengths and weaknesses, and provide insight into to
how it works and how to leverage the technology to your benefit.
Data federation technology is certainly impressive, giving you a great start down
the path to fully realize the vision of information integration, as expressed in 1.1,
“The challenge of information integration” on page 14.
The purpose of this publication is to explore the topic of data federation and
demonstrate how it can be used by companies with Informix, and who also have
other heterogeneous sources of data.
To enable client access to the test environment, we used the following query
products:
Brio Explorer
DB2 Command Center
Server Studio JE (Java Edition)
These products enabled easy development of queries required to test the data
federation and to display the results. The graphical representation of the data
schema made visualizing the testing being done very simple. In addition, it
enabled us to view any modification to the SQL as a result of query optimization
by DB2 Information Integrator or Informix Enterprise Gateway Manager.
If you are in the position of having many data sources that are used to support
your organization, this publication is required reading. It will enable you to start
down the path to a more standardized approach for application development.
One that can provide you with reduced development and maintenance costs,
lower requirement for skilled resources, and less maintenance burden.
After you have read the highlights and benefits you will have a better
understanding of the value of data federation. We then encourage you to read
the remainder of this publication to get more in-depth knowledge that will solidify
your understanding of, and appreciation for, data federation.
Introduction 9
Highlights and benefits
This section contains some of the highlights and benefits of data federation that
we have demonstrated during our testing for this project. They are discussed
throughout the publication, but we have summarized some of them here for easy
and fast reading. The benefits of data federation are many and can be realized
from more than one of the highlight areas.
Reduces your need for skilled resources
Using a federated data approach enables you to access data from multiple
disparate data sources as if they all were the same. Therefore, you should not
need as many skilled resources to work with the different data sources you
might have in your organization. This is particularly true when it comes to your
application development staff. Your developers can now focus on developing
applications rather than trying to understand all the nuances of the different
data sources. It will also make it easier for you to find and employ skilled
resources.
Use standard SQL
You can use standard SQL, and SQL Expressions, in your applications. And,
since it is DB2 SQL, you will always have a ready pool of available resources
from which to fill your development resource requirements.
Query optimization
You will get better performance and resource utilization because your queries
will be optimized. This is unique to DB2 II. It means that more data operations
will be pushed down to their lowest point of execution, which means less data
will be sent across your network. The result is better performance and less
resource utilization.
Use of summary tables
Summary tables are often used to give faster query performance. Now there
is also another type of summary table created as the result of a query. It is
called a Materialized Query Table (MQT). But, if programmers are not aware
of them they will use the original detailed tables. With DB2 II, the DB2
optimizer will be aware of these MQTs and automatically rewrite the query to
use them—for a significant performance boost.
Access nonrelational data
You can also access nonrelational data sources, such as Excel files, with the
same relational SQL used to access relational data. You can even join the
nonrelational data with relational data, fast and easy. This means writing no
more extract programs to take data from nonrelational sources and create
new, or temporary, relational sources so you can join the data together. This
represents a tremendous savings in application development and data
maintenance.
As you read the remainder of this publication you will discover many more
highlights and benefits that will help as you make those critical decisions on data
integration and consolidation.
Introduction 11
12 IBM Informix: Data Federation
1
There are disparate sources of data everywhere, little of which is, or can easily
be, integrated. For examples refer to Figure 1-1 on page 15. Most of the
decisions made that resulted in this situation were well justified and probably
good business decisions—at the time. But, now they are finding it extremely
costly to consolidate, much less integrate, these sources of data to give
management the information they need for decision making. So why do they not
integrate all their sources of data?
Information integration is a much discussed goal, but can be a very difficult goal
to accomplish. When integration is attempted, it is most typically on a small scale
and on an application-at-a-time basis. Therefore, it is not an architected
enterprise data integration effort but rather integration to meet the requirements
of a specific application or systems implementation. But, it is a small step
forward.
The vision of information integration is that users should be able to read and
update all of the data they use as if it resided in a single source.
Information integration technology should shield the requester from all the
complexities associated with accessing the data in its diverse locations and
The challenge of information integration can be met using either of the two
fundamental approaches below, or a combination of both:
Data federation
Data consolidation
Data federation
Data federation is not a new concept and has been around for some time. It is the
ability to combine data from multiple heterogeneous data sources. It is a logical
integration that typically takes place in real time. Although it is not full integration,
many are finding that they can satisfy much of their data integration need with
data federation.
Although data federation sounds relatively simple, there are many considerations
and much care to be taken. To date, most data federation has been
accomplished by custom programming. Now, however, there are products to
help, such as the DB2 Information Integrator (DB2 II).
SQL Server
Oracle
Biological
Data and Teradata
Algorithms Text XML Excel WebSphere MQ WWW, email, … ODBC
Some of the earlier federation attempts involved gateways, which allow a DBMS
to route a query to another database system. Most accomplished this by using a
standard access mechanism called Open Database Connectivity (ODBC). We
will also demonstrate the use of a gateway in this publication. Informix has such a
gateway, called the Informix Enterprise Gateway Manager (EGM), which we will
use along with DB2 Information Integrator. Although EGM is a very robust
gateway, you will find that DB2 II has a number of important capabilities that EGM
does not—for satisfying the requirements of data federation.
For more detailed information on the topic of data federation, there is an excellent
article in the IBM Systems Journal Volume 41, November 4, 2002. It is called
“Data Integration Through Database Federation,“ by L.M. Haas, E.T. Lin, and
M.A. Roth. Some of the above information was distilled from that article.
Data consolidation
Data consolidation (or data placement) physically brings the source data
together from a variety of locations into one place in advance, so that a user
query does not need to be distributed. This approach typically uses either
extract, transformation and load (ETL), or replication functionality. As with the
federated approach above, the end user or application interacts only with this one
physical consolidated database server to enjoy the single data source
experience.
With data consolidation, both the remote data request and transfer must occur
before the end user or application request is issued. It is logical therefore that the
request to the remote data source is basically formulated one time only during
data requirements definition, while the transfer of data typically occurs many
times according to some defined cycle or trigger. Neither the data request nor the
data transfer to and from the remote data source are directly related to the end
user’s request. Although, hopefully, there is some relationship with the end user
request and the data architect’s prediction of the types of queries to be serviced.
A key consideration for data consolidation is the maximum latency that can be
tolerated when transferring the data from source to target. Typically, business
needs specify how up-to-date a copy of the data must be. In data warehouses,
for example, the frequency required might be daily or weekly and the latency of
data consolidation can easily extend to many hours. At the other extreme, the
need for almost real-time data, such as in stock market systems, requires
minimum latency in data consolidation.
Two of the most important factors determining the minimum latency possible in
data consolidation are the complexity of the transformations required and the
volumes of data to be transferred. These factors lead to two complementary
approaches to consolidating data. ETL is optimized for larger data volumes and
is often associated with more complex transformations, while data replication
emphasizes the transfer of individual data records and is often restricted to
simpler transformations.
But from the end users’ points-of-view, or that of the applications acting on their
behalf, data federation and data consolidation act in opposite ways. Data
federation integrates the required information synchronously, directly from its
original sources, acting only after the end user decides what information is
required. It must therefore return the result in a time frame that is acceptable to
the user or requesting application. Data consolidation operates in advance of the
user query, allowing itself more time to perform the required processing.
However, the data architect needs to make decisions in advance regarding what
data will be required. Secondly, because data consolidation is creating a second
copy of the data, it requires a larger quantity of permanent data storage than the
data federation approach.
Consolidated data stores, such as data warehouses and operational data stores
constructed through data placement, have the capability to avoid such issues
using a range of techniques. For example, they could do so by using a
consistent, point-in-time, snapshot approach. The data consolidation approach
can still have advantages in some areas when compared to a federated
database. However, data federation may eliminate the need for building a data
mart. If the volume of queries is not large, and often can be satisfied with
summary tables, a huge productivity boost can be realized by eliminating such
things as the need for a detainment and the corresponding creation of a new
server, and movement of significant quantities of data to populate it. Of course,
for frequent complex queries that need access to the lowest level of detailed
data, a detainment or data warehouse is the preferred solution.
We tested this capability by adding a summary table, and it works. In DB2, the
summary table is called a Materialized Query Table (MQT). A powerful feature of
DB2 II is that it can recognize and understand the MQT. In our test, it recognized
that the MQT could satisfy the query we submitted. So DB2 II intercepted the
SQL for the query and rewrote it to access the MQT rather than the base tables.
In the following sections, there are figures that depict the general environments
of DB2 and Informix, when used as the base for a data federation. There is a
wide range of support with both products that can provide significant benefits as
you integrate the information in your enterprise. And, as we have discussed,
there are differing ways to implement an integrated environment. The primary
message here is that whether you have DB2, or Informix, or both, you have
powerful tools and capabilities at your disposal that can save you time, effort, and
resources as you integrate the information in your enterprise.
Data federation has become a necessity with the evolution and availability of
numerous data management products. Between new technology advances and
the normal evolution of business requirements, companies find themselves with
quite a number of different, and incompatible, data sources. Most companies are
using some form of data federation, even if calling it by another name. Also, it is
typically a customized approach that is very expensive and resource intensive to
support and maintain.
Even with the advent of relational technology and databases, companies find
themselves with more than one relational DBMS. This could be for many
reasons, but it became a reality and the norm rather than the exception. To
minimize the skilled resources and extra work required in application
development, as well as to satisfy the continued push for data integration,
companies demanded additional capabilities from their vendors. In the
beginning, that support was primarily for relational technology.
Data replication became a fast and reliable way to have multiple images of data
in multiple locations, all kept in synchronization. The technology quickly moved
beyond relational, for example, with support for the IBM Information Management
System (IMS™) database technology.
From a programmer perspective, all data sources will appear to be the same.
That is, they will all appear to be DB2 sources. Also, there is access to both
structured and unstructured data (universal data) through the use of DB2
Extenders. Extenders are extensions to DB2 that enable additional capabilities.
The primary product to be used for data federation is the DB2 Information
Integrator, and it is discussed in great detail in subsequent chapters.
DB2 Family
MVS AIX
VM OS2
VSE HP-UX
OS/400 SUN
SINIX NT
SCO Others
DB2 Client
DB2 Connect
Extenders
Other Servers
DB2
AST External Non-Relational
Data Cache
Third-party IMS
Data TABLE Gateway VSAM
Links UDFs
Cross Access
OLE/OLE DB
EDA/SQL
External Supported Data
WEB Data Lotus Notes
Files Sources
MS Exchange
Sources
MS Excel
MS Access
Support was then expanded to enable access to other vendor data sources,
regardless of the platform, but access was primarily through the use of ODBC
rather than the native DBMS API. This approach does enable data access, but
can bring with it performance issues. This is why DB2 has focused on using
native APIs, and it is one of the differentiators of the DB2 approach.
Over time, gateways improved and began to address some of these issues. For
example, as we discuss in later chapters, the Informix Enterprise Gateway
Manager has the capability to change the data access plan as well. However,
there are also some limitations.
In the Informix example, you will note that it can also enable access to both
structured and unstructured data. Informix DataBlades are used for the interface
Early on, Informix introduced I-STAR as a way to enable easy access and
exchange of data between the different Informix relational databases. This is one
of the ways Informix provided the capability to change access plans and
distribute some of the query execution tasks. It was another step towards data
federation. I-STAR began as a separate product, but over time was integrated
into the Informix base technology.
DB2 390
Data Blades
Enterprise
To Universal Data Gateway
With DRDA
Other Servers
Per so nal Ed itio n
Enterprise
Informix Gateway
DB2 UDB
Oracle
Manager Sybase
Microsoft
Teradata
Third-party
Virtual Table Gateway
Interface
Any
Cross Access
External EDA/SQL
Data Source Supported Data
Sources
I-STAR allows users to query and update more than one database across
multiple database servers, within a single transaction. The database servers can
reside on a single host computer or on the same network. A two-phase commit
protocol ensures that transactions are uniformly committed, or rolled back,
1.4 Considerations
In this section we discuss some individual techniques to be considered with data
federation. In later chapters, we make specific recommendations based on the
test environment we used.
In this context we are referring to the local names you allocate in the federated
database server to the remote data sources. Of course the existing remote data
sources will already have their own names and we are not suggesting that you
embark on a campaign to rename all of those.
You may, or may not, choose to follow something similar to our naming approach.
After reading this publication, and hopefully getting a good understanding of what
data federation is all about, we do at least request that you give some thought to
naming conventions. It is much more cost effective to do this at the beginning of
this data federation journey.
In addition, certain higher value data types are either not supported or are
supported with some limitations with the currently available data federation
technology. Examples are certain binary large objects (BLOBs), character large
objects (CLOBs), and some date/time data types on some platforms.
Fortunately, there are some weapons in the data federation arsenal to help you
here. We discuss some of the problems we encountered and how we dealt with
them for DB2 II in 4.4, “Considerations for use” on page 108, and for EGM in 5.3,
“Considerations for use” on page 149.
We also introduce you to our case study, which we hope will give you something
near a touch and feel experience of how you could use data federation within
your own organization.
As the starting point for the case study, we populated the databases in each
region with significant quantities of meaningful test data. We then integrated the
disparate databases from the regions into a single federated corporate database.
To simulate daily operations, we constructed sample queries to run against our
federated database. Sometimes we ran into problems with incompatible data
types in the different DBMSs and had to overcome these issues. We analyzed
access plans produced by the query optimizer for execution of our sample
queries, and then investigated the effect on performance of altering various
configuration settings.
Language: English
London
MACMILLAN AND CO., Limited
NEW YORK: THE MACMILLAN COMPANY
1899
FRATRIS FILIIS
I. C. H. F
H. G. C. F
A word of explanation seems needed about the form this book has
taken. Many years ago I became specially interested in the old
Roman religion, chiefly, I think, through studying Plutarch’s
Quaestiones Romanae, at a time when bad eyesight was compelling
me to abandon a project for an elaborate study of all Plutarch’s
works. The ‘scrappy’ character not only of the Quaestiones, but of all
the material for the study of Roman ritual, suited weak eyes better
than the continual reading of Greek text; but I soon found it
necessary to discover a thread on which to hang these fragments in
some regular order. This I naturally found in the Fasti as edited by
Mommsen in the first volume of the Corpus Inscriptionum
Latinarum; and it gradually dawned on me that the only scientific
way of treating the subject was to follow the calendar throughout
the year, and to deal with each festival separately. I had advanced
some way in this work, when Roscher’s Lexicon of Greek and Roman
Mythology began to appear in parts, and at once convinced me that
I should have to do my work all over again in the increased light
afforded by the indefatigable industry of the writers of the Roman
articles. I therefore dropped my work for several years while the
Lexicon was in progress, and should have waited still longer for its
completion, had not Messrs. Macmillan invited me to contribute a
volume on the Roman religion to their series of Handbooks of
Archaeology and Antiquities.
Having once set out on the plan of following the Fasti, I could not
well abandon it, and I still hold it to be the only sound one:
especially if, as in this volume, the object is to exhibit the religious
side of the native Roman character, without getting entangled to any
serious extent in the colluvies religionum of the last age of the
Republic and the earlier Empire. The book has thus taken the form
of a commentary on the Fasti, covering in a compressed form almost
all the public worship of the Roman state, and including incidentally
here and there certain ceremonies which strictly speaking lay outside
that public worship. Compression has been unavoidable; yet it has
been impossible to avoid stating and often discussing the conflicting
views of eminent scholars; and the result probably is that the book
as a whole will not be found very interesting reading. But I hope
that British and American students of Roman history and literature,
and possibly also anthropologists and historians of religion, may find
it useful as a book of reference, or may learn from it where to go for
more elaborate investigations.
The task has often been an ungrateful one—one indeed of
The more carefully I study any particular festival, the more (at least
in many cases) I have been driven into doubt and difficulty both as
to reported facts and their interpretation. Had the nature of the
series permitted it, I should have wished to print the chief passages
quoted from ancient authors in full, as was done by Mr. Farnell in his
Cults of the Greek States, and so to present to the reader the actual
material on which conclusions are rightly or wrongly based. I have
only been able to do this where it was indispensable: but I have
done my best to verify the correctness of the other references, and
have printed in full the entries of the ancient calendars at the head
of each section. Professor Gardner, the editor of the series, has
helped me by contributing two valuable notes on coins, which will be
found at the end of the volume: and I hope he may some day find
time to turn his attention more closely to the bearing of numismatic
evidence on Roman religious history.
It happens, by a curious coincidence, that I am writing this on the
last day of the old Roman year; and the lines which Ovid has
attached to that day may fitly express my relief on arriving at the
end of a very laborious task:
W. W. F.
Oxford: Feb. 28, 1899.
CONTENTS
Introduction 1
Calendar 21
Festivals of March 33
Festivals of April 66
Festivals of May 98
Conclusion 332
Indices 353
ABBREVIATIONS.
That the Roman year originally began with March is certain[11], not
only from the evidence of the names of the months, which after
June are reckoned as 5th (Quinctilis), 6th (Sextilis), and so on, but
from the nature of the March festivals, as will be shown in treating
of that month. In the character of the religious festivals there is a
distinct break between February and March, and the operations both
of nature and of man take a fresh turn at that point. Between the
festivals of December and those of January there is no such break.
No doubt January 1, just after the winter solstice, was even at an
early time considered in some sense as a beginning; but it is going
too far to assume, as some have done, that an ancient religious or
priestly year began at that point[12]. It was not on January 1, but on
March 1, that the sacred fire in the Aedes Vestae was renewed and
fresh laurels fixed up on the Regia, the two buildings which were the
central points of the oldest Roman religion[13]. March 1, which in
later times at least was considered the birthday of the special
protecting deity of the Romans, continued to be the Roman New
Year’s Day long after the official beginning of the year had been
changed to January 1[14]. It was probably not till 153 B.C., when the
consuls began to enter on office on January 1, that this official
change took place; and the date was then adopted, not so much for
religious reasons as because it was convenient, when the business of
administration was increasing, to have the consuls in Rome for some
time before they left for their provinces at the opening of the war
season in March.
No rational account can in my opinion be given of the Roman
religious calendar of the Republic unless it be taken as beginning
with March; and in this work I have therefore restored the old order
of months. With the Julian calendar I am not concerned; though it is
unfortunate that all the Roman calendars we possess, including the
Fasti of Ovid, date from after the Julian era, and therefore present
us with a distorted view of the true course of the old Roman
worship.
Next after March came Aprilis, the month of opening or unfolding
vegetation; then Maius, the month of growing, and Junius, that of
ripening and perfecting. After this the names cease to be descriptive
of the operations of nature; the six months that follow were called,
as four of them still are, only by their positions relative to March, on
which the whole system of the year thus turned as on a pivot.
The last two months of the twelve were January and February. They
stand alone among the later months in bearing names instead of
mere numbers, and this is sufficient to suggest their religious
importance. That they were not mere appendages to a year of ten
months is almost certain from the antique character of the rites and
festivals which occur in them—Agonia, Carmentalia, Lupercalia, &c.;
and it is safer to consider them as marking an ancient period of
religious importance preparatory to the beginning of the year, and
itself coinciding with the opening of the natural year after the winter
solstice. This latter point seems to be indicated in the name
Januarius, which, whether derived from janua, ‘a gate,’ or Janus, ‘the
god of entrances,’ is appropriate to the first lengthening of the days,
or the entrance of the sun on a new course; while February, the
month of purifying or regenerative agencies (februa), was, like the
Lent of the Christian calendar, the period in which the living were
made ready for the civil and religious work of the coming year, and
in which also the yearly duties to the dead were paid.
It is as well here to refer to a passage of Ovid (Fasti, ii. 47 foll.),
itself probably based on a statement of Varro, which has led to a
controversy about the relative position of these two months:
Sed tamen antiqui ne nescius ordinis erres,
Primus, ut est, Iani mensis et ante fuit.
Qui sequitur Ianum, veteris fuit ultimus anni,
Tu quoque sacrorum, Termine, finis eras.
Primus enim Iani mensis, quia ianua prima est;
Qui sacer est imis manibus, imus erat.
Postmodo creduntur spatio distantia longo
Tempora bis quini continuasse viri.
This plainly means that from the time when March ceased to be the
first month, the year always began with January and ended with
February; in other words the order was January, March, April, and so
on, ending with February; until the time of the Decemvirate, when
February became the second month, and December the last, as at
present, January still retaining its place. A little consideration of
Ovid’s lines will, however, suggest the conclusion that he, and his
authority, whoever that may have been, were arguing aetiologically
rather than on definite knowledge. January, they thought, must
always have been the first month, because janua, ‘a door,’ is the first
thing, the entrance, through which you pass into a new year as into
a house or a temple. How, they would argue, could a month thus
named have ever been the eleventh month? This once supposed
impossible, it was necessary to infer that the place of January was
the first, from the time of its introduction, and that it was followed
by March, April, &c., February coming last of all, immediately after
December; and finally that at the time of the Decemvirs, who are
known to have made some alterations in the calendar, the positions
of January and February were reversed, January remaining the first
month, but February becoming the second.
III. The Divisions of the Month.
Every day in the Roman calendar has a certain mark attached to it,
viz. the letters F, C, N, NP, EN, Q.R.C.F., Q.St.D.F., or FP. All of these
have a religious significance, positive or negative.
F, i. e. fas or fastus, means that on the day so marked civil and
especially judicial business might be transacted without fear of divine
displeasure[18]. Correctness in the time as well as place of all human
actions was in the mind of the early Roman of the most vital
importance; and the floating traditional ideas which governed his life
before the formation of the State were systematized and kept secret
by kings and priests, as a part, so to speak, of the science of
government. Not till B.C. 304 was the calendar published, with its
permissive and prohibitive regulations[19].
C (comitialis) means that the day so marked was one on which the
comitia might meet[20], and on which also legal business might be
transacted, as on the days marked F, if there were no other
hindrance. The total number of days thus available for secular
business, i.e. days marked F and C, was in the Julian calendar 239
out of 365.
N, i. e. nefastus, meant that the day so marked was religiosus,
vitiosus, or ater; as Gellius has it[21], ‘tristi omine et infames
impeditique, in quibus et res divinas facere et rem quampiam novam
exordiri temperandum est.’ Some of these days received the mark in
historical times for a special reason, e. g. a disaster to the State;
among these were the postriduani or days following the Kalends,
Nones and Ides, because two terrible defeats had occurred on such
days[22]. But most of them (in all they are 57) were probably so
marked as being devoted to lustrations, or worship of the dead or of
the powers of the earth, and therefore unsuitable for worldly
business. One long series of such dies nefasti occurs Feb. 1-14, the
time of purification; another, April 5-22, in the month occupied by
the rites of deities of growing vegetation; a third, June 5-14, when
the rites of the Vestals preparatory to harvest were taking place; and
a fourth, July 1-9, for reasons which are unfortunately by no means
clear to us.
NP was not a mark in the pre-Julian calendars, for it was apparently
unknown to Varro and Ovid. Verrius Flaccus seems to have
distinguished it from N, but his explanation is mutilated, even as it
survives in Festus[23]. No one has yet determined for certain the
origin of the sign, and discussion of the various conjectures would
be here superfluous[24]. It appears to distinguish, in the Julian
calendars, those days on which fell the festivals of deities who were
not of an earthly and therefore doubtful character from those
marked N. Thus in the series of dies nefasti in February and April the
Ides in each case have the mark NP as being sacred to Jupiter.
EN. We have a mutilated note in the calendar of Praeneste which
indicates what this abbreviation meant, viz. endotercisus =
intercisus, i. e. ‘cut into parts’[25]. In morning and evening, as Varro
tells us, the day was nefastus, but in the middle, between the
slaying of the victim and the placing of the entrails upon the altar, it
was fastus. But why eight days in the calendar were thus marked we
do not know, and have no data for conjecturing. All the eight were
days coming before some festival, or before the Ides. Of the eight
two occur in January and two in February, the others in March,
August, October and December. But on such facts no conjectures
can be built.
Q.R.C.F. (Quando Rex Comitiavit Fas) will be explained under March
24; the only other day on which it occurs is May 24. Q.St.D.F.
(Quando stercus delatum fas) only occurs on June 15, and will there
be fully dealt with.
FP occurs thrice, but only in three calendars. Feb. 21 (Feralia) is thus
marked in Caer.[26], but is F in Maff. April 23 (Vinalia) is FP in Caer.
but NP in Maff. and F in Praen. Aug. 19 (Vinalia rustica) is FP in Maff.
and Amit, F in Antiat. and Allif., NP in Vall. Mommsen explains FP as
fastus principio, i. e. the early part of the day was fastus, and
suggests that in the case of the Feralia, as the rites of the dead were
performed at night, there was no reason why the earlier part of the
day should be nefastus. But in the case of the two Vinalia we can
hardly even guess at the meaning of the mark, and it does not seem
to have been known to the Romans themselves.
V. The Calendars still surviving.
ebookbell.com