Interpreting data access by using EXPLAIN

You can use the values captured in EXPLAIN tables, and instances of PLAN_TABLE in particular, to analyze how DB2® accesses data when it processes a particular SQL statement.

Tip: Various query optimization and administration tools, such as IBM® Data Studio or IBM Data Server Manager and DB2 Query Workload Tuner for z/OS®, provide a feature called Visual Explain that enables you to create visual diagrams of the access paths for your SQL statements. To learn more about using this feature, see Generating visual representations of access plans (IBM Data Studio).