Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Recovery with WAL-Logs - why 'redo' the loser-transactions?

Recovery with WAL-Logs - why 'redo' the loser-transactions?

From: Stefan Oedenkoven <stefan-oedenkoven_at_gmx.de>
Date: Thu, 1 Jul 2004 20:21:59 +0200
Message-ID: <2kj31qF2m3vfU1@uni-berlin.de>


Hi ng,
i'm currently learning for a test and wondering why, in a case of a systemcrash, I need to redo winner AND loser transactions.

scenario:
- using WAL Write Ahead log (write log before commit and before writing a
page to disc)
- TA A and TA B running

recovery:
- look at the log's and see TA A is winner and TA B is loser

could you give me an example where this is necessary? The script say's its necessary to have idempotent log-files... so a 2nd crash during recovery and 2nd recovery won't cause problems...

But if a 2nd crash occurs TA B will still be a loser!? Hmmm seems it don't see the reason for this?!

thanks,
Stefan Received on Thu Jul 01 2004 - 13:21:59 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US