2012 · 57 citations · 24 references
ComputingComputer ScienceComputer SystemsData ManagementDatabasesStorage SystemsConcurrency AnalysisConcurrency ControlDatabase ManagementQuery ProcessingTransaction ManagementVersion Control SystemsConcurrent Access ControlCycle DetectionDatabase LockingIsolation LevelsLockingMulti-version Concurrency ControlTransaction Isolation LevelsTransaction Time
A database that maintains multiple record versions can use those versions to support historical queries or to increase concurrency by allowing reads and writes to proceed concurrently. The authors propose a concurrency control scheme that lets all SQL isolation levels, including serializability, leverage multiple versions to boost concurrency while also providing transaction‑time database capabilities. The scheme manages a range of possible timestamps for each transaction, using these ranges as constraints to permit concurrent access where lock‑based control would block and to conservatively detect deadlocks without graph‑based cycle detection. The approach reduces aborts by permitting blocking in situations where earlier multi‑version techniques would abort, and improves performance of current‑time data access through enhanced concurrency while still supporting transaction‑time functionality.
A database supporting multiple versions of records may use the versions to support queries of the past or to increase concurrency by enabling reads and writes to be concurrent. We introduce a new concurrency control approach that enables all SQL isolation levels including serializability to utilize multiple versions to increase concurrency while also supporting transaction time database functionality. The key insight is to manage a range of possible timestamps for each transaction that captures the impact of conflicts that have occurred. Using these ranges as constraints often permits concurrent access where lock based concurrency control would block. This can also allow blocking instead of some aborts that are common in earlier multi-version concurrency techniques. Also, timestamp ranges can be used to conservatively find deadlocks without graph based cycle detection. Thus, our multi-version support can enhance performance of current time data access via improved concurrency, while supporting transaction time functionality.
24
A critique of ANSI SQL isolation levels
Hal Berenson, Phil Bernstein, Jim Gray et al. · 1995 · 865 citations · Full text
A critique of ANSI SQL isolation levels
Hal Berenson, Phil Bernstein, Jim Gray et al. · ACM SIGMOD Record · 1995 · 304 citations