Computer Science, asked by serenesmile7168, 1 year ago

Explain backward and forward recovery in real time system

Answers

Answered by rishirajsharma197
0

Transaction modifies data that are stored in a Database. Transaction must always pass ACID Test. Transaction has to make sure the data in database remains consistence after it modifies the database. For example: Online payment when made has to have effects on both parties. The amount must be withdrawn from one account and must be deposited to another account. Or neither must happen. Only one of them must not happen in any circumstances. In such a case Database has to rollback the transaction.

When recovering the database, it is must redo the effects of the previous transactions. This is called Rolling Forward or simple Forward Recovery.

Similar questions