面向Flash Memory的高性能数据存储引擎的研究
Research of a Data Storage Engine with High Performance Oriented Flash Memory
-
摘要: 传统的数据存储引擎对Flash Memory数据的修改是通过页内更新技术实现的,这将导致FlashMemory的性能下降及其磨损加剧。针对该问题,文章提出了一种面向Flash Memory的采用页外更新技术的多版本数据存储引擎MV4Flash。该数据存储引擎采用多版本存储和垃圾回收机制,所有数据的更新和修改都通过文件追加的方式进行,适应了Flash Memory先擦除后写入的特点,延长了设备寿命。采用NDBBench对该数据存储引擎进行测试的结果表明,MV4Flash与传统的InnoDB相比,事物处理性能有较大的提升,更适合于数据规模大、实时性要求高的应用系统。Abstract: Traditional data storage engine updates data by in place update technique which would induce performance reduction and wear aggravation of Flash Memory.Aiming at the problem,the paper proposed a multi version data storage engine MV4Flash oriented Flash Memory which used out place update technique.The data storage engine uses the mechanism of multi version storage and garbage collection and updates and modifies all data by file superaddition mode,which is suitable for the characteristic of erase before write of Flash Memory and can prolong its life.The result of performance test for the data storage engine with NDB Bench showed that compared with traditional InnoDB,the MV4Flash has higher performance of transaction processing,so the MV4Flash is more suitable for application system with large data volume and high real-time demand.