Failures, Transactions, and Logging




CS157b

Chris Pollett

Mar 25, 2020

Outline

Introduction

An Overarching Goal

Possible Kind of Database Errors

Transactions

Jobs of the Transaction Manager

Correct Execution of Transactions

Converse of the Correctness Principle

Primitive Operations of a Transaction

Undo Logging

Log Records

In-Class Exercise

The Undo-Logging Rules

Recovering using Undo Logging