rocksdb/db
Naman Gupta cbf4a06427 Add option for storing transaction logs in a separate dir
Summary: In some cases, you might not want to store the data log (write ahead log) files in the same dir as the sst files. An example use case is leaf, which stores sst files in tmpfs. And would like to save the log files in a separate dir (disk) to save memory.

Test Plan: make all. Ran db_test test. A few test failing. P2785018. If you guys don't see an obvious problem with the code, maybe somebody from the rocksdb team could help me debug the issue here. Running this on leaf worked well. I could see logs stored on disk, and deleted appropriately after compactions. Obviously this is only one set of options. The unit tests cover different options. Seems like I'm missing some edge cases.

Reviewers: dhruba, haobo, leveldb

CC: xinyaohu, sumeet

Differential Revision: https://reviews.facebook.net/D13239
2013-10-08 17:40:27 -07:00
..
.nfs00000000066c9ebb00000002 Enhance db_bench 2013-03-14 16:00:23 -07:00
builder.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
builder.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
c_test.c Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
c.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
corruption_test.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
db_bench.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
db_filesnapshot.cc Add option for storing transaction logs in a separate dir 2013-10-08 17:40:27 -07:00
db_impl_readonly.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
db_impl_readonly.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
db_impl.cc Add option for storing transaction logs in a separate dir 2013-10-08 17:40:27 -07:00
db_impl.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
db_iter.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
db_iter.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
db_statistics.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
db_stats_logger.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
db_test.cc Add option for storing transaction logs in a separate dir 2013-10-08 17:40:27 -07:00
dbformat_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
dbformat.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
dbformat.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
deletefile_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
filename_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
filename.cc Add option for storing transaction logs in a separate dir 2013-10-08 17:40:27 -07:00
filename.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
log_format.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
log_reader.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
log_reader.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
log_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
log_writer.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
log_writer.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
memtable.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
memtable.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
memtablelist.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
memtablelist.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
merge_helper.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
merge_helper.h Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
merge_operator.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
merge_test.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
perf_context_test.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
prefix_filter_iterator.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
repair.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
skiplist_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
skiplist.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
snapshot.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
table_cache.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
table_cache.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
transaction_log_impl.cc Add option for storing transaction logs in a separate dir 2013-10-08 17:40:27 -07:00
transaction_log_impl.h Add option for storing transaction logs in a separate dir 2013-10-08 17:40:27 -07:00
version_edit_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
version_edit.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
version_edit.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
version_set_reduce_num_levels.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
version_set_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
version_set.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
version_set.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
write_batch_internal.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
write_batch_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
write_batch.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00