Preparing for and Tuning the SQL Query Engine on DB2 for i5/OS
An IBM Redbooks publication
Note: This is publication is now archived. For reference only.
The IBM System i family, which encompasses the IBM AS/400, eServer iSeries, eServer i5, and System i5, has a successful 24-year history of satisfying hundreds of customers' requirements, thanks to its developers. DB2 for i5/OS, also known as DB2 Universal Database for iSeries, is deeply rooted in the architecture and heritage of the AS/400 and its predecessor System/38.
The database has undergone significant changes over the years to maintain its competitive advantage including fundamental changes to the structure of the database to compete successfully in the industry. In doing so, IBM Rochester launched a project to re-engineer and redesign important components of the database. The redesigned components were architected using object-oriented design concepts and then implemented using object-oriented implementation techniques.
The query optimizer was one of the key components that was redesigned. This IBM Redbooks publication gives a broad understanding of the architectural changes of the database concerning the query optimizer. It explains the following concepts:
The objective of this book is to help you minimize any SQL or database performance issues when upgrading to OS/400 V5R2 or V5R3 or to IBM i5/OS V5R4. Prior to reading this book, you should have some knowledge of database performance and query optimization.
Chapter 1. Overview of DB2 for i5/OS
Chapter 2. The architecture of DB2 for i5/OS
Chapter 3. Data access methods
Chapter 4. Statistics Manager
Chapter 5. Monitoring and tuning SQE
Chapter 6. Practical experience
Appendix A. Statistics Manager API code examples
Appendix B. Sample database and SQL queries