计算机应用 ›› 2013, Vol. 33 ›› Issue (02): 563-566.DOI: 10.3724/SP.J.1087.2013.00563

• 数据库技术 • 上一篇    下一篇

一种具有自适应机制的闪存数据库索引结构

房俊华1,王翰虎1,2,陈梅1,马丹1   

  1. 1. 贵州大学 计算机科学与信息学院,贵阳 550025
    2. 贵州星辰科技开发有限公司,贵阳 550001
  • 收稿日期:2012-08-20 修回日期:2012-10-04 出版日期:2013-02-01 发布日期:2013-02-25
  • 通讯作者: 房俊华
  • 作者简介:房俊华(1985-),男,河南周口人,硕士研究生,主要研究方向:闪存数据库系统;
    王翰虎(1946-),男,贵州遵义人,教授,CCF高级会员,主要研究方向:数据库系统、分布式系统;
    陈梅(1964-),女,贵州贵阳人,教授,主要研究方向:软件工程;
    马丹(1977-),女,贵州贵阳人,副教授,主要研究方向:多媒体数据库。
  • 基金资助:
    贵阳市2010年工业科技攻关项目

Index structure with self-adaptive mechanism in flash-based database system

FANG Junhua1,WANG Hanhu1,2,CHEN Mei1,MA Dan1   

  1. 1. College of Computer Science and Information, Guizhou University, Guiyang Guizhou 550025, China
    2. Guizhou Stars Technology Development Company Limited, Guiyang Guizhou 550001, China
  • Received:2012-08-20 Revised:2012-10-04 Online:2013-02-01 Published:2013-02-25
  • Contact: FANG Junhua

摘要: 针对闪存数据库系统索引技术中基于日志更新策略存在的检索效率低、日志空间分配不合理及合并带来的高昂更新代价等问题,提出一种具有自适应机制的索引结构LM-B+TREE。LM-B+TREE将索引的更新缓冲页映射于传统B+TREE的相应节点,并根据闪存索引的读写负载及读写代价差异,动态地分配缓冲更新区,自适应地调整索引架构。实验证明LM-B+TREE能够动态地调整索引架构来适应索引的读写负载代价,在减少索引更新代价的同时,有效地提高了索引的查询性能。

关键词: 闪存数据库, 索引结构, 缓冲更新, 自适应机制, 代价评估

Abstract: The log-based index update mechanism in flash-based database system has following shortage: low query efficiency, expensive update cost, unreasonable space allocation and merge for the log. In order to solve these problems, a new adaptive index structure named LM-B+TREE was proposed. LM-B+TREE can map the page for index update buffer into corresponding node of traditional B+ TREE. Furthermore, according to the read/write workload and read/write overhead, LM-B+TREE can dynamically maintain the update buffer and adjust the index frame adaptively. The experimental results show that LM-B+ TREE can dynamically adjust the index structure to adapt to the read-write workload, significantly reduce the overhead of index update and improve the query performance.

Key words: flash-based database, index structure, delayed update, self-adaptive mechanism, cost estimate

中图分类号: