Skip to main content

   

IBM Redbooks  >  IBM System i




Redbooks Abstract

Preparing for and Tuning the SQL Query Engine on DB2 for i5/OS



Download PDF (3.4 MB)


Get AdobeĀ® ReaderĀ®


View as HTML


Tips for viewing


Order Hardcopy


Others who downloaded this book also downloaded ...

Abstract

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 Redbook gives a broad understanding of the architectural changes of the database concerning the query optimizer. It explains the following concepts:


  • The architecture of the query optimizer
  • The data access methods used by the query optimizer
  • The Statistics Manager included in V5R2
  • The feedback message changes of the query optimizer
  • Some performance measurements
  • Changes and enhancements made in V5R4


The objective of this redbook 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.

Table of Contents

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

Others who downloaded this publication also downloaded
SQL Performance Diagnosis on IBM DB2 Universal Database for iSeries, SG24-6654-00
Stored Procedures, Triggers, and User-Defined Functions on DB2 Universal Database for iSeries, SG24-6503-02
Getting Started with DB2 Web Query for System i, SG24-7214-00


Profile

Publish Date
27 September 2006

Rating: Not yet rated

Rate this book

Author(s)

Hernando Bedoya
Nicolas Bueso Quan
Monti Abrahams
Luis Guirigay
Sabine Jordan
Dave Martin
Barry Thorn
Steve Tlusty
JaeHee Yang

ISBN
0738494992

IBM Form Number
SG24-6598-01

Number of pages
206