LSM-trie: An LSM-tree-based Ultra- Large Key-Value Store for Small Data
1
Xingbo Wu, Yuehai Xu, Zili Shao, Song Jiang
Wayne State University The Hong Kong Polytechnic University
ATC 2015
LSM-trie: An LSM-tree-based Ultra- Large Key-Value Store for Small - - PowerPoint PPT Presentation
LSM-trie: An LSM-tree-based Ultra- Large Key-Value Store for Small Data Xingbo Wu, Yuehai Xu, Zili Shao, Song Jiang Wayne State University The Hong Kong Polytechnic University ATC 2015 1 Motivation Very small KV items are widespread. For
1
Xingbo Wu, Yuehai Xu, Zili Shao, Song Jiang
Wayne State University The Hong Kong Polytechnic University
ATC 2015
locate them.
increasing.
writes.
metadata size, write performance is compromised.
2
Index Large Table), major efforts are made to optimize reads by minimizing metadata size, while write performance can be compromised without conducting multi-level incremental compactions. Explain how high write amplifications are produced in SILT?
3
linear and exponential growth pattern?
4
and accordingly does not support range search. Does LevelDB support range search? LevelDB supports range search.
5 This figure from paper: <WiscKey: Seperatjng Keys fsom Values in SSD-Conscious Stprage>
make sure their key range are not overlapped to keep any two SSTables at level Lk+1 from having overlapped key ranges. However, this cannot be achieved with the LevelDB data organization. Explain why levelDB can not achieve it? The key range of an SSTable is variable in levelDB and the range’s distribution can be different in different levels.
6
how compaction is performed in the trie?
7
how compaction is performed in the trie?
8
to be out of core.
9
Suppose we have 10TB disk, the block size is 4 KB, and size of index for each block is 12B. Then the total size of index will be 30 GB. Suppose we have 10 TB disk, the size of each KV item is 100 B, and 10-bit-per-key in Bloom filter. Then the total size of Bloom filter will be 125 GB.
The total size of metadata will be 155GB!
(10TB/4KB)*12B = 30GB (10TB/100B)*1.25B = 125GB
10
Suppose we have a SSTable-trie which has 7 levels, each level has 8 sub-
0.82%. At the worst case, the probability of searching the levels without the KV item we wanted will increase from 5.74% (7 * 0.82%) to 45.92% (7*8*0.82%).