TRANSACTION LOG MANAGEMENT

A method and apparatus for managing a log-full condition of a transaction log in a transaction processing system are provided. The transaction log has a plurality of log records each associated with a particular transaction. When a log-full condition is detected, the active transaction having the ol...

Full description

Saved in:
Bibliographic Details
Main Authors WRIGHT, ANDREW, MITCHELL, IAN, JAMES
Format Patent
LanguageEnglish
French
Published 02.04.2009
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method and apparatus for managing a log-full condition of a transaction log in a transaction processing system are provided. The transaction log has a plurality of log records each associated with a particular transaction. When a log-full condition is detected, the active transaction having the oldest log entry of all active transactions is identified and logging for all transactions except for the identified transaction is temporarily suspended. A dynamic transaction backout of the identified transaction is initiated, with the writing of a backout record for the identified transaction to the log being delayed. The method waits for confirmation that the backout has completed before trimming the log. Then the delayed backout record for the identified transaction is written to the log and normal logging is resumed. La présente invention concerne un procédé et un appareil de gestion d'une condition = journal plein = d'un journal des transactions dans un système de traitement des transactions. Le journal des transactions comporte une pluralité d'enregistrements de journal, chacun étant associé à une transaction particulière. Lorsqu'une condition = journal plein = est détectée, la transaction active ayant l'entrée de journal la plus ancienne parmi toutes les transactions actives est identifiée et la journalisation est temporairement suspendue pour toutes les transactions, à l'exception de la transaction identifiée. Une restauration dynamique de la transaction identifiée débute, en différant l'écriture d'un enregistrement de restauration pour la transaction identifiée dans le journal. Le procédé attend la confirmation que la restauration a été achevée avant de corriger le journal. Ensuite, l'enregistrement de restauration différé, concernant la transaction identifiée, est écrit dans le journal et la journalisation normale reprend.
Bibliography:Application Number: WO2008EP61682