Defragmentation for log structured merge tree to improve read and write amplification
AssigneeNetApp, Inc.
InventorsAnil Paul Thoppil, Wei Sun, Meera Odugoudar, Szu-Wen Kuo, Santhosh Selvaraj
Life of this patent
Estimating the term…
Loading patent…
AssigneeNetApp, Inc.
InventorsAnil Paul Thoppil, Wei Sun, Meera Odugoudar, Szu-Wen Kuo, Santhosh Selvaraj
Estimating the term…
Techniques are provided for implementing a defragmentation process during a merge operation performed by a re-compaction process upon a log structured merge tree. The log structured merge tree is used to store keys of key-value pairs within a key-value store. As the log structured merge tree fills with keys over time, the re-compaction process is performed to merge keys down to lower levels of the log structured merge tree to re-compact the keys. Re-compaction can result in fragmentation because there is a lack of spatial locality of where the re-compaction operations re-writes the keys within storage. Fragmentation increases read and write amplification when accessing the keys stored in different locations within the storage. Accordingly, the defragmentation process is performed during a last merge operation of the re-compaction process in order to store keys together within the storage, thus reducing read and write amplification when accessing the keys.
A method, comprising:
A non-transitory machine readable medium comprising instructions, which when executed by a machine, causes the machine to:
A system, comprising:
Dependencies are inferred from the claim text.