rocksdb/options
Akanksha Mahajan 5ba1b6e549 Cache warming data blocks during flush (#8242)
Summary:
This PR prepopulates warm/hot data blocks which are already in memory
into block cache at the time of flush. On a flush, the data block that is
in memory (in memtables) get flushed to the device. If using Direct IO,
additional IO is incurred to read this data back into memory again, which
is avoided by enabling newly added option.

 Right now, this is enabled only for flush for data blocks. We plan to
expand this option to cover compactions in the future and for other types
 of blocks.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8242

Test Plan: Add new unit test

Reviewed By: anand1976

Differential Revision: D28521703

Pulled By: akankshamahajan15

fbshipit-source-id: 7219d6958821cedce689a219c3963a6f1a9d5f05
2021-06-17 21:56:47 -07:00
..
cf_options.cc Make Comparator into a Customizable Object (#8336) 2021-06-11 06:22:59 -07:00
cf_options.h Added static methods for simple types to OptionTypeInfo (#8249) 2021-05-11 16:15:47 -07:00
configurable.cc
configurable_helper.h
configurable_test.cc
configurable_test.h
customizable.cc
customizable_helper.h
customizable_test.cc Add Inner method and support for wrapped Customizable (#8373) 2021-06-17 08:39:36 -07:00
db_options.cc Add CreateFrom methods to Env/FileSystem (#8174) 2021-06-15 03:43:48 -07:00
db_options.h Compare memtable insert and flush count (#8288) 2021-05-20 16:07:28 -07:00
options.cc
options_helper.cc Make Comparator into a Customizable Object (#8336) 2021-06-11 06:22:59 -07:00
options_helper.h Added static methods for simple types to OptionTypeInfo (#8249) 2021-05-11 16:15:47 -07:00
options_parser.cc
options_parser.h
options_settable_test.cc Cache warming data blocks during flush (#8242) 2021-06-17 21:56:47 -07:00
options_test.cc Mark Ribbon filter and optimize_filters_for_memory as production (#8408) 2021-06-17 12:29:16 -07:00