speedb-io / speedb

A RocksDB compliant high performance scalable embedded key-value store
https://www.speedb.io/
Apache License 2.0
882 stars 65 forks source link

Options: Set compaction_readahead_size default to 0 #792

Closed Yuval-Ariel closed 8 months ago

Yuval-Ariel commented 8 months ago

The current value of 2Mb is not optimal for most of our use cases. By setting the value to 0, we ensure that the prefetch size during compaction read will be the default for that instance.

related to https://github.com/speedb-io/speedb/issues/787.