March 2012
Intermediate to advanced
442 pages
9h 31m
English
Starting from DB2 9.7 Fix Pack 1, DB2 introduced the section explain functionality that allows us to capture explain information using the contents of a run-time section. Using section explains, we can get information about the actual execution values along with the estimated values provided by the EXPLAIN command. In this recipe, we will discuss how we can extract explain information from a section, and compare the estimated and actual values in the access plan.
We should have EXPLAIN tables created before we can capture any explain information.
To obtain the estimated and actual explain information, perform the following steps:
SECTION_ACTUALS database ...Read now
Unlock full access