IBM Information Integration: Federated Queries Warren Heising and Joe Kennedy, IBM Corp. heising@us.ibm.com and joekenn@us.ibm.com IBM Corporation 2002 Disclaimer The information in this presentation concerns new products that IBM may or may not announce. Any discussion of OEM products is based upon information which has been publicly available and is subject to change. The specification of some of the features described in this presentation may change before the General Availability date of these products. REFERENCES IN THIS PUBLICATION TO IBM PRODUCTS, PROGRAMS, OR SERVICES DO NOT IMPLY THAT IBM INTENDS TO MAKE THESE AVAILABLE IN ALL COUNTRIES IN WHICH IBM OPERATES. IBM MAY HAVE PATENTS OR PENDING PATENT APPLICATIONS COVERING SUBJECT MATTER IN THIS DOCUMENT. THE FURNISHING OF THIS DOCUMENT DOES NOT IMPLY GIVING LICENSE TO THESE PATENTS. TRADEMARKS THE FOLLOWING TERMS ARE TRADEMARKS OR REGISTERED TRADEMARKS OF THE IBM CORPORATION IN THE UNITED STATES AND/OR OTHER COUNTRIES: AIX, AS/400, DB2, OPERATING SYSTEM/2, OS/400, ES/9000, OS/390, OS/2, RISC, RISC SYSTEM/6000, SQL, SQL/DS, VM/ESA, IBM, APPROACH, NOTES THE FOLLOWING TERMS ARE TRADEMARKS OR REGISTERED TRADEMARKS OF THE MICROSOFT CORPORATION IN THE UNITED STATES AND/OR OTHER COUNTRIES:MICROSOFT, WINDOWS, WINDOWS NT, ODBC, WINDOWS 95, WINDOWS 98, WINDOWS 2000, WINDOWS ME All other trademarks are trademarks of their respective companies Agenda You are here … IBM Information Integration Infrastructure II Infrastructure enables integration of diverse, distributed and real time data as if it were a single source, no matter where it all resides. Key features of the infrastructure include ability to; Federate, Search, Cache, Transform, And replicate desperate data DB2 Federation DB2 Family MVS AIX VM OS2 VSE HP-UX OS/400 SUN SINIX NT SCO Others DB2 Client DB2 Connect Extenders to Universal Data Other Servers Native Interface DB2 Personal Edition Data Links AST cache of external data (reliability/perf) External Files TABLE UDFs WEB Data Sources Third-party Gateway OLE/OLE DB data sources Lotus Notes MS Exchange MS Excel MS Access, ... Informix Oracle Sybase Microsoft Teradata Non-Relational IMS VSAM Cross Access EDA/SQL Supported Data Sources Federation Single image of disparate data For Federated Queries between DB2 and Informix; Only DB2 UDB ( includes Relational Connect) with wrappers For Federated Queries between DB2 and non IBM databases and access to non-relational sources (XML) and unstructured data; DB2 UDB (includes Relational Connect) DB2 UDB Information Integrator DB2 UDB Integrator for Content From A to B db2 => IDS, IIF, XPS Relational Connect* db2 => Oracle, Sybase, SQL Server (more to come) Information Integrator* db2 => zSeries DB2 DB2 Connect db2 => somewhere else Information Integrator for Content * Was D.J., now Info Integrator How does “Federation” Work? You are here … Target 1 •Network client configured and operational •Federated server •Client SW for targets 1…N Don’t move data, “play it as it lays” •Authentication Target N From db2 => to Informix with DB2 Relational Connect You are here … XPS •TCP Network listener configured and operational •Authentication •DB2 v8.1( includes Relational Connect) •DB2 Informix Client SDK IDS DB2 V8 Relational Connect Configuration GUI DB2 V8 Relational Connect Configuration GUI Relational Connect – hints and tips http://www-3.ibm.com/software/data/db2/udb/ad/db2irfp7/db2ir101.htm • • • Run install: The order has to be V8.1, Relational Connect, then latest fixpack IFMX client software Add Federated Data Sources 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Set the environment variables and update the profile registry. Link DB2 to the Informix client software – djxlinkInformix (pre 8.1) Recycle the DB2 instance. Create the Informix sqlhosts file. Set up db2dj.ini Create the wrapper. Optional: Set the DB2_DJ_COMM environment variable (double check) Create a server. Create a user mapping. Create nicknames for tables, views and Informix synonyms Relational Connect Syntax connect to sample; create wrapper informix; create server rcxps type informix version 8 wrapper informix options ( node 'mkxps' , dbname 'stores_demo', cpu_ratio '.1' io_ratio '.1' ); create user mapping for db2inst1 server rcxps options ( remote_authid 'informix', remote_password ‘techconf' ); create nickname rcx_customer for rcxps."informix"."customer"; select * from rcx_customer; More Capabilities •Read/Write •XML Extender Target 1 •WebSphere MQSeries Target N WorldWide XML Queues: WXQ Future Directions •Information Integrator •Informix Relational Connect bundled with DB2 V8 •New functionality – Read/Write •New product packaging •Please try this at home •Start now with DB2 V8 and Informix. Oracle, Sybase, etc coming soon.