Académique Documents
Professionnel Documents
Culture Documents
Table of Contents
1.1 Introduction
Visual Explain for DB2(R) for z/OS(TM) provides graphical depictions of the access plans
that DB2 chooses for your SQL queries and statements. Such graphs eliminate the need
to manually interpret plan table output. The relationships between database objects, such
as tables and indexes, and operations, such as table space scans and sorts, are clearly
illustrated in the graphs. You can use this information to tune your queries.
You can also use Visual Explain to generate customized reports on explainable
statements, to view subsystem parameters, and to view data from the plan table, the
statement table, and the function table.
Note: For more information on the port number and hostname for a
particular Mainframe DB use the link:
http://dbserve.fmr.com/docs/mf/db2Connect_instances.htm
5. Using the Test button you can check the accessibility to that particular Database.
• Click on the option List static SQL to retrieve the SQL from the
backend package
• Now choose Add Package and click on the List All button. This will
list package owners. Select the desired package owner and hit the
“Add” button.
• Desired package owner is added to the list. Now click on OK and wait
till the package list is displayed.
• Select the desired package and add to the list.
• If the DBRM name is known, then a select on the same can be made.
• Click on the Retrieve Statements button to retrieve the SQL’s in this package.
• On the filter window click Cancel and wait till the SQL’s are retrieved.
• Now select the required SQL and generate the graph access path for analysis.
• Placing the cursor on these boxes will give the details.
1.4.3 Help Option
• Visual Explain has a tutorial that can be used to familiarize oneself with the tool.