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.
-
DESCRIPTIONtypeVARCHAR(255) CHARACTER SET UTF8 default NULL -
FLUSH_INTERVALtypeINTEGER default NULL -
ATTACHMENT_IDtypeBIGINT NOT NULL default CURRENT_CONNECTION -
PLUGIN_NAMEtypeVARCHAR(255) CHARACTER SET UTF8 default NULL -
PLUGIN_OPTIONStypeVARCHAR(255) CHARACTER SET UTF8 default NULL
Return type: BIGINT NOT NULL.