Limited support BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see BMC AMI Command Center for Db2 13.2

Analyzing a statement from a Db2 package


Use the following procedure to select and tune a statement from any package.

To analyze a statement from a package

New console


  1. In the DB2 Navigator perspective, open or create a package view that contains the required statement.
  2. Select the package containing the required statement.
  3. From the Navigate To list, click Explainable Statements.The results pane displays all Explainable statements for that package.
  4. Search for and select the required statement.
  5. Perform one of the following actions:
    • Click Properties NW_file_text_o.png to view the statement properties.
    • Click Explain NW_generate_explain.png to display the Explain results in the Performance perspective. You can now perform SQL tuning tasks.
Classic console
  1. Click the DB2 Navigator tab.
  2. Open or create a package view that contains the required statement.
  3. Select the package containing the required statement.
  4. From the command toolbar, click Show Explainable Statements ShowExplainableStmt-24.png.The results pane displays all Explainable statements for that package.
  5. Search for and select the required statement.
  6. Perform one of the following actions:
    • Click Properties properties-24.png to view the statement properties.
    • Click Explain explain-24.png to display the graphical Explain of the selected statement in the Explain tab. You can now perform SQL tuning tasks.


Where to go from here

You can return to the results pane in the DB2 Navigator tab to select other statements.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*