Skip to Content
Database Systems: Concepts, Design and Applications
book

Database Systems: Concepts, Design and Applications

by S. K. Singh
August 2009
Intermediate to advanced
893 pages
26h 48m
English
Pearson India
Content preview from Database Systems: Concepts, Design and Applications

12.4. Locking Methods for Concurrency Control

A lock is a variable associated with a data item that describes the status of the item with respect to possible operations that can be applied to it. It prevents access to a database record by a second transaction until the first transaction has completed all of its actions. Generally, there is one lock for each data item in the database. Locks are used as means of synchronising the access by concurrent transactions to the database items. Thus, locking schemes aim to allow the concurrent execution of compatible operations. In other words, permutable actions are compatible. Locking is the most widely used form of concurrency control and is the method of choice for most applications. Locks are granted ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Database Systems: Concepts, Design and Applications, 2nd Edition

Database Systems: Concepts, Design and Applications, 2nd Edition

Shio Kumar Singh
Database Systems

Database Systems

Elvis C. Foster, Shripad V. Godbole
Introduction to Database Systems

Introduction to Database Systems

ITL Education Solutions Limited

Publisher Resources

ISBN: 9788177585674