Flash-based algorithms of database buffer management
https://doi.org/10.15514/ISPRAS-2012-23-11
Abstract
One of the most important ways of increasing the speed of the modern databases is to cache frequently used data in RAM. Classical replacement policies are intended to minimize the number of buffer pool faults. This optimization method implicitly relies on the fact that the speeds of reading and writing to the hard disc are equal. Gradual technology improvement and cost reduction of flash memory have led to the creation of solid-state data storages (SSD) that are now increasingly used in personal computers and storage systems. Flash drives have advantages over traditional hard drives, high read and write speeds and significantly small time of random data access are the most important of them. However, the most popular flash-memory types read data at a higher speed than write it. Due to this feature the use of classical replacement algorithms of disk data caching is ineffective. This paper reviews recently developed algorithms of database buffer pool management designed to work with flash memory drives: CFDC (Clean First – Dirty Clustered), CASA (Cost-Aware Self-Adaptive), SAWC (Self Adaptive with Write Clustering), and FD-Buffer. Some of these algorithms demonstrate significant advantages over the classical algorithm LRU.
About the Authors
S. D. KuznetsovRussian Federation
A. A. Prokhorov
Russian Federation
References
1. Belady. L., «A study of replacement algorithms for a virtual-storage computer,» IBM Systems Journal, p. 78–101, 1966.
2. Shaul Dar, Michael J. Franklin, Bjorn.T. Jonsson, «Semantic Data Caching and Replacement,» в VLDB Conference, 1996.
3. Masuoka Fujio, Iizuka Hisakazu,, «Semiconductor memory device and method for manufacturing the same,» 1985.
4. INTEGRATED CIRCUIT ENGINEERING CORP., «Flash Memory Technology,» [В Интернете]. Available: http://smithsonianchips.si.edu/ice/cd/MEMORY97/SEC10.PDF.
5. Vättö Kristian, «Understanding TLC NAND,» 2012. Available: http://www.anandtech.com/show/5067/understanding-tlc-nand/2.
6. Jesung K., Min J., Sam H., Sang L., Yookun C.;, «A Space-Efficient Flash Translation Layer for CompactFlash Systems,» Proceedings of the IEEE 48 (2), p. 366–375, 2002.
7. Perdue Ken, «"Wear Leveling Application Note,» 2010.
8. OCZ Technology Group, Inc., «OCZ Vertex 3 SSD Series – 3-rd Generation Harnessing the speed of the SATA III interface.,» 2011.
9. S.D. Kuznetsov, Osnovy baz dannyh [Foundations of databases], 2007 (in Russian).
10. Mustafa Canim, George A. Mihaila, Bishwaranjan Bhattacharjee, Kenneth A. Ross,, «SSD Bufferpool Extensions for Database Systems.,» 2010.
11. D. Seo, D. Shin. , « Recently-evicted-first buffer replacement policy,» IEEE Transactions on Consumer, p. 1228–1235, 2008.
12. «Selected Papers on Flash-Based Database,» Lab of Web and Mobile data Management, 2011.
13. Y. Ou, T. Härder, and P. Jin., «CFDC: a flash-aware replacement policy for database buffer management.,» в DaMoN, 2009.
14. R. L. Mattson, J. Gecsei, D. R. Slutz, and I. L. Traiger., «Evaluation techniques for storage hierarchies.,» IBM System Journal 9(2), 1970.
15. Sai Tung On,Yinan Li,Bingsheng He, Ming Wu, Qiong Luo, Jianliang Xu., «FD-Buffer: A Buffer Manager for Databases on Flash Disks.,» 2010.
Review
For citations:
Kuznetsov S.D., Prokhorov A.A. Flash-based algorithms of database buffer management. Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS). 2012;23. (In Russ.) https://doi.org/10.15514/ISPRAS-2012-23-11