Method and apparatus for improved transaction recovery
AssigneeOracle Corporation
InventorsGary C. Ngai, Hasan Rizvi, Leng Leng Tan
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle Corporation
InventorsGary C. Ngai, Hasan Rizvi, Leng Leng Tan
Estimating the term…
A method and system for recovering after a crash of an instance in a database is disclosed. According to the method, transaction information corresponding to all the transactions that existed in the failed instance is inspected. These transactions that were active at the time the instance crashed are marked as "dead." The database is made available to users after updating the transaction information and before undoing all of the changes or updates performed by dead transactions. The changes made by the dead transactions may be undone by new transactions on a on-demand basis after the database is made available. Specifically, when a new transaction is waiting to obtain a lock on a resource held by another transaction, the new transaction determines whether the owner of the lock is one of the dead transactions. If so, the new transaction rolls back some or all of the changes made by the dead transaction.
A method for recovering after a crash of an instance of a database, wherein one or more transactions were active when the instance crashed, the method comprising the computer implemented steps of:
A method for recovering after a premature termination of a transaction, the method comprising the computer implemented steps of:
A computer-readable medium having stored thereon sequences of instructions for recovering after a crash of an instance of a database, wherein one or more transactions were active when the instance crashed, the sequences of instructions including instructions which, when executed by a processor, cause the processor to perform the steps of:
Dependencies are inferred from the claim text.