张云春《数据库原理与实用技术》Chapter 9 Update Transactions.pptVIP

  • 14
  • 0
  • 约2.36万字
  • 约 53页
  • 2017-07-30 发布于浙江
  • 举报

张云春《数据库原理与实用技术》Chapter 9 Update Transactions.ppt

9.3 Locking to Ensure Serializability The locking discipline used to assure transactional consistency in commercial database systems is known as two-phase locking, abbreviated 2PL. DEFINITION 9.3.1 Two-Phase Locking, or 2PL. When transaction Ti attempts to read a data item, Ri(A), the scheduler intercepts this call and first issues a call on its behalf to read lock the data item, RLi(A) Similarly when Ti attempts to write (update) a data item, Wi(A), the scheduler first issues a call on its behalf to write lock the data item, WLi(A). Before granting (加载) a lock on a data item, the scheduler r

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档