_sqp_profile_thread

SQL

procedure _sqp_profile_thread(IN session INT, IN enable BOOL);


Parametry

session
session client number
enable
switch on/off


Od verze

9.5.1

Popis

This procedure disables and enables profiling of a single thread specified by the session number. This number is returned by the _iv_logged_users system query or user the -1 constant for the current thread (i.e. the thread executing this procedure).

The information whether the separate profiling is set for a certain thread is returned by the _iv_logged users system query.

Viz