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

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - SQL Usage » Performance improvements, diagnostics, and monitoring » Performance monitoring and diagnostic tools » Other diagnostic tools and techniques » Procedure profiling using system procedures


Enabling procedure profiling (SQL)

You can enable procedure profiling by using the sa_server_option system procedure.


You must have the DIAGNOSTICS system role, and the MANAGE PROFILING system privilege.

  1. Connect to the database.

  2. Call the sa_server_option system procedure, setting the ProcedureProfiling option to ON.

    For example, execute the following CALL statement:

    CALL sa_server_option( 'ProcedureProfiling' , 'ON' );


Procedure profiling is enabled.

 See also