A federated database system enables users and applications to refer to multiple database management systems or databases within a single SQL statement. You can, for example, perform a UNION between a DB2® table and a Teradata view. A federated system includes a DB2 instance and database, and one or more data sources. Each data source consists of a non-DB2 DBMS and data.
In InfoSphere™ Federation Server Relational Wrappers, different wrappers are provided to allow your DB2 server to access different data sources. Wrappers are available for Oracle, Sybase, Microsoft® SQL Server, and Teradata. Wrappers for Informix® data sources and DB2 data sources are available as part of DB2 server products.
Before setting up InfoSphere Federation Server Relational Wrappers, you must do two things:
It is recommended to test this connection using query tools of the data source vendor so that any problem encountered with server definitions can be isolated to the installation and configuration of either:
To set up InfoSphere Federation Server Relational Wrappers for Teradata data sources, type the required information in the Path to libcliv2.so library and Path to errmsg.cat file text fields. Click [...] to invoke the path browsers. Here are the default locations:
The DB2 Setup wizard will install a wrapper for the data source and set up InfoSphere Federation Server Relational Wrappers to access the data source.
You can set up InfoSphere Federation Server Relational Wrappers for data sources later by using the DB2 Setup wizard or the Command Line Processor (CLP).
More information on using InfoSphere Federation Server Relational Wrappers to access non-DB2 data sources is available in the DB2 Information Center.