计算机应用 ›› 2011, Vol. 31 ›› Issue (09): 2395-2398.DOI: 10.3724/SP.J.1087.2011.02395

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

内存数据库系统SwiftMMDB索引机制的设计与实现

赵艳梅1,郑鑫福1,徐立臻2   

  1. 1. 国家自然科学基金委员会 信息中心,北京 100085
    2. 东南大学 计算机科学与工程学院,南京 210096
  • 收稿日期:2011-03-10 修回日期:2011-04-26 发布日期:2011-09-01 出版日期:2011-09-01
  • 通讯作者: 徐立臻
  • 作者简介:赵艳梅(1963-),女,北京人,工程师,主要研究方向:数据库、管理信息系统;
    郑鑫福(1987-),男,福建福州人,硕士研究生,主要研究方向:数据库;
    徐立臻(1963-),男,上海人,教授,CCF高级会员,主要研究方向:数据库。
  • 基金资助:
    国家自然科学基金资助项目(M1021003)

Design and implementation of index in main memory database system named SwiftMMDB

ZHAO Yan-mei1,ZHENG Xin-fu1,XU Li-zhen2   

  1. 1. Information Center, National Natural Science Foundation of China, Beijing 100085, China
    2. School of Computer Science and Engineering, Southeast University, Nanjing Jiangsu 210096, China
  • Received:2011-03-10 Revised:2011-04-26 Online:2011-09-01 Published:2011-09-01
  • Contact: XU Li-zhen

摘要: T树结合了平衡二叉树(AVL树)和B树的优点,可以有效地组织索引数据,从而为内存数据库提供优良的存储效率和查询性能。结合自主开发的一个内存数据库系统SwiftMMDB介绍T树索引的设计与实现,并通过节点分裂、填充等方法改进了经典T树的插入和删除操作,减少了T树中平衡旋转的次数,从而进一步提高内存数据库检索的效率和性能。

关键词: 内存数据库, 索引, T树, 平衡二叉树, B 树

Abstract: T tree, combining the advantages of AVL tree and B tree, can organize index data efficiently, thus providing good storage efficiency and search performance for main memory database. The design and implementation of T tree index was presented in the main memory database system named SwiftMMDB which was developed by the authors' research group recently. The insert and delete operations of traditional T tree were improved through node splitting and node populating method. The rotation number for balance in T tree was reduced. As a result, the retrieve efficiency and performance of main memory database system are improved.

Key words: main memory database, index, T tree, AVL tree, B tree

中图分类号: