|
|
|
|
|
by dhruba_b
4605 days ago
|
|
Thanks for your comments Steve. 1. RocksDb has a feature that allows an application to determine when to close a file (i.e. segment). You can write your compaction code via compaction_filter_factory defined in https://github.com/facebook/rocksdb/blob/master/include/rock... 2. RocksDb also has a feature that allows an application to close a block inside a segment. https://github.com/facebook/rocksdb/commit/fd075d6edd68ddbc1... 3. RocksDb has a feature to use different compression algorithms for different parts of the database. In the Level Style Compaction, you can configure a different compression algorithm for different levels. In Universal Style Compaction, you can specify that you want compression only for x% earliest data in your database. 4. We have internal benchmarks for scan performance but because of lack of developer resources, we might not be able to open source those numbers. It will be great to catch up in person. |
|