Use either Interactive SQL or the GRAPHICAL_PLAN function to view graphical plans. To access text plans, see Reading text plans.
Start Interactive SQL and connect to the SQL Anywhere database.
Type a statement in the SQL Statements pane.
Choose Tools » Plan Viewer.
Select a Statistics level, a Cursor type and an Update status and click Get Plan.
Use the GRAPHICAL_PLAN function to view a graphical plan in XML format, as a string.
Connect to a database as a user with DBA authority.
Execute the GRAPHICAL_PLAN function. See GRAPHICAL_PLAN function [Miscellaneous].
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |