More Time Stamp Scheduling




CS157b

Chris Pollett

Apr 18, 2018

Outline

Introduction

Timestamp-Based Scheduling

Rules for Timestamp-Based Scheduling -- Read and Write

Rules for Timestamp-Based Scheduling -- Commits and Aborts

In-Class Exercise

For each of the following, give an example schedule which ends with `W_{T}(X)` and where:

  1. `TS(T) ge RT(X)` and `TS(T) ge WT(X)`
  2. `TS(T) ge RT(X)` but `TS(T) lt WT(X)`

Post your solutions to the Apr 18 In-Class Exercise Thread.

Multiversion Timestamps (Papadimitriou Kanellakis 1984)

More on Multiversion Timestamps

What kind of writing should be rejected?

Example rejectable schedule

Timestamps versus Locking

Transactions and SQL

SQL Isolation Levels