期刊文献+

一种应用于闪存数据库的高效B+树索引机制 被引量:1

An Efficient B+ Tree Index Mechanism for Flash-based Database
下载PDF
导出
摘要 为解决现有闪存数据库索引机制无法同时具备高索引更新性能和高检索性能的问题,提出一种应用于闪存数据库的高效B+树索引机制。该机制采用日志方式更新索引,利用日志缓存区保证日志快速写入闪存。针对日志方式检索效率低的缺陷,设计节点日志映射表,通过哈希映射直接索引节点更新记录,避免全局搜索节点日志。将更新日志整合为B+树逻辑节点,使索引检索转化为B+树深度搜索,在此基础上设计节点缓存区,提高节点检索效率。实验结果表明,该机制相比日志型索引机制BFTL,更新效率提高了51%、检索效率提高了2.3倍,相比基于Nand闪存转换层的B+树索引机制,在保证与其相当的高检索效率的同时,更新效率提高了2.4倍。 To solve the problem that current flash-based database index mechanisms do not have both high update and query performance, this paper proposes an Efficient B+ Tree Indexing Mechanism(EBTIM) for flash-based database. EBTIM updates the index through log method, and a buffer is designed to ensure that loges are efficiently written to flash. Due to low index query efficiency of log update method, a node-log map table is designed to avoid global search log for index. Meanwhile at the right time loges are integrated into the B+ tree logic node to optimize the index query. Furthermore, a node cache is designed to improve the index query efficiency. A Experi- mental result show that EBTIM improves the update efficiency by 51% and query efficiency by 2.3 times compared tO BFTL, and it has the same query efficiency of B+ tree index mechanism based on Nand Flash Translation Layer(NFTL), but it improves the update efficiency by 2.4 times compared to NFTL.
出处 《计算机工程》 CAS CSCD 2013年第9期1-5,共5页 Computer Engineering
基金 国家自然科学基金资助项目(40927001) 浙江省级重点科技创新团队基金资助项目(2011R09021-02)
关键词 闪存数据库 B+树 日志结构索引 节点日志映射表 日志整合 节点缓存区 flash-based database B+ tree log-structured index node-log mapping table log integration node cache area
  • 相关文献

参考文献11

  • 1郑文静,李明强,舒继武.Flash存储技术[J].计算机研究与发展,2010,47(4):716-726. 被引量:85
  • 2史恒亮,白光一.嵌入式数据库的现状和发展趋势[J].计算机系统应用,2010,19(2):205-208. 被引量:25
  • 3雷景生,叶文瑁,李永斌.数据库原理及应用[M].北京:清华大学出版社,2012.
  • 4Tsai Yi-Lin, Hsieh Jen-Wei, Kuo Tei-Wei. Configurable N and Flash Translation Layer[C]//Proc, of IEEE International Conference on Sensor Networks, Ubiquitous, and Trustworthy Computing. Piscataway, USA: IEEE Press, 2006:118-127.
  • 5Wu Chin-Hsien, Chang Li-Ping, Kuo Tei-Wei. An Efficient B-tree Layer for Flash-memory Storage Systems[M]. Cambridge, USA: MIT Press, 2003.
  • 6Wu Chin-Hsien, Kuo Tei-Wei, Chang Li-Ping. An Efficient B-tree Layer Implementation for Flash-memory Storage Systems[J]. ACM Transactions Embedded Computing Systems, 2007, 6(3): 19-28.
  • 7Johnson D S. Fast Algorithms for Bin Packing[J]. Journal of Computer and System Sciences, 1974, 8(3):272-314.
  • 8Karp R. Online Algorithms Versus Offline Algorithms: How Much Is It Worth to Know the Future[C]//Proc. of the 12th World Computer Congress. Madrid, Spain: [s. n.], 1992: 416- 429.
  • 9李建中,张冬冬.滑动窗口规模的动态调整算法[J].软件学报,2004,15(12):1800-1814. 被引量:22
  • 10Sleepycat Software, Inc. Berkeley DB[M]. [S. 1.]: New Riders Press, 2001.

二级参考文献79

  • 1顾宝根,顾喜梅.日志结构的嵌入式文件系统研究[J].计算机工程与设计,2004,25(6):915-917. 被引量:17
  • 2http://www.oracle.com/technology/products/Berkeley -db/index.html.
  • 3http://www.empress.com/.
  • 4Ding ZM, Meng XF, Wang S. A novel conflict detection and resolution strategy based on TLRSP in replicated mobile database systems. IEEE, 2001.
  • 5Song EM, Kim YK, Ryu C. No-Log recovery mechanism using stable memory for real-time main memory database systems. Proc. of the 6th Int'l Conf. on Realtime Computing Systems and Applications. 1999.
  • 6Shu LC, Sun HM, Kuo TW. Shadowing-Based crash recovery schemes for real-time database systems. Proc of the 11th Euromicro Conf. On Real-time system 1999. http://ieeexplore.ieee.org/ie15/6302/16859/00777473.pdf.
  • 7Abraham S, Henry FK. Database System Concepts. 3rd ed., Beijing: China Machine Press/McGraw-Hill, 1999.
  • 8Stankovic JA, Son SH, Hansson J. Misconceptions about real-time database. Computer, 1999,32(6):25- 31.
  • 9Kang KD, Son S H, Stankovic JA. A Qossensitive approach for timeliness and freshness guarantees in real-time databases. Proc. of the 14th Euromicro Conference on Real-time Systems. Washington, DC: IEEE Computer Society Press, 2002.
  • 10Bouazizi E, Duvallet C, Sadeg B. Management of QoS and data freshness in RTDBSs using feedback control scheduling and data versions. Proc. of the 8th IEEE International Symposium on Object-Oriented Real-time Distributed Computing. Washington, DC: IEEE Computer Society Press, 2005.

共引文献134

同被引文献11

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部