The advantage of flash memory performance brings the flash-based database system to the focus of current research , and the index is an important means to improve the efficiency of flash-based database .In this paper , we propose a suitable index structure for flash-based database, namely DB-Tree, based on B+-tree index structure.In the method, the updating operations are stored in a structure form of“pseudo B+-tree” to avoid scanning the entire update log-area while retrieving;the update operations are pertinently aggregated to the page of flash memory in the way of merging the corresponding branches;the self-adaptive mechanism for update-buffer size and merger frequency is introduced to ensure the flash-based database can be applied to different read/write load.Through the experimental comparison with the classic log update IPL B +Tree and the μ-Tree index method without log , it is proved that the DB-Tree index structure we presented significantly reduces the update cost and greatly improves the query performance of the index simultaneously .%闪存性能的优势使得闪存数据库系统成为目前研究的一个热点,索引是提高闪存数据库效率的一个重要手段。基于B+树索引结构,提出一种适用于闪存数据库的索引方法:DB-Tree。该方法将更新操作以一棵“伪B+树”的结构形式存储来避免检索时扫描整个更新日志区;以分支合并的方式使更新操作有针对性地聚集于闪存页;引入更新缓冲区大小及合并频率的自适应机制使闪存数据库适用于不同的读写负载。通过与经典的日志更新IPL B+TREE及无日志的μ-Tree索引方法的实验比较,证明所提出的DB-Tree在有效降低更新代价的同时大幅度提高了索引的查询性能。
展开▼