Not the answer you need?
Register and ask your own question!

MyRocks config compaction readahead size

yotlesyotles EntrantCurrent User Role Beginner
Hello.
As I can see from MyRocks Server Variables:

variable rocksdb_compaction_readahead_sizeSpecifies the size of reads to perform ahead of compaction. Default value is 0. Set this to at least 2 megabytes (16777216) when using MyRocks with spinning disks to ensure sequential reads instead of random. Maximum allowed value is 18446744073709551615.

Note

If you set this variable to a non-zero value, rocksdb_new_table_reader_for_compaction_inputs is enabled.


So my questions is if I understand correctly when rocksdb_compaction_readahead_size specified with non zero value I need to enable rocksdb_new_table_reader_for_compaction_inputs or it will be enabled automatically?

Thanks!

Tagged:
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.