Subject | Re: Viewing Transactions? |
---|---|
Author | Adam |
Post date | 2006-01-27T22:05:56Z |
> Is there any way to view transactions and locks currently open in theFirebird doesn't use locks very often, in fact it is very rare that it
> database?
would be good practice to use them. It uses record versioning, which
allows readers and a single writer to simultaneously and safely access
the same record in perfect isolation.
> Is there any way to log them? Debug them?The short answer is no, the long answer is that there is a lot you can
do. Firstly, Firebird provides the context variable
CURRENT_TRANSACTION. This can be used within triggers etc to create an
audit trail of what is going on. Check out IBLogManager, or write one
yourself.
>Firebird.log is pretty much only for important events, server starting
> I don't see much at all in firebird.log - is there a way to increase
> the logging that takes places?
or stopping or crashing, connections dropping off etc.
Adam