MySQLOnRocksDB/mysql-5.6
forked from facebook/mysql-5.6

Loading…
Prevent from block cache eviction by full table scan #68
Closed
yoshinorim opened this Issue
· 1 comment
Owner
yoshinorim
commented
|
|
yoshinorim |
Prevent from block cache eviction by full table scan #68
…
Summary: This diff adds a new session variable rocksdb_skip_fill_cache (default false, and enabled at mysqldump), and set ReadOptions.fill_cache = false if turned on. This avoids mysqldump filling block cache. Test Plan: new test case mysqldump2 Reviewers: maykov, spetrunia, hermanlee4 Reviewed By: hermanlee4 Differential Revision: https://reviews.facebook.net/D39195 |
2f46c36
|
Owner
yoshinorim
commented
|
|
yoshinorim |
Prevent from block cache eviction by full table scan #68
…
Summary: This diff adds a new session variable rocksdb_skip_fill_cache (default false, and enabled at mysqldump), and set ReadOptions.fill_cache = false if turned on. This avoids mysqldump filling block cache. Test Plan: new test case mysqldump2 Reviewers: maykov, spetrunia, hermanlee4 Reviewed By: hermanlee4 Differential Revision: https://reviews.facebook.net/D39195 |
1eab1f6
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RocksDB doesn't have midpoint insertion strategy, but has an option "ReadOptions.fill_cache = false" so that it does not insert blocks into block cache.
There are several choices for implementing this.