goleveldb
goleveldb copied to clipboard
Bulk Load Config?
I'm looking for something similar to RocksDB's PrepareForBulkLoad
( https://github.com/facebook/rocksdb/blob/19ec44fd392beff927cacbd3a976415edb3d27e9/options/options.cc#L367 ) which sets all the options to write without doing much organization or compaction, and then you are expects to call CompactRange
yourself afterwards. What would be the best set of values to load into Options
to cause that kind of behavior?
Transaction may be what you looking for. It skips journaling and writes directly into sstable, and those table will not committed (hence no organization or compaction being done on it) until you call Commit.