首页>
外国专利>
METHOD FOR PROCESSING GARBAGE BASED ON LSM DATABASE, SOLID STATE HARD DISK, AND STORAGE APPARATUS
METHOD FOR PROCESSING GARBAGE BASED ON LSM DATABASE, SOLID STATE HARD DISK, AND STORAGE APPARATUS
展开▼
机译:基于LSM数据库,固态硬盘和存储装置的垃圾处理方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
Disclosed in the present application are a method for processing garbage based on an LSM database, a solid state hard disk, and a storage apparatus. The method comprises: in a solid state hard disk, creating a log corresponding to data to be written; writing the data to be written to the corresponding log; when a condition for executing a merge operation is met, executing a merge operation on the logs in the solid state hard disk; and deleting the merged logs and labelling the super block in which the deleted logs were located as an invalid data state. By means of the present method, the present application can flexibly perform garbage processing on the data of an LSM database stored in the solid state hard disk, reducing write amplification.
展开▼