1.

Before a block of data in main memory can be output to the database, all log records pertaining to data in that block must have been output to stable storage. This is(a) Read-write logging(b) Read-ahead logging(c) Write-ahead logging(d) None of the mentionedI have been asked this question during an interview for a job.My enquiry is from Buffer Management topic in chapter Recovery System of Database Management

Answer»

Correct answer is (c) Write-ahead logging

For EXPLANATION: The WAL rule requires only that the undo information in the LOG has been output to STABLE storage, and it permits the REDO information to be written LATER.



Discussion

No Comment Found

Related InterviewSolutions