Fast Peak-to-Peak Restart for SSD Buffer Pool Extension
نویسندگان
چکیده
A promising usage of Flash SSDs in a DBMS is to use it to extend the main memory buffer pool by caching in the SSD selected pages that are evicted from the buffer pool. These schemes have been shown to produce big performance gains in the steady state. Simple methods for using the SSD buffer pool throw away the data in the SSD when the system is restarted (either when recovering from a crash or restarting after a shutdown), and consequently need a long “ramp-up” period to regain peak performance. A recent method to address this limitation is to use a memory-mapped file to store the metadata (called the SSD buffer table) about the contents of the SSD buffer pool, and to recover the metadata at the beginning of recovery. However, this method can result in lower sustained performance, because every update to the SSD buffer table may incur a random I/O operation. In this paper we propose two new designs. One design reconstructs the SSD buffer table using transactional logs. The other design asynchronously flushes the SSD buffer table, and upon restart, lazily verifies the integrity of the data cached in the SSD buffer pool. We have implemented the previously proposed scheme and these two new schemes in SQL Server. For each design, both the write-through and the writeback caching policies were implemented. Using two OLTP benchmarks (TPC-C and TPC-E), our experimental results show that our designs produce up to 3.8X speedup on the interval between peak-to-peak performance, with negligible performance loss; in contrast, the previous approach has a similar speedup but up to 54% performance loss.
منابع مشابه
Determination of Aciclovir and its Related Substance Guanine in Bulk Drug and Tablet Preparation by Capillary Electrophoresis
Two Capillary Zone electrophoresis (CZE) methods were developed in this study, one using an acidic buffer (sodium citrate pH = 2.5) and the other using a basic buffer (sodium tetraborate pH = 9.8). The two methods were compared on the basis of repeatability and reproducibility of results and the CZE method developed with the basic buffer was then selected for further studies. The method was ful...
متن کاملA Fast, Robust, Automatic Blink Detector
Introduction “Blink” is defined as closing and opening of the eyes in a small duration of time. In this study, we aimed to introduce a fast, robust, vision-based approach for blink detection. Materials and Methods This approach consists of two steps. In the first step, the subject’s face is localized every second and with the first blink, the system detects the eye’s location and creates an ope...
متن کاملDetermination of Aciclovir and its Related Substance Guanine in Bulk Drug and Tablet Preparation by Capillary Electrophoresis
Two Capillary Zone electrophoresis (CZE) methods were developed in this study, one using an acidic buffer (sodium citrate pH = 2.5) and the other using a basic buffer (sodium tetraborate pH = 9.8). The two methods were compared on the basis of repeatability and reproducibility of results and the CZE method developed with the basic buffer was then selected for further studies. The method was ful...
متن کاملOptimizing Hierarchical Storage Management For Database System
Caching is a classical but effective way to improve system performance. To improve system performance, servers, such as database servers and storage servers, contain significant amounts of memory that act as a fast cache. Meanwhile, as new storage devices such as flash-based solid state drives (SSDs) are added to storage systems over time, using the memory cache is not the only way to improve s...
متن کاملHybrid Storage Management for Database Systems
The use of flash-based solid state drives (SSDs) in storage systems is growing. Adding SSDs to a storage system not only raises the question of how to manage the SSDs, but also raises the question of whether current buffer pool algorithms will still work effectively. We are interested in the use of hybrid storage systems, consisting of SSDs and hard disk drives (HDDs), for database management. ...
متن کامل