O'Reilly logo

Joe Celko's SQL for Smarties, 5th Edition by Joe Celko

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2

Transactions and Concurrency Control

Abstract

An overview of how a database shares resources among multiple user sessions.

Keywords

Batch job

Sessions

ACID (Atomicity, Consistency, Isolation, Durability)

Jim Grey

Andreas Reuter

Theo Härder

COMMIT

ROLLBACK

SAVEPOINT

CHECKPOINT

Transaction Phenomena: “Dirty Write,” “Dirty read,” “Non-repeatable read,” “Phantom read,” “Lost Update”

Isolation levels: “READ UNCOMMITTED,” “REPEATABLE READ,” “SERIALIZABLE,” “CURSOR STABILITY”

Pessimistic concurrency control

Data Item Constraint Violation

Read Skew

Write Skew

CAP (Consistency Availability and Partition Tolerance) Theorem

Eric Brewer

Fuzzy Reads

BASE

Eventual consistency

Error Handling

Deadlock

Livelocks

In the old days when we lived in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required