rocksdb/examples
Aaron Gao 972f96b3fb direct io write support
Summary:
rocksdb direct io support

```
[gzh@dev11575.prn2 ~/rocksdb] ./db_bench -benchmarks=fillseq --num=1000000
Initializing RocksDB Options from the specified file
Initializing RocksDB Options from command-line flags
RocksDB:    version 5.0
Date:       Wed Nov 23 13:17:43 2016
CPU:        40 * Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz
CPUCache:   25600 KB
Keys:       16 bytes each
Values:     100 bytes each (50 bytes after compression)
Entries:    1000000
Prefix:    0 bytes
Keys per prefix:    0
RawSize:    110.6 MB (estimated)
FileSize:   62.9 MB (estimated)
Write rate: 0 bytes/second
Compression: Snappy
Memtablerep: skip_list
Perf Level: 1
WARNING: Assertions are enabled; benchmarks unnecessarily slow
------------------------------------------------
Initializing RocksDB Options from the specified file
Initializing RocksDB Options from command-line flags
DB path: [/tmp/rocksdbtest-112628/dbbench]
fillseq      :       4.393 micros/op 227639 ops/sec;   25.2 MB/s

[gzh@dev11575.prn2 ~/roc
Closes https://github.com/facebook/rocksdb/pull/1564

Differential Revision: D4241093

Pulled By: lightmark

fbshipit-source-id: 98c29e3
2016-12-22 13:09:19 -08:00
..
.gitignore Compaction filter on merge operands 2015-10-07 09:30:03 -07:00
c_simple_example.c Add missing copyright header 2016-12-14 10:24:13 -08:00
column_families_example.cc Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
compact_files_example.cc Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
compaction_filter_example.cc Fix failed compaction_filter_example and add it into make all 2016-11-15 17:09:10 -08:00
Makefile Fix failed compaction_filter_example and add it into make all 2016-11-15 17:09:10 -08:00
optimistic_transaction_example.cc Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
options_file_example.cc Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
README.md Improve examples/README.md 2015-12-16 16:27:37 +01:00
rocksdb_option_file_example.ini direct io write support 2016-12-22 13:09:19 -08:00
simple_example.cc Add missing copyright header 2016-12-14 10:24:13 -08:00
transaction_example.cc Fix typo (#903) 2016-09-14 14:12:31 -07:00

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