A partition checkpoint strategy based on data segment priority is presented to meet the timing constraints of the data and the transaction in embedded real-time main memory database systems(ERTMMDBS) as well as to r...A partition checkpoint strategy based on data segment priority is presented to meet the timing constraints of the data and the transaction in embedded real-time main memory database systems(ERTMMDBS) as well as to reduce the number of the transactions missing their deadlines and the recovery time.The partition checkpoint strategy takes into account the characteristics of the data and the transactions associated with it;moreover,it partitions the database according to the data segment priority and sets the corresponding checkpoint frequency to each partition for independent checkpoint operation.The simulation results show that the partition checkpoint strategy decreases the ratio of trans-actions missing their deadlines.展开更多
该文针对Redis数据库中两个问题,RDB(Snapshot)恢复数据不完整和AOF(Append Only File)恢复速度慢,提出了RDB+AOF的数据恢复方案。该方案借鉴检查点思想,依赖RDB和AOF两种方法,不但具有AOF恢复数据全面的特点,又兼具RDB恢复速度快的优...该文针对Redis数据库中两个问题,RDB(Snapshot)恢复数据不完整和AOF(Append Only File)恢复速度慢,提出了RDB+AOF的数据恢复方案。该方案借鉴检查点思想,依赖RDB和AOF两种方法,不但具有AOF恢复数据全面的特点,又兼具RDB恢复速度快的优势。按照此方案修改Redis源码并作对照实验,结果证明该方案可行且有效。展开更多
基金国家自然科学基金(6092106261003087)+2 种基金国家"八六三"高技术研究发展计划项目基金(2009AA01Z102)资助support by the National Natural Science Foundation of Chinawith the project #60621003
基金Supported by the National Natural Science Foundation of China (60673128)
文摘A partition checkpoint strategy based on data segment priority is presented to meet the timing constraints of the data and the transaction in embedded real-time main memory database systems(ERTMMDBS) as well as to reduce the number of the transactions missing their deadlines and the recovery time.The partition checkpoint strategy takes into account the characteristics of the data and the transactions associated with it;moreover,it partitions the database according to the data segment priority and sets the corresponding checkpoint frequency to each partition for independent checkpoint operation.The simulation results show that the partition checkpoint strategy decreases the ratio of trans-actions missing their deadlines.
文摘该文针对Redis数据库中两个问题,RDB(Snapshot)恢复数据不完整和AOF(Append Only File)恢复速度慢,提出了RDB+AOF的数据恢复方案。该方案借鉴检查点思想,依赖RDB和AOF两种方法,不但具有AOF恢复数据全面的特点,又兼具RDB恢复速度快的优势。按照此方案修改Redis源码并作对照实验,结果证明该方案可行且有效。