计算机科学 ›› 2016, Vol. 43 ›› Issue (11): 280-283.doi: 10.11896/j.issn.1002-137X.2016.11.054
范璧健,庄毅
FAN Bi-jian and ZHUANG Yi
摘要: 并发控制算法能够保证数据库事务集并发执行的正确性和一致性。为了提高并发事务的执行效率,提出了一种基于冲突率预测的自适应并发控制算法(ACC-PRC)。该算法将并发控制过程分为信息收集和策略选择两个阶段。信息收集阶段利用先验事务队列保证事务执行的可串行化,并且利用循环冲突队列收集系统的事务执行状态。策略选择阶段在循环冲突队列上运用改进的加权移动平均法预测下一阶段冲突率,并根据双向阈值决策下一阶段的并发策略。所提算法在事务到达率较高时能保持良好的事务执行效率,同时能够准确及时地感知冲突率的变化。对比实验表明ACC-PRC算法的综合性能优于HCC算法和ADCC算法。
[1] Xu Shu-ting,Sun Yong-qiang.Performance Study of Real-Time Multiversion Concurrency Control Protocols in Parallel Database Systems[J].Chinese J.Computers,2002,5(2):173-180(in Chinese) 徐淑颋,孙永强.并行数据库实时多版本并发控制协议性能研究 [J].计算机学报,2002,25(2):173-180 [2] Nystrom D,Nolin M,Teoanovio A,et al.Pessimistic concurrency control and versioning to support database pointers in real-time databases;proceedings of the Real-Time Systems[C]∥ 16th Euromicro Conference on Real-time Systems.2004,6:261-270 [3] Makni A,Bouaziz R,Gargouri F.Formal Verification of an Optimistic Concurrency Control Algorithm using SPIN[C]∥Proceedings of the Thirteenth International Symposium on Temporal Representation and Reasoning.2006:160-167 [4] Demsky B,Lam P.Views:Synthesizing Fine-Grained Concurrency Control [J].Acm Transactions on Software Engineering & Methodology,2013,22(1):139-176 [5] Sheikhan M,Rohani M,Ahmadlueil S.A neural-based concurrency control algorithm for database systems [J].Neural Computing & Applications,2013,22(1):161-174 [6] Sheikhan M,Ahmadlueil S.An intelligent hybrid optimistic/pessimistic concurrency control algorithm for centralized database systems using modified GSA-optimized ART neural model [J].Neural Computing & Applications,2013,23(6):1815-1829 [7] Chen Y R,Zhuang Y.An Adaptive Decision Concurrency Control Algorithm [J].Advanced Materials Research,2014,1046(1):512-515 [8] Liu Ya-qi,Xie Bo.Iron ore CIF price forecasting based on improved weighted moving average method[J].Journal of Shanghai Maritime University,2015(2):55-59(in Chinese) 刘雅琪,谢波.基于改进加权移动平均法的铁矿石到岸价格预测[J].上海海事大学学报,2015(2):55-59 |
No related articles found! |
|