首页 | 本学科首页   官方微博 | 高级检索  
     


Garbage collection of multi-version indexed data on flash memory
Affiliation:1. Department of Computer Science, City University of Hong Kong, Hong Kong Special Administrative Region;2. Institute of Information Science, Academia Sinica, Taiwan;3. Department of Computer Science and Information Engineering, NTUST, Taiwan;1. Department of Digital Information Engineering, Hankuk University of Foreign Studies, Republic of Korea;2. Department of Multimedia Engineering, Dongguk University, Republic of Korea;1. Department of Computer Science and Information Engineering, National Dong Hwa University, Hualien, Taiwan, ROC;2. Department of Electrical Engineering, National Ilan University, I-Lan, Taiwan, ROC;1. College of Computer Science, Chongqing University, Chongqing, China;2. Key Laboratory of Dependable Service Computing in Cyber Physical Society (Chongqing University), Ministry of Education, China;3. School of Electrical and Computer Engineering, Oklahoma State University, Stillwater, USA
Abstract:Maintaining a multi-version index on flash memory could generate a lot of updates and invalid pages. It is important to have an efficient garbage collection mechanism to ensure the flash memory has sufficient number of free blocks for storing new data versions and their index structures. In this paper, we study the important performance issues in using the purging-range query to reclaim the blocks, which are storing old data versions and invalid index entries, to be free blocks. To reduce the cost for processing the purging-range query, we propose the physical block labeling (PBL) scheme to provide a better estimation on the purging version number to be used for purging old data versions. To further enhance the performance of the garbage collection process, and at the same time to maximize the deadspans of data versions and balance the wear levels of the blocks, we propose two schemes called, the sequential placement (SQ) and frequency-based placement (FBP), for placing new data versions into free pages. As illustrated in the performance studies, both SQ and FBP can effectively balance the wear levels of the blocks. The deadspans of data versions are longer under FBP than both SQ and RR, and the page reallocation cost is also lower under FBP especially when the size of flash memory allocated for the database is limited. The experimental results also illustrate that PBL can effectively minimize the number of invocations of the purging-range query to be one to reclaim the required number of blocks in each garbage collection.
Keywords:Flash memory  Garbage collection  Multi-version index  Multi-version data  Flash-based embedded database
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号