期刊文献+

一种分布式实时数据库提交协议 被引量:4

A Commit Protocol in Distributed Real-Time Databases
下载PDF
导出
摘要 传统的事务提交协议不适合实时环境的需要 ,并且文献中现有的几个实时提交协议限制了实时事务执行的并发度 ,影响了实时事务的定时限制 .该文针对分布式实时数据库系统的提交处理提出了 2 SC协议 ,它增加了事务执行的并发度且有助于事务截止期的满足 .文中首先提出了一个分布式实时事务经历模型 ,着重讨论了事务因为冲突操作而引起的提交依赖和夭折依赖 .然后给出了 2 SC(双空间提交 )协议规则 ,根据该协议分布式实时事务的提交处理在两个空间中完成 :结点的局部事务空间和系统的全局事务空间 .在局部事务空间中 ,当处于准备状态的参与者夭折时 ,仅仅夭折其夭折依赖集中的事务而不会夭折其提交依赖集中的事务 ;在适当的条件下 ,处于准备状态的参与者允许其它事务访问其锁住的数据 .在全局事务空间中 ,参与者能够在进入准备之前主动夭折 ,即当一个事务在进入准备状态之前就超过了截止期 ,其协调者和所有的参与者都将“寂寞死”.接着该文证明了 2 SC协议的正确性 ,即确保分布式事务提交的原子性 ,同时分析了该协议固有的优点比如提高事务执行的并发度和减缓事务的串联夭折等 .并且 2 SC协议能够和现有的并发控制协议有机地结合在一起 ,确保分布式实时事务可串行化和提交的原子性 .最后通过一个模拟实验证? Traditional transaction commit protocols are unsuitable in the real time context. And the few real time commit protocols proposed in the literatures restrict the concurrency of transaction execution and affect timing properties of transactions. This paper proposes the 2SC commit protocol for distributed real time database systems, which can increase the concurrency of transactions and help to meet real time transactions' deadlines. In the paper, a history model of distributed real time transactions is presented, and commit dependencies and abort dependencies between transactions by conflicting operations are described. The paper gives the 2SC (double space commit) protocol rules, in which distributed real time transaction commit processing is conducted in two spaces: The local transaction space at a node and the global transaction space for the system. In the local transaction space, when a participator in preparing (to commit) is aborted, only the transactions in its abort dependency set, but not in its commit dependency set, are aborted. A preparing participator allows its locked data to be accessed by other transactions in a certain conditions. In the global transaction space, a participator can actively abort only before entering its preparing phase. Once a transaction misses its deadline before entering its preparing phase, the coordinator and all the participators will 'silently kill'. The paper proves the correctness of the 2SC protocol, commit atomicity of distributed real time transactions and analyzes its advantages: improving the concurrency and decreasing cascading aborts. Furthermore, 2SC protocol can incorporate with existing concurrency control strategies to ensure both serializability and commit atomicity of distributed real time transactions, and the performance, as shown in the experimental system, is better than that of the HOPT protocol.
出处 《计算机学报》 EI CSCD 北大核心 2002年第2期210-216,共7页 Chinese Journal of Computers
基金 国家自然科学基金 (60 0 73 0 45 )资助
关键词 分布式实时数据库系统 分布式实时事务 提交协议 提交原子性 distributed real time database system, distributed real time transaction, commit protocol, commit atomicity
  • 相关文献

同被引文献14

  • 1(美)Ron.Soukup Kalen.Delaney.Microsoft SQL Server7.0技术内幕(中译本)[M].北京:北京大学出版社,2000..
  • 2张志檩.实时数据库原理与应用[M].北京:中国石化出版社,2001..
  • 3Ramesh Gupta, Commit Processing in distributed Real - Time Database Systems. In : Proc the 17^th IEEE Real - time systems Symposium, 1996, Washington, DC.
  • 4John A. Stankovic, Misconceptions About Real -Tine Database, 1998.
  • 5K Lam. C Pang. SH son et al. Resolving executing Commiting confilicts in distributed real - time database systems.The Computer Journal, 1999,42(8).
  • 6Quazi N. Ahmed, Maintaining security and timeliness in real -time database system,The Journal of Systems and Software,61 (2002) :15 -29.
  • 7PaulJ Fortier.数据库技术大全[M].北京:电子工业出版社,1999.218-249.
  • 8李子木,孙利民,周兴铭.数据仓库联机维护中一致性问题的研究[J].软件学报,1999,10(8):812-818. 被引量:8
  • 9李子木,李磊,徐明,周兴铭.数据仓库的联机维护与下查[J].计算机学报,1999,22(9):988-992. 被引量:21
  • 10韩伟红,贾焰,王志英,杨晓东.多库系统中高效的视图维护机制[J].计算机研究与发展,2000,37(7):789-795. 被引量:2

引证文献4

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部