toplingdb icon indicating copy to clipboard operation
toplingdb copied to clipboard

Feature Request: Add DB::ApproximateKeyAnchors

Open rockeet opened this issue 2 years ago • 0 comments

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

rockeet avatar Mar 15 '23 10:03 rockeet