Contents Index sa_get_histogram system procedure sa_get_request_times system procedure

ASA SQL Reference
  System Procedures and Functions
    System and catalog stored procedures

sa_get_request_profile system procedure


Function 

Analyses the request-level log to determine the execution times of similar statements.

Syntax 

sa_get_request_profile ( [ request-log-filename [, connection-id ] ] )

Permissions 

DBA authority required.

Side effects 

Automatic commit.

See also 

sa_get_request_times system procedure

sa_statement_text system procedure

sa_server_option system procedure

Description 

This procedure calls sa_get_request_times to process a log file, and then summarizes the results into the global temporary table satmp_request_profile. This table contains the statements from the log along with how many times each was executed, and their total, average, and maximum execution times. The table can be sorted in various ways to identify targets for performance optimization efforts.

If you do not specify a log file, the default is the current log file that is specified at the command prompt with -zo, or that has been specified by

sa_server_option( 'request_level_log_file'filename )

If a connection id is specified, it is used to filter information from the log so that only requests for that connection are retrieved.


Contents Index sa_get_histogram system procedure sa_get_request_times system procedure