正在加载图片...
Lock-Based Protocols A lock is a mechanism to control concurrent access to a data item Data items can be locked in two modes: 1.exclusive (mode.Data item can be both read as well as written.X-lock is requested using lock-X instruction. 2.shared (S)mode.Data item can only be read.S-lock is requested using lock-S instruction. Lock requests are made to concurrency-control manager.Transaction can proceed only after request is granted. Database System Concepts-5th Edition,Oct 5,2006 16.3 ©Silberschat乜,Korth and SudarshanDatabase System Concepts - 5 16.3 ©Silberschatz, Korth and Sudarshan th Edition, Oct 5, 2006 Lock-Based Protocols A lock is a mechanism to control concurrent access to a data item Data items can be locked in two modes : 1. exclusive (X) mode. Data item can be both read as well as written. X-lock is requested using lock-X instruction. 2. shared (S) mode. Data item can only be read. S-lock is requested using lock-S instruction. Lock requests are made to concurrency-control manager. Transaction can proceed only after request is granted
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有