Provide ability for fast receive number of current attachments, WITHOUT 
querying monitoring or call fb_lock_print and parsing its output
----------------------------------------------------------------------------------------------------------------------------------------

                 Key: CORE-5164
                 URL: http://tracker.firebirdsql.org/browse/CORE-5164
             Project: Firebird Core
          Issue Type: Improvement
          Components: Engine
    Affects Versions: 4.0 Initial
            Reporter: Pavel Zotov
            Priority: Trivial


It will be extremely useful for lot of testing purpoces (and not only for them) 
to get number of current sessions.
After discuss with dimitr following syntax seems to be appropriate for this:

select RDB$GET_CONTEXT('SYSTEM', 'SESSION_COUNT') from rdb$database;

PS. Please, add this ability not only in 4.0 but also in 2.5 and 3.0.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to