Dynamically explaining an SQL statement

Use the Explain SQL Statement window to dynamically explain an SQL statement and produce an access plan graph. If explain tables do not exist, they will be created.

An explained statement record is added to the Explained Statements History for all successful operations.

Fields and controls

Authorities and privileges



To dynamically explain an SQL statement:

  1. Open the Explain SQL Statement window.

  2. In the SQL text field, you can:

  3. Optional. Either accept the defaults or enter new values for Query number or Query tag fields.

  4. Optional. Either accept the default or select a different value for Query optimization class.

  5. Optional. Select the Populate all columns in Explain tables check box if you want all columns of explain tables to be populated from the dynamic explain; otherwise, only the few columns needed by Visual Explain are populated from the dynamic explain.

  6. To dynamically explain the SQL statement, click on OK.


Related information