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

SQL Anywhere 12.0.0 (Français) » SQL Anywhere Server - SQL Usage » Monitoring and improving database performance » Improving database performance » Other diagnostic tools and techniques

 

Disable profiling using sa_server_option

Once you are finished with the profiling information, you can either disable profiling or you can clear profiling. If you disable profiling, the database stops collecting profiling information and the information that it has collected to that point remains on the Profile tab in Sybase Central. If you clear profiling, the database turns profiling off and clears all the profiling data from the Profile tab in Sybase Central. This section explains how to disable procedure profiling from Interactive SQL using the sa_server_option system procedure.

 ♦  To disable profiling (Interactive SQL)
  • Call the sa_server_option system procedure, setting the ProcedureProfiling option to OFF.

    For example, enter:

    CALL sa_server_option( 'ProcedureProfiling' , 'OFF' );
 ♦  To disable profiling and clear existing data (Interactive SQL)
  • Call the sa_server_option system procedure, setting the ProcedureProfiling option to CLEAR.

    For example, enter:

    CALL sa_server_option( 'ProcedureProfiling' , 'CLEAR' );
 See also