TomBascom
Curmudgeon
In another thread Rajat asked:
Both.
After a transaction commits there might be some left over record locks if your application is sloppy about that sort of thing. This is one of the reasons for the recommended best practices around scoping records and transactions -- you don't want the record to have larger scope because then you might have record locks that you do not expect to see.
In memory Progress maintains data structures for locks and transactions -- these will be reused once a transaction commits or a lock is no longer needed.
On disk Progress writes "notes" to the BI file (and to the AI file -- you are, of course, using after-imaging because, as we know, all responsible DBAs always enable after-imaging). These notes are appended to the BI and AI files -- they are time-ordered and written sequentially.
Unless something goes wrong they will never be needed again. They are only there just in case a crash occurs and partial transactions need to be backed out or if roll forward recovery is needed.
how lock table and .BI files entries are maintained for previous transaction. Either every current transaction delete the previous entry or append it (I thinks transaction deletes previous entry, please confirm).
Both.
After a transaction commits there might be some left over record locks if your application is sloppy about that sort of thing. This is one of the reasons for the recommended best practices around scoping records and transactions -- you don't want the record to have larger scope because then you might have record locks that you do not expect to see.
In memory Progress maintains data structures for locks and transactions -- these will be reused once a transaction commits or a lock is no longer needed.
On disk Progress writes "notes" to the BI file (and to the AI file -- you are, of course, using after-imaging because, as we know, all responsible DBAs always enable after-imaging). These notes are appended to the BI and AI files -- they are time-ordered and written sequentially.
Unless something goes wrong they will never be needed again. They are only there just in case a crash occurs and partial transactions need to be backed out or if roll forward recovery is needed.