Open mdcallag opened 7 years ago
Almost a 2X improvement from filesystem readahead on IO-bound sysbench full index scans - http://smalldatum.blogspot.com/2017/11/sysbench-io-bound-small-server-myrocks_29.html
My sysbench and insert benchmark results include numbers for scan - http://smalldatum.blogspot.com/2017/12/myrocks-innodb-and-tokudb-summary.html
RocksDB added support for adaptive read ahead by default (https://github.com/facebook/rocksdb/commit/df23e80e5f3bc64a6802be58971066ccd35923d3). I confirmed that I/O unit size increased from 5KB to 80KB on my test table.
I will update this with data soon. Enabling file system readahead for MyRocks makes some full table scans much faster, even on fast SSD. The only way to do this today is global which will effect all sessions/queries so we need a way to limit this to long range scans.
This might be relevant for figuring out when to do it http://mysqlserverteam.com/mysql-8-0-faster-batch-record-retrieval/