Skip to content

Commit

Permalink
[config](inverted index)Make inverted_index_ram_dir enable by default (
Browse files Browse the repository at this point in the history
…apache#35094)

`inverted_index_ram_dir_enable` can reduce disk IO in writing index time.
We turn it on by default.

Co-authored-by: Luennng <[email protected]>
  • Loading branch information
qidaye and luennng committed Aug 8, 2024
1 parent 21b6b86 commit 1da6ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ DEFINE_mBool(inverted_index_compaction_enable, "true");
// Only for debug, do not use in production
DEFINE_mBool(debug_inverted_index_compaction, "false");
// index by RAM directory
DEFINE_mBool(inverted_index_ram_dir_enable, "false");
DEFINE_mBool(inverted_index_ram_dir_enable, "true");
// use num_broadcast_buffer blocks as buffer to do broadcast
DEFINE_Int32(num_broadcast_buffer, "32");

Expand Down

0 comments on commit 1da6ff4

Please sign in to comment.