19.09.2014 13:16, Maya Opperman wrote:
>
> I’m not sure if this is a problem or not, but I have quite a few entries
> like this with NULL transaction ID’s in the MON$STATEMENTS table:
>
> Is this a sign that my code isn’t cleaning something up properly, or is
> it perfectly normal?
>
> Any idea under what circumstances this will happen?
This is perfectly normal. From /doc/README.monitoring_tables:
3) For table MON$STATEMENTS:
- column MON$SQL_TEXT contains NULL for GDML statements
- columns MON$TRANSACTION_ID and MON$TIMESTAMP contain valid
values for active statements only
i.e. if the statement is prepared but not currently executed, then its
transaction id will be NULL in MON$STATEMENTS.
Dmitry
------------------------------------
------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu. Try FAQ and other links from the left-side menu there.
Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/firebird-support/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/