DB2 Universal Database V6.1 for Unix, Windows and OS/2 Certification Guide
IBM DB2 is now the most-popular and fastest growing database in the world, with well over 1 million licensed users. With the release of version 7.1 of its database software, IBM is expected to further increase its lead over rivals Oracle and Microsoft in late 2000 and into 2001. This book is the most comprehensive reference to DB2 UDB, as well as the most complete study guide for DB2 certification. This book will cover DB2 certification for both the Windows and UNIX platforms.
- Mixed media product | 1014 pages
- 177.8 x 233.68 x 45.72mm | 1,406.13g
- 01 Nov 1999
- Pearson Education (US)
- IBM Press
- Armonk, United States
- 3rd edition
- w. figs.
Table of contents
I. INTRODUCTION TO DB2 UDB. 1. Product Overview. DB2 Universal Database-The Scalable Database. DB2 Universal Database Products. DB2 Universal Database. DB2 UDB Personal Edition. DB2 UDB Workgroup Edition. DB2 UDB Enterprise Edition. DB2 UDB Enterprise-Extended Edition. DB2 Connect. DB2 Connect Personal Edition. DB2 Connect Enterprise Edition. DB2 Developer's Edition. DB2 Satellite Edition. Satellite Components. Logical Components. Model Office. Maintenance of Satellite Systems. DB2 Data Links Manager. DB2 Data Links Manager System Overview. Components of a Data Links Server. Data Links Manager Facilities. DB2 Query Patroller. DB2 Licensing. Client/Server Communication Protocols. DB2 UDB Resource Usage. Features and Functions. The Control Center. Other Tools Available from the Control Center. The SmartGuides. Other DB2 UDB Tools. The Command Line Processor (CLP). Summary. Questions. Answers.2. Getting Started. Product Installation. Windows NT/9x and OS/2 Installation. UNIX Installation. DB2 Client Installation. Distributed Installation. The DB2 UDB Environment. DB2 Profile Registry. Environment Variables. Using the Command Line Processor. DAS and DB2 Instances. DB2 Administration Server (DAS) Instance. DB2 Instances. Creating the Sample Database. Using the Command Line. Using First Steps. Summary. Questions. Answers. Exercises.3. Getting Connected. Roadmap to Client/Server Communications. Automated Configuration using Discovery. Automated Configuration Using Access Profiles. Manual Configuration. DB2 Discovery. DB2 Directories. Examining DB2 UDB Directories. Configuring DB2 Clients. Automated Configuration using Discovery. Using Access Profiles. Manual Configuration. Summary of Configuring Connections. Configuring Communications. Configuring the DB2 Instance for Communications. Configuring the DAS Instance. Configuring DB2 Discovery. Binding Utilities. Binding Utilities Using the CCA. Instance Administration. Local Instance Administration. Attaching to an Instance using the Control Center. Summary. Questions. Answers.4. Controlling Data Access. Security. Overview of Security. Authentication. Authorities and Privileges. Windows NT Considerations. Auditing. Summary. Questions. Answers. Exercises.II. USING SQL. 5. Database Objects. Understanding Database Objects. Data Types. Tables. Schemas. Table Spaces. Views. Indexes. Packages. Buffer Pools. Transactions. Locks. Log Files. Creating a DB2 UDB Database. Managing Database Objects. Using SQL Data Definition Language (DDL). Data Types. Tables. Views. Indexes. Database Design and Implementation. DB2CERT Database Table Descriptions. Define User-Defined Data Types. Defining Columns. Keys. Defining Primary Keys. Defining Unique Keys. Defining Foreign Keys. Summary. Questions. Answers. Exercises.6. Manipulating Database Objects. Data Retrieval. Retrieving the Entire Table. Projecting Columns from a Table. Changing the Order of the Columns. Restricting Rows from a Table. Predicate Evaluation for UDTs. Restricting Rows Using Multiple Conditions. Selecting Columns from Multiple Tables. Using Correlation Names. Sorting Your Output. Derived Columns. DB2 Functions. Grouping Values. Eliminating Duplicates. Searching for String Patterns. Searching for Data in Ranges. Searching for Null Values. Searching for Negative Conditions. Searching for a Set of Values. Sub-Queries. Quantified Predicates. Case Expressions. Nested Table Expressions. Scalar Fullselect. Common Table Expressions. Set Operators. Data Modification. Inserting Data Records. Updating Data Records. Removing Data. View Classification. Deletable Views. Updatable Views. Insertable Views. Read-Only Views. Inoperative views. Summary. Questions. Answers. Exercises.7. Advanced SQL. Triggers. Trigger Usage. Trigger Activation. Trigger Example (After Trigger). Trigger Example (Before Trigger). Recursive SQL. Outer Join. Left Outer Join. Right Outer Join. Full Outer Join. Combining Outer Joins. OLAP Features. STAR Schemas. OLAP Indexes. STAR Joins. Super Grouping. Advanced CASE Expressions. Using CASE expressions to Group Values. Using CASE expressions in Functions. Structured Types and Typed Tables. Creating Structured Types. Altering Structured Types. Creating Typed Tables. Dropping Typed Tables. Inserting Rows into a Typed Table. Selecting a Row from a Typed Table. Updating and Deleting Rows from Typed Tables. Physical Implementation of Typed Tables. Reference Columns. View Hierarchies. SQL Functions for typed tables and typed views. TYPE Predicate. Considerations when using Typed tables and views. Examples of a Typed Table Hierarchy. Summary Tables. Creating a summary table. CURRENT REFRESH AGE Special Register. Considerations of using Summary Tables. System Catalog Information for Summary Tables. Summary. Exercises.8. Concurrency. Concurrency. Concurrency Considerations. Isolation Levels. Uncommitted Read. Cursor Stability. Read Stability. Repeatable Read. Choosing an Isolation Level. Locking. Lock Attributes. Lock Conversion. Lock Escalation. Lock Wait Behavior. Lock Table Statement. LOCKSIZE parameter of ALTER TABLE statement. Summary. Questions. Answers. Exercises.III. DB2 UDB ADMINISTRATION. 9. Data Storage Management. Buffer Pools. Table Spaces. SMS Table Spaces. DMS Table Spaces. Regular Table Spaces. Long Table Spaces. Temporary Table Spaces. Containers. Directory Containers. Device Containers. File Containers. Extents. Pages. Long Field Data. Large Object Data. Planning and Design. Sizing the Processor, Disk and Memory. Table Space Design. Implementation. Creating a Database. Creating Buffer Pools. Creating Table Spaces. Creating Tables. Dropping Table Spaces. Dropping Buffer Pools. Dropping a Database. Creating Table Spaces Using the Control Center. Table Space Maintenance. Database Files. Listing Table Spaces. Listing Table Space Containers. Table Space States. System Catalog Information About Table Spaces. Adding Containers to DMS Table Spaces. Summary. Questions. Answers. Exercises.10. Maintaining Data. Moving data. Delimited ASCII files. Non-Delimited ASCII Files. PC/IXF Files. Worksheet Format Files. Data Movement Utilities. The Export Utility. The IMPORT Utility. The Load Utility. The LOAD QUERY Command. The SET INTEGRITY Statement. The DB2MOVE Utility. The DB2LOOK Utility. Data Maintenance. Analyzing Data's Physical Organization. Table Reorganization. Generating Statistics. The Rebind Utility. Data Maintenance Process. Modelling a Production Environment. Summary. Questions. Answers. Exercises.11. Database Recovery. Database Recovery Concepts. Unit of Work. Transaction. Types of Recovery. Recovery Strategies. Recoverable and Non-Recoverable Databases. Online and Offline Access. Use of Log Files. Log Buffers. Primary and Secondary Log Files. Types of Logging. Log File Usage. Version Recovery using Backup and Restore. Roll-Forward Recovery. Managing Log Files. Other Recovery Considerations. Summary. Questions. Answers. Exercises.12. Monitoring and Tuning. Elements of Performance. Tuning Guidelines. Performance Improvement Process. How Much Can a System Be Tuned? A Less Formal Approach. Monitoring Methods in DB2 UDB. Obtaining Database Access Information. Explain Facilities. Overview of the SQL Compiler. Explain Tables. Gathering Explain Data. Examining EXPLAIN Data. Guidelines on Using EXPLAIN Output. Indexes Advisor Facility. Database Monitoring. Snapshot Monitoring. Event Monitoring. Visual Performance Monitors. DB2 Governor. Performance Issues. Configuring Database Resources. DB2 Sorting Methods. DB2 Server Resources. Query Parallelism. Intra-Partition and Inter-Partition Parallelism. Setting Up Intra-Partition Parallelism. Performance Tuning Scenario. Diagnostics and Problem Determination. Error Messages and SQL Codes. Tracing Problems in DB2 Universal Database. Summary. Questions. Answers. Exercises.IV. DEVELOPING APPLICATIONS. 13. Programming Overview. DB2 UDB Application Development Environment. Software Requirements. Application Development Considerations. Choosing a DB2 UDB Programming Interface. Embedded SQL. Call Level Interface and ODBC. Java Interfaces (JDBC and SQLJ). Native DB2 UDB APIs. Microsoft Data Objects (DAO, RDO, ADO). Other Interfaces and Tools. Choosing DB2 UDB Server-Side Features. DB2 UDB Application Overview. Using Schemas and Aliases. Schema. Alias. Summary. Questions. Answers.14. Embedded SQL Programming. Embedded SQL Overview. Creating Packages. Binding Applications. Static Embedded SQL. Host Variables. Connecting to Databases. Error Handling-Using and Interpreting the SQLCA. Error Handling-Message Retrieval. Indicator Variables. Data Retrieval Methods. Using Cursors. Dynamic Embedded SQL. First Look at Dynamic SQL. Dynamic SQL Phases. Other Concepts. Types of Dynamic SQL Statements. SQLDA Data Structure. Summary. Questions. Answers. Exercises.15. Other Programming Methods. Support for CLI and ODBC Programming. Embedded Dynamic versus Call Level Interface. ODBC versus CLI. Setting Up the CLI Environment. Coding a DB2 UDB CLI Application. Support For Java Programming. JDBC Programming. SQLJ Programming. Building, Distributing and Running Java Programs. Other Application Interfaces. Programming with ActiveX Data Objects. Advanced DB2 UDB Programming Features. Stored Procedures. User Defined Functions. Large Objects. Compound SQL. Summary. Questions. Answers. Exercises.V. APPENDICES. Appendix A: DB2 UDB V. Certification Test Objectives. DB2 UDB V6.1 Fundamentals. DB2 UDB V6.1 Database Administration. DB2 UDB V6.1 Application Development.Appendix B: Example DB2 UDB Source Code. Index. CD-ROM Installation.
About Jonathan Cook
Jonathon Cook and Tetsuya Shirai are software professionals at IBM's International Technical Support Organization, Austin, TX.