A transaction follows two-phase locking when it acquires all its locks before it releases any: a growing phase, then a shrinking phase. The moment of its last acquisition is its lock point. Under strict two-phase locking it also keeps its exclusive locks until it commits or aborts; the scheduler of this chapter keeps all its locks until then. A cascading abort is the abort of a transaction forced because it read a value written by a transaction that then aborted. A schedule is a recoverable schedule when each transaction commits only after every transaction whose writes it read has committed.
Computer Science · Glossário
O que é Two-phase locking, strict two-phase locking, cascading abort, recoverable schedule?
Também chamado de: two-phase locking · strict two-phase locking · cascading abort · recoverable schedule