该文针对内存数据库系统的特点,提出了一种结合行级锁的多版本并发控制机制,通过维护历史数据来避免数据读写的冲突,并通过行级锁减少写写冲突发生的概率,从而提高事务执行的并发度。
Based on the features of MMDB,a multi-version concurrency control mechanism combined with row lock is presented in this paper.It maintains history data to avoid the conflict between readers and writers,combined with row lock to minimize the probability of conflict between writers.As a result,the concurrency level of transactions is boosted greatly.