引用本文:曲云尧,施伯乐.一个基于SQL的并发控制机制.软件学报,1995,6(10):582-592
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4843次   下载 5859 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一个基于SQL的并发控制机制
曲云尧1, 施伯乐1
复旦大学计算机科学系,上海,200433
摘要:
传统的读写事务模型(由read(x)和write(x)序列组成)不能使调度机制充分利用应用程序的语义信息对事务进行灵活调度,从而不能有效提高系统的并发度.本文根据SQL语言的操作语义,给出了基于SQL的事务模型.利用这种事务模型并结合2PL方法,设计了并发控制机制:Condition—locking.这个机制可以:(1)避免数据库中的幽灵(phantom)问题,(2)利用应用程序的语义信息和完整性约束提高系统的并发度,(3)减少发生死锁的机会.因此,这是一个实用的并发控制机制.
关键词:  数据库,并发控制,幽灵问题,SQL语言,两段锁
DOI:
分类号:
基金项目:本项目受到国家863高技术项目资助.
A CONCURRENCY CONTROL MECHANISM BASED ON SQL
Qu Yunyao,Shi Baile
Abstract:
By the standard transaction model(composed of read and write operations),the scheduler can not exploit the semantics of application programs,thus not enhancing concurrency effectively.In this paper,a new transaction model based on SQL language are presented, which can exploit the semantics of high-level operations.Depending on the the transaction model and Two-Phase Locking method,the authors design a concurrency control mechanism-Condition-Locking, which can,(1)prevent phantoms from database,(2)exploit semantic information of application programs and the knowledge of the integrity constraints of the database system to enhance. cononrrency,(3)reduce the chances of producing deadlock.Hence,it is a practical concurrency control mechanism.
Key words:  Database,concurrency control,phantom, SQL language, two-phase locking.

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: