Checkpointing, Redo, Undo/Redo Logging




CS157b

Chris Pollett

Apr 6, 2020

Outline

Introduction

Checkpointing

Nonquiescent Checkpointing

Quiz

Which of the following statements is true?

  1. Pipelining is a technique whereby we pass the output of the sub-query computed so far to the next stage in the query evaluation.
  2. We said erroneous data entry can be prevented by using a RAID setup.
  3. In undo logging, we might have log entries: `langle T, X, v\rangle` where T is the transaction, `X` is the object being changes, and `v` is the new value.

Redo Logging

The Redo Logging Rule

Recovery with Redo Logging

Checkpointing a Redo Log

Undo/Redo Logging

Checkpointing an Undo/Redo Log

Logging in DBMS systems