toplingdb
toplingdb copied to clipboard
Feature Request: Add DB::ApproximateKeyAnchors
This feature request is picked from https://github.com/facebook/rocksdb/issues/10888
Now RocksDB has TableReader::ApproximateKeyAnchors for sampling key boundaries for sub compaction.
It is better to expose ApproximateKeyAnchors to DB for applications, such as:
In MyRocks, ddl operations such as create index, can using this function to partition the input data to processing with multi threads. (InnoDB has innodb_ddl_threads for this purpose)
I had filed an Feature Request for MyRocks about this feature: https://github.com/facebook/mysql-5.6/issues/1245