Viewing graphical plans

Use either Interactive SQL or the GRAPHICAL_PLAN function to view graphical plans. The GRAPHICAL_PLAN function displays a graphical plan in XML format, as a string. To access text plans, see Reading text plans.

 To view a graphical plan (Interactive SQL)
  1. Start Interactive SQL and connect to the SQL Anywhere database.

  2. Choose Tools » Plan Viewer (or press Shift+F5).

  3. Type a statement in the SQL pane.

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

  5. Click Get Plan.

 To view a graphical plan (SQL)
  1. Connect to a database as a user with DBA authority.

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

 See also