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 Add rocksdb_backup_restore_example to examples/.gitignore (#10825) 2022-11-02 15:02:09 -07:00
c_simple_example.c Make examples work on Windows (#7304) 2020-09-01 18:03:50 -07:00
CMakeLists.txt
column_families_example.cc Run clang format against files under example/, memory/ and memtable/ folders (#10893) 2022-10-28 13:16:50 -07:00
compact_files_example.cc Fix compact_files_example (#12084) 2023-11-21 09:34:59 -08:00
compaction_filter_example.cc Add (& fix) some simple source code checks (#8821) 2021-09-07 21:19:27 -07:00
Makefile Add a simple example of backup and restore (#10054) 2022-06-03 23:25:31 -07:00
multi_processes_example.cc Make examples work on Windows (#7304) 2020-09-01 18:03:50 -07:00
optimistic_transaction_example.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
options_file_example.cc Remove using namespace (#9369) 2022-01-12 09:31:12 -08:00
README.md
rocksdb_backup_restore_example.cc Add a simple example of backup and restore (#10054) 2022-06-03 23:25:31 -07:00
rocksdb_option_file_example.ini Remove BlockBasedTableOptions.hash_index_allow_collision (#9454) 2022-03-01 13:58:02 -08:00
simple_example.cc Run clang format against files under example/, memory/ and memtable/ folders (#10893) 2022-10-28 13:16:50 -07:00
transaction_example.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00

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