rocksdb/examples
songqing d3e015fe06 Fix compact_files_example (#12084)
Summary:
The option "write_buffer_size" has changed from 4MB for 64MB by default, and the compact_files_example will not work as expected, as the test data written is only about 50MB and will not trigger compaction.

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

Reviewed By: cbi42

Differential Revision: D51499959

Pulled By: ajkr

fbshipit-source-id: 4f4b25ebc4b6bb568501adc8e97813edcddceea8
2023-11-21 09:34:59 -08:00
..
.gitignore
CMakeLists.txt
Makefile
README.md
c_simple_example.c
column_families_example.cc
compact_files_example.cc Fix compact_files_example (#12084) 2023-11-21 09:34:59 -08:00
compaction_filter_example.cc
multi_processes_example.cc
optimistic_transaction_example.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
options_file_example.cc
rocksdb_backup_restore_example.cc
rocksdb_option_file_example.ini
simple_example.cc
transaction_example.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00

README.md

  1. Compile RocksDB first by executing make static_lib in parent dir
  2. Compile all examples: cd examples/; make all