When you reset profiling, the database clears the old information and immediately starts collecting new information about procedures, functions, events, and triggers. You can reset procedure profiling from Interactive SQL using the sa_server_option system procedure.
You must have the DIAGNOSTICS system role, and the MANAGE PROFILING system privilege.
Procedure profiling must be enabled.
Call the sa_server_option system procedure, setting the ProcedureProfiling option to RESET.
For example, execute the following CALL statement:
CALL sa_server_option( 'ProcedureProfiling' , 'RESET' );
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|