Download Integration Through Data Federation
Transcript
Contents 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 Chapter 1. Data federation overview . . . . . . . . . 1.1 The challenge of information integration . . . . . 1.2 To federate or not to federate . . . . . . . . . . . . . 1.3 Data federation examples . . . . . . . . . . . . . . . . 1.3.1 Data federation with DB2 . . . . . . . . . . . . 1.3.2 Data federation with Informix . . . . . . . . . 1.4 Considerations . . . . . . . . . . . . . . . . . . . . . . . . 1.4.1 Naming conventions . . . . . . . . . . . . . . . . 1.4.2 Data types . . . . . . . . . . . . . . . . . . . . . . . . ...... ...... ...... ...... ...... ...... ...... ...... ...... ....... ....... ....... ....... ....... ....... ....... ....... ....... ...... ...... ...... ...... ...... ...... ...... ...... ...... .. .. .. .. .. .. .. .. .. 13 14 19 23 25 26 28 28 29 Chapter 2. The data federation project . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 2.1 Environment and server configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 2.1.1 Client configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 2.1.2 Database connectivity using DB2 Information Integrator . . . . . . . . . 35 2.1.3 Database connectivity using Informix EGM . . . . . . . . . . . . . . . . . . . 36 2.1.4 Other configuration options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 2.2 Schema definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 2.3 Naming conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 2.3.1 Database servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 2.3.2 Database identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 2.3.3 References to remote tables within the federated database . . . . . . . 45 2.3.4 User IDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Chapter 3. Overview of project data sources . . . . . . . . . . . . . . . 3.1 DB2 UDB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 DB2 UDB architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.2 DB2 UDB functions and features . . . . . . . . . . . . . . . . . . . 3.2 Informix Dynamic Server (IDS) . . . . . . . . . . . . . . . . . . . . . . . . . © Copyright IBM Corp. 2003. All rights reserved. ...... ...... ...... ...... ...... .. .. .. .. .. 47 49 49 52 53 iii