The Archive, Serializability




CS157b

Chris Pollett

Apr 10, 2023

Outline

The Archive

Non-quiescent Archiving

Recovery Using an Archive and a Log

Quiz

Which of the following statements is true?

  1. In Undo logging, for a transaction, changed DB elements should be written to disk before any log records are written to disk.
  2. In Redo logging, for a transaction, the commit log record is written to disk after changed DB elements are written to disk.
  3. The ARIES recovery system was most similar to the undo/redo logging discussed in class.

Concurrency Control

Schedules

Serial Schedules

Serializable Schedules

Conflict Serializable

Testing for Conflict Serializability

Example Precedence Graph

Serializable versus Conflict Serializable