use default options

This commit is contained in:
abbycin 2025-08-12 17:21:43 +08:00
parent c9b915cd49
commit 3c858a6134
Signed by: abby
GPG Key ID: B636E0F0307EF8EB
2 changed files with 1 additions and 7 deletions

View File

@ -77,13 +77,7 @@ int main(int argc, char *argv[]) {
}
rocksdb::Options options;
options.disable_auto_compactions = true;
options.create_if_missing = true;
options.max_write_buffer_number = 10;
options.target_file_size_base = 64 << 20;
options.write_buffer_size = 64 << 20;
options.level0_file_num_compaction_trigger = 500;
options.max_bytes_for_level_base = 2 << 30;
auto ropt = rocksdb::ReadOptions();
auto wopt = rocksdb::WriteOptions();
std::vector<std::thread> wg;

View File

@ -5,7 +5,7 @@ import sys
def real_mode(m):
if m == "mixed":
return "MIXED (70% Get, 30% Put)"
return "MIXED (70% Get, 30% Insert)"
return m.upper()
name = sys.argv[1]