摘要
本文主要对分布实时数据库系统中的事务并发控制进行探讨,结合虚拟锁和乐观法等思想,提出两种新的解决方案:2PL-HP协议和OPT-Sacrifice协议.前者可提高事务的并发度,减少阻塞的发生,从而满足实时性的要求;后者在提高事务并发度的基础上尽量保护那些己经进入提交状态的事务,降低无辜牺牲的几率,从而减少因为错过执行期限而被迫废弃的事务的数目,满足事务的实时性要求.
This paper mainly discusses the parallel control of the distributing real-time database system, and propose two kinds of new settlement schemes:2PL-HP and OPT-Sacrifice protocol.The former may im- prove the parallel degree of transactions,and decrease the blocking.Thereby it can meet the real-time demand; the latter tries to protect the transactions of complete state,improving the parallel degree.It cuts down the probability of innocent sacrifice so as to decrease the amount of transactions that is forced t...
出处
《山西师范大学学报(自然科学版)》
2007年第S1期156-159,共4页
Journal of Shanxi Normal University(Natural Science Edition)
关键词
分布式实时数据库系统
事务
并发控制
加锁协议
乐观法
实时性
Distributing real-time database system
Transaction
Parallel control
Locking protocol
Optimistic method
Real-time