Abstract:Due to the data explosion and the memory growth on main-stream servers,the in-memory database is getting more and more attention as a new data processing method.Based on the study of two common concurrency control mechanisms for in-memory databases,optimistic concurrency control (OCC) and pessimistic concurrency control (PCC),this work finds out their features and suitable scenarios.Meanwhile,this work proposes a hybrid concurrency control (HCC) on the previous concurrency control mechanisms,which mainly includes the solution to fix the compatibility problem,the mechanism of scenario information collection and the switchover mechanism.Finally this work uses experiments to compare the specific performance of HCC and two previous concurrency control mechanisms in both static and dynamic scenarios,showing that HCC makes suitable choices of the concurrency control mechanisms in static scenarios and achieves 20%-30% performance improvement in dynamic scenarios.
易涵,陈海波. 内存数据库事务的混合并发控制研究[J]. 小型微型计算机系统, 2016, 37(3): 459-463.
YI Han,CHEN Hai-bo. Hybrid Concurrency Control Study of In-memory Database Transaction. Journal of Chinese Computer Systems, 2016, 37(3): 459-463.