首页 | 本学科首页   官方微博 | 高级检索  
     

数据库并发控制技术
引用本文:马刚,刘天时,赵安科.数据库并发控制技术[J].现代电子技术,2006,29(12):101-103.
作者姓名:马刚  刘天时  赵安科
作者单位:西安石油大学,计算机学院,陕西,西安,710065
基金项目:陕西省教育厅基金资助项目(03JK163)
摘    要:介绍了夭折事务法、连续申请资源法、随机等待加锁法和按标识符排序加锁法等4种加锁机制。随机等待加锁法在加锁失败时并不连续、不间断地申请锁,而是等待一个随机时间后重新启动新的加锁过程,不但提高了系统的执行效率,而且降低了死锁的机率。按标识符排序加锁法可以较早地发现锁等待。最后给出了随机等待加锁法和按标识符排序加锁法结合应用的一个实例。

关 键 词:可串行化调度  两段锁协议  事务  并发控制技术
文章编号:1004-373X(2006)12-101-03
收稿时间:2006-03-13
修稿时间:2006年3月13日

Technology of Database Concurrency Control
MA Gang,LIU Tianshi,ZHAO Anke.Technology of Database Concurrency Control[J].Modern Electronic Technique,2006,29(12):101-103.
Authors:MA Gang  LIU Tianshi  ZHAO Anke
Abstract:This paper introduces four locking methods:transaction aborted method,uninterrupted resource applied method,random time locking method and data identifier sorted method.After failing to lock the data,the random time locking method waits a random time and begin to apply lock again,which not only boosts the processing efficiency but also reduces the probability of dead lock.Data identifier sorted method can find the wait for the lock ahead.Finally it gives an example using the two methods in database concurrent control.
Keywords:serializability schedule  two-phase locking protocol  transaction  concurrency control technology
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号