跳到主要导航 跳到搜索 跳到主要内容

Efficient Buffer Management for Tree Indexes on Solid State Drives

  • Chengcheng Yang*
  • , Peiquan Jin
  • , Lihua Yue
  • , Puyuan Yang
  • *此作品的通讯作者
  • University of Science and Technology of China
  • Chinese Academy of Sciences

科研成果: 期刊稿件 › 文章 › 同行评审

摘要

Recently, with the widely use of flash memory based solid state drives (SSDs), a lot of studies have been conducted on SSD-based data management, such as index structures, query processing, and buffer management schemes. This paper focuses on buffer schemes for SSD-based database systems. However, differing from previous studies, we concentrate on buffer schemes for tree indexes on SSDs. This work is motivated by the observation that access patterns on index pages are much different from those on data pages. Generally, in a typical tree index, e.g., B+-tree, the root and internal nodes have higher read frequencies than leaf nodes have. However, traditional SSD-oriented buffering methods do not consider this special feature of indexes, and thus is not efficient when used as index buffer management schemes. In this paper, we present a new buffering scheme for tree indexes on SSDs that is named Clean-First and Dirty-Redundant-Write (CFDRW) scheme. The contributions of CFDRW are manifold. First, it assigns priorities to index pages to reflect the differences of access patterns of the nodes in a tree index. Second, it uses priority and recency to detect the hotness of index pages and proposes a new replacement algorithm based on priority and recency of the buffered index pages. Third, it exploits the internal parallelism of SSDs and proposes to write out buffer pages in a coarse granularity, i.e., to write out several pages using one physical I/O operation. We compare our proposal on two commodity SSDs with many previous methods including LRU, LIRS, and six flash-memory-based buffering schemes, by using synthetic and real workloads. The results show that our proposal outperforms the competitors under all workloads and SSDs in terms of various metrics including hit ratio, read count, write count, and elapsed time.

源语言英语
页(从-至)5-25
页数21
期刊International Journal of Parallel Programming
卷44
期1
DOI
出版状态已出版 - 1 2月 2016
已对外发布是

学术指纹

探究 'Efficient Buffer Management for Tree Indexes on Solid State Drives' 的科研主题。它们共同构成独一无二的学术指纹。

引用此