Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add DB::ApproximateKeyAnchors #38

Open
rockeet opened this issue Mar 15, 2023 · 0 comments
Open

Feature Request: Add DB::ApproximateKeyAnchors #38

rockeet opened this issue Mar 15, 2023 · 0 comments

Comments

@rockeet
Copy link
Collaborator

rockeet commented Mar 15, 2023

This feature request is picked from facebook/rocksdb#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: facebook/mysql-5.6#1245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant