After inserting an execution plan into a QCD using INSERT EXPLAIN, view the Explain results graphically or textually.
-
Click .
The Select Execution Plan(s) to Open (Different Server) window appears.
Select Execution Plan(s) to Open (Different Server)
-
Select a QCD:
- In the tree view, right-click the Query Capture Databases node to display a shortcut menu.
- In the shortcut menu, select Browse QCD to list all available QCD names under Query Capture Databases node.
-
Load plans from a different server:
- Click the Connect button in the toolbar of the Open Plan window.
- Enter logon information.
- In the shortcut menu, select Browse QCD to list all available QCD names under Query Capture Databases node.
-
To view the available XML plans in the selected QCD, do the following:
- Under the Query Capture Databases node, select a specific QCD.
- Right-click the QCD to display the shortcut menu and select Browse Plans to display the Browse QCD Plans dialog box.
-
Select XML Plans to view the available XML plans in the selected QCD.
Browse QCD Plans
This option is available only for Teradata Database version 13.10 and later.
- Click OK to retrieve the specified plans.
-
Select the check box next to one or more plans in the Available Execution Plans list.
Click Add All to add all available plans to the Selected Execution Plans list and skip the next step.
- [Optional] To see complete statement text, select a QueryID in the Available list, right-click to select the Statement Text menu item for a specific QueryID (see Viewing Statement Text).
- Click Open to display the plans.