Concurrency control protocols based on two-phase locking are a popular family of locking protocols that preserve serializability in general 1990 database systems. A concurrency control algorithm (for databases with no inherent structure) is presented that is practical, non two-phase, and allows varieties of serializable logs not possible with any commonly known locking schemes. All transactions are required to predeclare the data they intend to read or write. Using this information, the protocol anticipates the existence (or absence) of possible conflicts and hence can allow non-two-phase locking. It is well known that serializability is characterized by acyclicity of the conflict graph representation of interleaved executions. The two-phase locking protocols allow only forward growth of the paths in the graph. The Five Color protocol allows the conflict graph to grow in any direction (avoiding two-phase constraints) and prevents cycles in the graph by maintaining transaction access information in the form of data-item markers. The read and write set information can also be used to provide relative immunity from deadlocks.
|Original language||English (US)|
|Number of pages||27|
|Journal||ACM Transactions on Database Systems (TODS)|
|State||Published - Jan 6 1990|
ASJC Scopus subject areas
- Information Systems