Description
Book SynopsisThis module is not sponsored by IBM and must be installed separately from the Db2 database.
After reading
Foundation Db2 and Python you'll be able to install Db2 on Windows or Linux, and perform backups and restore data.
Table of ContentsChapter 1: Introduction Chapter Goal: An introduction to Db2 for Linux and Windows.
No. of Pages: 10
Sub-Topics:
Glossary of termsIntroduction to the Db2Obtaining the install files for Db2What you need as far as your hardware and OS for your Db2 machineHow to organize your file system to support Db2 data bases
Chapter 2: Installing Db2Chapter Goal: Describes how to install Db2 on Linux and Windows
No. of Pages: 50
Sub-Topics:
Preparing your server for Db2Installing Db2 on LinuxInstalling Db2 on WindowsInstalling the ibm_db moduleTest the connection between Python/ibm_db and Db2
Chapter 3: Db2 ManagementChapter Goal: Create Python scripts to access Db2
No. of Pages: 40
Sub-Topics:
Layout of the typical Python script to access Db2The ibm_db moduleThe order of processing in almost all Python scripts accessing Db2Using exceptions in your Python scripts
Chapter 4: Installing the Db2 sample database and a custom databaseChapter Goal: Learn how to design and create your own databasesNo. of Pages: 35Sub-Topics:Install the Db2 sample databaseWrite some simple Python scripts to access the sample data baseDesign and install the Orbital Launch data baseWrite some simple Python scripts to assess the Orbital Launch data base
Chapter 5: Creating Utility Modules for Accessing Db2Chapter Goal: Creating modules that access ibm_db
No. of Pages: 40
Sub-Topics:
Create you first utility moduleUse functions or classes in your module, or both?Organizing your module(s)Accessing your module
Chapter 6: Documenting the ibm_db ModuleChapter Goal: Documenting the ibm_db Module API
No. of Pages: 40
Sub-Topics:
Document each API in the ibm_db moduleDocument all input and outputs to each APIProvide multiple examples for each API
Chapter 7: Writing Good SQL for Db2 (this might cover multiple chapters)Chapter Goal: Creating optimized SQL for Db2
No. of Pages: 60
Sub-Topics:
Minimize the passes through the dataCode for concurrencyLocking and isolation levelsHow to avoid writing codeThe importance of indexesOptimizationSequential vs. random data accessTypes of joins
Chapter 8: Where is the ibm_db Module GoingChapter Goal: Explain why IBM does not directly support the ibm_db module
No. of Pages: 25
Sub-Topics:
Why ibm_db is open source?How does ibm_db use underlying systems?Why is this module not included with Db2?Some future items to be added to ibm_db module
Chapter 9: Db2 provided utilitiesChapter Goal: Describe some of the utilities that come with Db2 and possibly some extra cost utilitiesNo. of Pages: 50Subtopics:What utilities are covered has yet to be identified
Chapter 10: BLOB data, what is it and how do you use itChapter Goals: Describe what a blob is and how to use oneNo. of Pages: 50Subtopics:Describe the different kinds of BLOBsAccessing BLOB data in PythonWhat kinds of data can be stored in a BLOBUtilizing BLOBs to store Python data, how to keep data and metadata together in Db2