Book description
The cost-based optimizer of IBM DB2 for z/OS has continually evolved since its initial inception. Support has included new optimization algorithms, join methods, complex relational data structures, such as star schemas. DB2 for z/OS V8 has provided access path visualization and a Statistics Advisor function through a new Visual Explain.
DB2 9 for z/OS starts addressing the challenge of reducing cost of ownership by extending query optimization through expert-based query and workload analysis, server enhancements, and an Index Advisory function. These functions are delivered with two tools: DB2 Optimization Service Center and DB2 Optimization Expert.
This book helps you understand the installation, customization, and usage aspects of the tools. You are guided through scenarios of gradually increasing complexity where the functions of the tools are exploited for query optimization.
Table of contents
- Figures (1/2)
- Figures (2/2)
- Tables
- Examples
- Notices
- Preface
- Part 1: Introduction
- Chapter 1: Query optimization
-
Chapter 2: Sample query optimization
- 2.1: Starting an Optimization Service Center session
- 2.2: Creating a project
- 2.3: Investigating a query by typing the text (1/4)
- 2.3: Investigating a query by typing the text (2/4)
- 2.3: Investigating a query by typing the text (3/4)
- 2.3: Investigating a query by typing the text (4/4)
- 2.4: Investigating a query from a package (1/2)
- 2.4: Investigating a query from a package (2/2)
- 2.5: Investigating a query from the dynamic statement cache
- 2.6: Using the Statistics Advisor (1/2)
- 2.6: Using the Statistics Advisor (2/2)
- Part 2: Installation and customization
- Chapter 3: Installing Optimization Service Center
- Chapter 4: Installing Optimization Expert
- Chapter 5: Tools configuration and customization
- Part 3: Critical query detection
- Chapter 6: Profile monitoring
- Chapter 7: Workloads
- Part 4: Solution components
-
Chapter 8: Query tools
- 8.1: Providing to a query to analyze
- 8.2: Access Plan Graph (1/2)
- 8.2: Access Plan Graph (2/2)
- 8.3: Query Annotation tool
- 8.4: Query reports
- 8.5: Gather service information
-
8.6: Visual Plan Hint
- Introducing optimization hints
- Introducing Visual Plan Hint
- Invoking Visual Plan Hint
- Visual Plan Hint join graph
- Visual Plan Hint general toolbar
- VPH hint area
- Implementing an optimization hint using Visual Plan Hint
- Validating the hint
- Refining the hint
- Implementing the hint
- Visual Plan Hint graph reports
- Chapter 9: Statistics Advisor
-
Chapter 10: Index Advisor
- 10.1: Index Advisor overview
- 10.2: Query Index Advisor
-
10.3: Workload Index Advisor
- Before running Workload Index Advisor
- Running Workload Index Advisor (1/2)
- Running Workload Index Advisor (2/2)
- Workload Index Advisor recommendations
- What-If Analysis
- Acting on the recommendations
- Setting Workload Index Advisor options for the current project (1/2)
- Setting Workload Index Advisor options for the current project (2/2)
- Setting Workload Index Advisor option defaults for new projects
- Chapter 11: Access Path Advisor and Query Advisor
- Part 5: Tuning scenarios
- Chapter 12: Analysis of a problem query
-
Chapter 13: Analysis of a problem workload
- 13.1: The selected workload
- 13.2: Connect to Optimization Service Center or Optimization Expert
- 13.3: Defining a monitor profile
- 13.4: Activating monitoring and measuring the initial run
- 13.5: Analyzing the results
- 13.6: Running Workload Statistics Advisor (1/2)
- 13.6: Running Workload Statistics Advisor (2/2)
- 13.7: Implementing the Workload Statistics Advisor recommendations
- 13.8: Re-measuring the workload after Workload Statistics Advisor recommendations
- 13.9: Implementing the indexes suggested by Workload Index Advisor
- 13.10: Re-measuring the workload after Workload Index Advisor recommendations
- 13.11: Comparing all three workload runs
- 13.12: Conclusion
- Chapter 14: Common practices
- Part 6: Appendixes
- Appendix A: Tips for optimizing very large static workloads
- Appendix B: Administrative Scheduler
- Appendix C: Relevant DB2 objects
- Related publications
- Index (1/2)
- Index (2/2)
- Back cover
Product information
- Title: IBM DB2 9 for z/OS: New Tools for Query Optimization
- Author(s):
- Release date: December 2007
- Publisher(s): IBM Redbooks
- ISBN: None
You might also like
book
Beginning DB2: From Novice to Professional
IBM's DB2 Express Edition is one of the most capable of the free database platforms available …
video
Microsoft Power BI - The Complete Masterclass [2023 EDITION]
Microsoft Power BI is an interactive data visualization software primarily focusing on business intelligence, part of …
audiobook
168 Hours
There are 168 hours in a week. This book is about where the time really goes, …
audiobook
How to Do Nothing
A galvanizing critique of the forces vying for our attention-and our personal information-that redefines what we …