vix.ing · top · new · best · stats · spec

Efficiently Reclaiming Space in a Log Structured Store

2020/04/30 by David Lomet, Chen Luo, Lomet, David +1 · 1 voice
Computer Science · #Advanced Data Storage Technologies #Databases (cs.DB) #Distributed systems and fault tolerance #FOS: Computer and information sciences #Hardware Architecture (cs.AR) #Parallel Computing and Optimization Techniques #Performance (cs.PF) #cs.AR #cs.DB #cs.PF

paper · pdf · doi:10.48550/arxiv.2005.00044

openalex publication_date 2020/04/30 · arxiv published 2020/04/30 · arxiv updated 2020/04/30 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

A log structured store uses a single write I/O for a number of diverse and non-contiguous pages within a large buffer instead of using a write I/O for each page separately. This requires that pages be relocated on every write, because pages are never updated in place. Instead, pages are dynamically remapped on every write. Log structuring was invented for and used initially in file systems. Today, a form of log structuring is used in SSD controllers because an SSD requires the erasure of a large block of pages before flash storage can be reused. No update-in-place requires that the storage for out-of-date pages be reclaimed (garbage collected or "cleaned"). We analyze cleaning performance and introduce a cleaning strategy that uses a new way to prioritize the order in which stale pages are garbage collected. Our cleaning strategy approximates an "optimal cleaning strategy". Simulation studies confirm the results of the analysis. This strategy is a significant improvement over previous cleaning strategies.

Discussions

Related