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

使用固态硬盘管理主存KV数据库的虚拟内存
引用本文:韩旭,曹巍,孟小峰. 使用固态硬盘管理主存KV数据库的虚拟内存[J]. 计算机科学与探索, 2011, 5(8): 686-694. DOI: 10.3778/j.issn.1673-9418.2011.08.002
作者姓名:韩旭  曹巍  孟小峰
作者单位:中国人民大学信息学院,北京,100872
基金项目:国家自然科学基金No.60833005,91024032,61070055; 国家科技重大专项“核高基”项目No.2010ZX01042-002-003; 中国人民大学科学研究基金No.10XNI018~~
摘    要:主存键值(key-value,KV)数据库具有高效性、易用性和可扩展性.由于主存容量有限,一些数据量较大的应用必须使用磁盘进行数据交换.而固态硬盘(solid state disk,SSD)有高速的随机读特点,使用固态硬盘作为主存KV数据库的虚拟内存会提高对不在主存中的数据的读性能.但是固态硬盘的随机写性能较差,于是提...

关 键 词:键值  固态硬盘  虚拟内存  缓冲区
修稿时间: 

Virtual Memory Management for Main-Memory KV Database Using Solid State Disk
HAN Xu,CAO Wei,MENG Xiaofeng. Virtual Memory Management for Main-Memory KV Database Using Solid State Disk[J]. Journal of Frontier of Computer Science and Technology, 2011, 5(8): 686-694. DOI: 10.3778/j.issn.1673-9418.2011.08.002
Authors:HAN Xu  CAO Wei  MENG Xiaofeng
Affiliation:School of Information, Renmin University of China, Beijing 100872, China
Abstract:Key-value in-memory databases have the characteristics of efficiency, usability and scalability. Because of the limits of the capacity of main memory, the applications dealing with large amount of data have to swap data between main memory and disks. While solid state disks (SSDs) have the high performance of random reads as a new storage medium, they can speed up random reads on virtual memory. To remedy the lower performance of random writes on SSDs, this paper proposes an optimization method of write buffer of SSD, which transforms several random writes to a sequential write, and designs a garbage collection policy of SSD, which transforms several random writes to a sequential read and a sequential write, to improve the spatial utilization of key-value in-memory database. Finally, an SSD-based virtual memory implementation is proposed to realize high performance of key-value main memory data-bases, and the improvement which is at most 40%, is confirmed by changing the source code of Redis in experiment.
Keywords:key-value  solid state disk (SSD)  virtual memory  buffer
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机科学与探索》浏览原始摘要信息
点击此处可从《计算机科学与探索》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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