Function START_SESSION
RDB$PROFILER.START_SESSION
starts a new profiler session, makes it the current session (of the given ATTACHMENT_ID
) and returns its identifier.
If FLUSH_INTERVAL
is different from NULL
, auto-flush is set up in the same way as manually calling RDB$PROFILER.SET_FLUSH_INTERVAL
.
If PLUGIN_NAME
is NULL
(the default), it uses the database configuration DefaultProfilerPlugin
.
PLUGIN_OPTIONS
are plugin specific options and currently should be NULL
for the Default_Profiler
plugin.
-
DESCRIPTION
typeVARCHAR(255) CHARACTER SET UTF8 default NULL
-
FLUSH_INTERVAL
typeINTEGER default NULL
-
ATTACHMENT_ID
typeBIGINT NOT NULL default CURRENT_CONNECTION
-
PLUGIN_NAME
typeVARCHAR(255) CHARACTER SET UTF8 default NULL
-
PLUGIN_OPTIONS
typeVARCHAR(255) CHARACTER SET UTF8 default NULL
Return type: BIGINT NOT NULL
.