首页    期刊浏览 2024年11月07日 星期四
登录注册

文章基本信息

  • 标题:An Efficient Buffer Scheme for Flash-based Databases
  • 本地全文:下载
  • 作者:Yang, Liang Huai ; Wang, Jing ; Huang, Zhifeng
  • 期刊名称:Journal of Computers
  • 印刷版ISSN:1796-203X
  • 出版年度:2011
  • 卷号:6
  • 期号:7
  • 页码:1307-1318
  • DOI:10.4304/jcp.6.7.1307-1318
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:Most embedded database systems are built on a two-level memory hierarchy, a RAM buffer on top of flash memory. Both kinds of memories have limited capacity, thus, how to efficiently utilize them is critical for embedded systems with resource restrictions. Different from magnetic hard disk, flash memory has speed asymmetry in reads and writes, i.e., random reads are over an order of magnitude faster than random writes. μ-tree is the state-of-theart index supporting efficient random updates on the flash memory. However, we found that the traditional page based buffer scheme(LRU-P for short) under-utilized the RAM space. To improve the utilization on the memory resources and the query performance, we propose a novel buffer scheme called LRU-N – a node-based LRU policy for the RAM buffer. In addition, to increase the utilization of the flash memory, we also present a k-partitioning strategy for μ-tree. LRU-N uses a page address swizzling scheme to exploit the co-related locality of accessing multiple tree nodes in the μ-tree. The k-partitioning strategy determines an optimal k value for space efficiency by allocating more flash memory to the leaf nodes and guarantees sufficient space for tree growth. Our experiments conducted on both simulated data sets of various distributions and real-world data sets show that LRU-N can significantly improve buffer hit rate up to 65% for the best cases over the page-based scheme LRU-P; even with small buffer size, LRU-N can also achieve rather good performance. And our proposed k-partitioning strategy can effectively reduce the index size up to 33% over μ-tree.
  • 关键词:buffer scheme;LRU;μ-Tree;flash DB
国家哲学社会科学文献中心版权所有