Patent ID: 8341125

Claim:
A method for managing a log-full condition of a transaction log in a transaction processing system, the transaction log comprising a plurality of log records each associated with a particular transaction, the method comprising: responsive to detecting the log-full condition, performing: identifying an active transaction having an oldest log entry of all active transactions having records in the log; temporarily suspending logging for all transactions except for the identified transaction; initiating a dynamic transaction backout of the identified transaction; and indicating that a backout record is written for the identified transaction to the log, the backout record serving to indicate that the identified transaction is backed out, although delaying the writing of the backout record to the log; and responsive to receiving confirmation that the backout of the identified transaction has completed, performing trimming the log; responsive to completion of the trimming, writing the backout record for the identified transaction to the log; and resuming normal logging.