Next attachment id, next statement id
-------------------------------------

                 Key: CORE-6300
                 URL: http://tracker.firebirdsql.org/browse/CORE-6300
             Project: Firebird Core
          Issue Type: New Feature
          Components: Engine
            Reporter: Karol Bieniaszewski


Please provide easy access to the info:
- next attachment id
- next statement id

Currently we can read in easy way only next transaction id as 
MON$NEXT_TRANSACTION in MON$DATABASE.
Next statement id we can read from joining current attachment with 
mon$statements.
But next attachment id can be read only by statistics service (reading header 
page) and it does not show real time values only some "updated one" and not 
correlated with current snapshot of database state taken by MON$ tables.
Of course we can made new connection - but this is to costly and not natural 
way.

This info can be used to monitor database e.g. how many new attachements are 
done during period. In a period there can be many short leaving attachment and 
reading MON$ATTACHEMNT can simply miss it.



-- 
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

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to