Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - SQL Usage » Query Optimizer » Query optimization and execution » Reading execution plans » Reading graphical plans


Viewing graphical plans

Use either Interactive SQL or the GRAPHICAL_PLAN function to view graphical plans. To access text plans, see Reading text plans.

Viewing graphical plans

To view a graphical plan (Interactive SQL)

  1. Start Interactive SQL and connect to the SQL Anywhere database.

  2. Type a statement in the SQL Statements pane.

  3. Choose Tools » Plan Viewer.

  4. Select a Statistics level, a Cursor type and an Update status and click Get Plan.

To view a graphical plan (SQL)

Use the GRAPHICAL_PLAN function to view a graphical plan in XML format, as a string.

  1. Connect to a database as a user with DBA authority.

  2. Execute the GRAPHICAL_PLAN function. See GRAPHICAL_PLAN function [Miscellaneous].

See also: