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
8 years ago
Anton Safonov
9053fe2a5c
Made delete_obsolete_files_period_micros option dynamic
...
Summary:
Made delete_obsolete_files_period_micros option dynamic. It can be updating using DB::SetDBOptions().
Closes https://github.com/facebook/rocksdb/pull/1595
Differential Revision: D4246569
Pulled By: tonek
fbshipit-source-id: d23f560
8 years ago
Artemiy Kolesnikov
91300d01f6
Dynamic max_total_wal_size option
...
Summary: Closes https://github.com/facebook/rocksdb/pull/1509
Differential Revision: D4176426
Pulled By: yiwu-arbug
fbshipit-source-id: b57689d
8 years ago
Lijun Tang
adb665e0bf
Allowed delayed_write_rate option to be dynamically set.
...
Summary: Closes https://github.com/facebook/rocksdb/pull/1488
Differential Revision: D4157784
Pulled By: siying
fbshipit-source-id: f150081
8 years ago
Yi Wu
437942e481
Add avoid_flush_during_shutdown DB option
...
Summary:
Add avoid_flush_during_shutdown DB option.
Closes https://github.com/facebook/rocksdb/pull/1451
Differential Revision: D4108643
Pulled By: yiwu-arbug
fbshipit-source-id: abdaf4d
8 years ago
Kien-hung Li
eeb27e1bbd
Add handy option to turn on direct I/O in db_bench ( #1424 )
8 years ago
Yi Wu
e29d3b67c2
Make max_background_compactions and base_background_compactions dynamic changeable
...
Summary:
Add DB::SetDBOptions to dynamic change max_background_compactions and base_background_compactions.
I'll add more dynamic changeable options soon.
Test Plan: unit test.
Reviewers: yhchiang, IslamAbdelRahman, sdong
Reviewed By: sdong
Subscribers: andrewkr, dhruba, leveldb
Differential Revision: https://reviews.facebook.net/D64749
8 years ago
Yi Wu
9ed928e7a9
Split DBOptions into ImmutableDBOptions and MutableDBOptions
...
Summary: Use ImmutableDBOptions/MutableDBOptions internally and DBOptions only for user-facing APIs. MutableDBOptions is barely a placeholder for now. I'll start to move options to MutableDBOptions in following diffs.
Test Plan:
make all check
Reviewers: yhchiang, IslamAbdelRahman, sdong
Reviewed By: sdong
Subscribers: andrewkr, dhruba, leveldb
Differential Revision: https://reviews.facebook.net/D64065
8 years ago