parent
2a82fe4f75
commit
063683088d
@ -0,0 +1,166 @@ |
||||
use rocksdb::{ColumnFamily, DBPinnableSlice, DBRawIterator, Env, Error, Options, WriteBatch, DB}; |
||||
use std::env::temp_dir; |
||||
use std::io::{self, Result}; |
||||
use std::mem::transmute; |
||||
use std::path::Path; |
||||
use std::sync::Arc; |
||||
|
||||
#[derive(Clone)] |
||||
pub struct Db(Arc<DB>); |
||||
|
||||
impl Db { |
||||
pub fn new(column_families: &[&str]) -> Result<Self> { |
||||
//TODO: temp dir should not be useful
|
||||
let temp_dir = if cfg!(target_os = "linux") { |
||||
"/dev/shm/oxigraph-rocksdb".into() |
||||
} else { |
||||
temp_dir().join("oxigraph-rocksdb-in-memory") |
||||
}; |
||||
Ok(Self(Arc::new(Self::do_open( |
||||
&temp_dir, |
||||
column_families, |
||||
true, |
||||
)?))) |
||||
} |
||||
|
||||
pub fn open(path: &Path, column_families: &[&str]) -> Result<Self> { |
||||
Ok(Self(Arc::new(Self::do_open(path, column_families, false)?))) |
||||
} |
||||
|
||||
fn do_open(path: &Path, column_families: &[&str], mem_env: bool) -> Result<DB> { |
||||
let mut options = Options::default(); |
||||
options.create_if_missing(true); |
||||
options.create_missing_column_families(true); |
||||
if mem_env { |
||||
options.set_env(&Env::mem_env().map_err(map_err)?); |
||||
} |
||||
DB::open_cf(&options, path, column_families).map_err(map_err) |
||||
} |
||||
|
||||
pub fn open_tree(&self, name: &'static str) -> Tree { |
||||
Tree { |
||||
db: self.0.clone(), |
||||
cf_name: name, |
||||
} |
||||
} |
||||
|
||||
pub fn flush(&self) -> Result<()> { |
||||
self.0.flush().map_err(map_err) |
||||
} |
||||
|
||||
pub fn get(&self, key: &[u8]) -> Result<Option<DBPinnableSlice<'_>>> { |
||||
self.0.get_pinned(key).map_err(map_err) |
||||
} |
||||
|
||||
pub fn insert(&self, key: &[u8], value: &[u8]) -> Result<()> { |
||||
self.0.put(key, value).map_err(map_err) |
||||
} |
||||
} |
||||
|
||||
#[derive(Clone)] |
||||
pub struct Tree { |
||||
db: Arc<DB>, |
||||
cf_name: &'static str, |
||||
} |
||||
|
||||
impl Tree { |
||||
pub fn get(&self, key: &[u8]) -> Result<Option<DBPinnableSlice<'_>>> { |
||||
self.db.get_pinned_cf(self.get_cf(), key).map_err(map_err) |
||||
} |
||||
|
||||
pub fn contains_key(&self, key: &[u8]) -> Result<bool> { |
||||
Ok(self.get(key)?.is_some()) //TODO: optimize
|
||||
} |
||||
|
||||
pub fn insert(&self, key: &[u8], value: &[u8]) -> Result<()> { |
||||
self.db.put_cf(self.get_cf(), key, value).map_err(map_err) |
||||
} |
||||
|
||||
pub fn insert_empty(&self, key: &[u8]) -> Result<()> { |
||||
self.insert(key, &[]) |
||||
} |
||||
|
||||
pub fn remove(&self, key: &[u8]) -> Result<()> { |
||||
self.db.delete_cf(self.get_cf(), key).map_err(map_err) |
||||
} |
||||
|
||||
pub fn clear(&self) -> Result<()> { |
||||
let mut batch = WriteBatch::default(); |
||||
batch.delete_range_cf(self.get_cf(), [].as_ref(), [u8::MAX; 257].as_ref()); |
||||
self.db.write(batch).map_err(map_err) |
||||
} |
||||
|
||||
pub fn iter(&self) -> Iter { |
||||
self.scan_prefix(&[]) |
||||
} |
||||
|
||||
#[allow(unsafe_code)] |
||||
pub fn scan_prefix(&self, prefix: &[u8]) -> Iter { |
||||
let mut iter = self.db.raw_iterator_cf(self.get_cf()); |
||||
iter.seek(&prefix); |
||||
// Safe because we clone the same DB from which we take an iterator
|
||||
unsafe { Iter::new(iter, self.db.clone(), prefix.into()) } |
||||
} |
||||
|
||||
pub fn len(&self) -> usize { |
||||
let mut count = 0; |
||||
let mut iter = self.iter(); |
||||
while iter.is_valid() { |
||||
count += 1; |
||||
iter.next(); |
||||
} |
||||
count |
||||
} |
||||
|
||||
pub fn is_empty(&self) -> bool { |
||||
self.iter().key().is_none() |
||||
} |
||||
|
||||
#[allow(clippy::expect_used)] |
||||
fn get_cf(&self) -> &ColumnFamily { |
||||
self.db |
||||
.cf_handle(self.cf_name) |
||||
.expect("A column family that should exist in RocksDB does not exist") |
||||
} |
||||
} |
||||
|
||||
pub struct Iter { |
||||
iter: DBRawIterator<'static>, |
||||
prefix: Vec<u8>, |
||||
_db: Arc<DB>, // needed to ensure that DB still lives while iter is used
|
||||
} |
||||
|
||||
impl Iter { |
||||
/// Creates a static iterator from a non static one by keeping a ARC reference to the database
|
||||
/// Caller must ensure that the iterator belongs to the same database
|
||||
///
|
||||
/// This unsafe method is required to get static iterators and ease the usage of the library.
|
||||
#[allow(unsafe_code, clippy::useless_transmute)] |
||||
unsafe fn new(iter: DBRawIterator<'_>, db: Arc<DB>, prefix: Vec<u8>) -> Self { |
||||
Self { |
||||
iter: transmute(iter), |
||||
prefix, |
||||
_db: db, |
||||
} |
||||
} |
||||
|
||||
pub fn is_valid(&self) -> bool { |
||||
self.iter.valid() |
||||
} |
||||
|
||||
pub fn key(&self) -> Option<&[u8]> { |
||||
self.iter.key().filter(|k| k.starts_with(&self.prefix)) |
||||
} |
||||
|
||||
pub fn value(&self) -> Option<&[u8]> { |
||||
self.iter.value() |
||||
} |
||||
|
||||
pub fn next(&mut self) { |
||||
self.iter.next() |
||||
} |
||||
} |
||||
|
||||
fn map_err(e: Error) -> io::Error { |
||||
io::Error::new(io::ErrorKind::Other, e) |
||||
} |
@ -1,113 +0,0 @@ |
||||
use std::io::Result; |
||||
use std::path::Path; |
||||
|
||||
#[derive(Clone)] |
||||
pub struct Db(sled::Db); |
||||
|
||||
impl Db { |
||||
pub fn new() -> Result<Self> { |
||||
Ok(Self(sled::Config::new().temporary(true).open()?)) |
||||
} |
||||
|
||||
pub fn open(path: &Path) -> Result<Self> { |
||||
Ok(Self(sled::Config::new().path(path).open()?)) |
||||
} |
||||
|
||||
pub fn open_tree(&self, name: &'static str) -> Result<Tree> { |
||||
Ok(Tree(self.0.open_tree(name)?)) |
||||
} |
||||
|
||||
pub fn flush(&self) -> Result<()> { |
||||
self.0.flush()?; |
||||
Ok(()) |
||||
} |
||||
|
||||
pub async fn flush_async(&self) -> Result<()> { |
||||
self.0.flush_async().await?; |
||||
Ok(()) |
||||
} |
||||
|
||||
pub fn get(&self, key: &[u8]) -> Result<Option<sled::IVec>> { |
||||
Ok(self.0.get(key)?) |
||||
} |
||||
|
||||
pub fn insert(&self, key: &[u8], value: impl Into<sled::IVec>) -> Result<bool> { |
||||
Ok(self.0.insert(key, value)?.is_none()) |
||||
} |
||||
} |
||||
|
||||
#[derive(Clone)] |
||||
pub struct Tree(sled::Tree); |
||||
|
||||
impl Tree { |
||||
pub fn get(&self, key: &[u8]) -> Result<Option<sled::IVec>> { |
||||
Ok(self.0.get(key)?) |
||||
} |
||||
|
||||
pub fn contains_key(&self, key: &[u8]) -> Result<bool> { |
||||
Ok(self.0.contains_key(key)?) |
||||
} |
||||
|
||||
pub fn insert(&self, key: &[u8], value: impl Into<sled::IVec>) -> Result<bool> { |
||||
Ok(self.0.insert(key, value)?.is_none()) |
||||
} |
||||
|
||||
pub fn insert_empty(&self, key: &[u8]) -> Result<bool> { |
||||
self.insert(key, &[]) |
||||
} |
||||
|
||||
pub fn merge(&self, key: &[u8], value: &[u8]) -> Result<()> { |
||||
self.0.merge(key, value)?; |
||||
Ok(()) |
||||
} |
||||
|
||||
pub fn remove(&self, key: &[u8]) -> Result<bool> { |
||||
Ok(self.0.remove(key)?.is_some()) |
||||
} |
||||
|
||||
pub fn update_and_fetch<V: Into<sled::IVec>>( |
||||
&self, |
||||
key: &[u8], |
||||
f: impl FnMut(Option<&[u8]>) -> Option<V>, |
||||
) -> Result<Option<sled::IVec>> { |
||||
Ok(self.0.update_and_fetch(key, f)?) |
||||
} |
||||
|
||||
pub fn clear(&self) -> Result<()> { |
||||
Ok(self.0.clear()?) |
||||
} |
||||
|
||||
pub fn iter(&self) -> sled::Iter { |
||||
self.0.iter() |
||||
} |
||||
|
||||
pub fn scan_prefix(&self, prefix: &[u8]) -> sled::Iter { |
||||
self.0.scan_prefix(prefix) |
||||
} |
||||
|
||||
pub fn len(&self) -> usize { |
||||
self.0.len() |
||||
} |
||||
|
||||
pub fn is_empty(&self) -> bool { |
||||
self.0.is_empty() |
||||
} |
||||
|
||||
pub fn flush(&self) -> Result<()> { |
||||
self.0.flush()?; |
||||
Ok(()) |
||||
} |
||||
|
||||
pub fn set_merge_operator( |
||||
&mut self, |
||||
merge_operator: impl Fn(&[u8], Option<&[u8]>, &[u8]) -> Option<Vec<u8>> + 'static, |
||||
) { |
||||
self.0.set_merge_operator(merge_operator) |
||||
} |
||||
|
||||
pub fn as_sled(&self) -> &sled::Tree { |
||||
&self.0 |
||||
} |
||||
} |
||||
|
||||
pub type Iter = sled::Iter; |
Binary file not shown.
@ -0,0 +1 @@ |
||||
MANIFEST-000004 |
@ -0,0 +1 @@ |
||||
f08a4c5b-0479-408c-80d3-7d4b10d7c7aa |
Binary file not shown.
@ -0,0 +1,964 @@ |
||||
# This is a RocksDB option file. |
||||
# |
||||
# For detailed file format spec, please refer to the example file |
||||
# in examples/rocksdb_option_file_example.ini |
||||
# |
||||
|
||||
[Version] |
||||
rocksdb_version=6.7.3 |
||||
options_file_version=1.1 |
||||
|
||||
[DBOptions] |
||||
write_dbid_to_manifest=false |
||||
avoid_unnecessary_blocking_io=false |
||||
two_write_queues=false |
||||
allow_ingest_behind=false |
||||
writable_file_max_buffer_size=1048576 |
||||
avoid_flush_during_shutdown=false |
||||
avoid_flush_during_recovery=false |
||||
info_log_level=INFO_LEVEL |
||||
access_hint_on_compaction_start=NORMAL |
||||
allow_concurrent_memtable_write=true |
||||
enable_pipelined_write=false |
||||
stats_dump_period_sec=600 |
||||
stats_persist_period_sec=600 |
||||
strict_bytes_per_sync=false |
||||
WAL_ttl_seconds=0 |
||||
WAL_size_limit_MB=0 |
||||
max_subcompactions=1 |
||||
dump_malloc_stats=false |
||||
db_log_dir= |
||||
wal_recovery_mode=kPointInTimeRecovery |
||||
log_file_time_to_roll=0 |
||||
enable_write_thread_adaptive_yield=true |
||||
recycle_log_file_num=0 |
||||
table_cache_numshardbits=6 |
||||
atomic_flush=false |
||||
preserve_deletes=false |
||||
stats_history_buffer_size=1048576 |
||||
max_open_files=-1 |
||||
max_file_opening_threads=16 |
||||
delete_obsolete_files_period_micros=21600000000 |
||||
max_background_flushes=-1 |
||||
write_thread_slow_yield_usec=3 |
||||
base_background_compactions=-1 |
||||
manual_wal_flush=false |
||||
wal_dir=tests/rockdb_bc_data |
||||
max_background_compactions=-1 |
||||
bytes_per_sync=0 |
||||
max_background_jobs=2 |
||||
use_fsync=false |
||||
unordered_write=false |
||||
fail_if_options_file_error=false |
||||
random_access_max_buffer_size=1048576 |
||||
compaction_readahead_size=0 |
||||
wal_bytes_per_sync=0 |
||||
new_table_reader_for_compaction_inputs=false |
||||
skip_stats_update_on_db_open=false |
||||
persist_stats_to_disk=false |
||||
skip_log_error_on_recovery=false |
||||
log_readahead_size=0 |
||||
is_fd_close_on_exec=true |
||||
use_adaptive_mutex=false |
||||
error_if_exists=false |
||||
write_thread_max_yield_usec=100 |
||||
enable_thread_tracking=false |
||||
db_write_buffer_size=0 |
||||
create_missing_column_families=true |
||||
paranoid_checks=true |
||||
create_if_missing=true |
||||
max_manifest_file_size=1073741824 |
||||
allow_2pc=false |
||||
max_total_wal_size=0 |
||||
use_direct_io_for_flush_and_compaction=false |
||||
manifest_preallocation_size=4194304 |
||||
use_direct_reads=false |
||||
delayed_write_rate=16777216 |
||||
allow_fallocate=true |
||||
max_write_batch_group_size_bytes=1048576 |
||||
keep_log_file_num=1000 |
||||
allow_mmap_reads=false |
||||
max_log_file_size=0 |
||||
allow_mmap_writes=false |
||||
advise_random_on_open=true |
||||
|
||||
|
||||
[CFOptions "default"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "default"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
||||
|
||||
[CFOptions "id2str"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "id2str"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
||||
|
||||
[CFOptions "spog"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "spog"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
||||
|
||||
[CFOptions "posg"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "posg"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
||||
|
||||
[CFOptions "ospg"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "ospg"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
||||
|
||||
[CFOptions "gspo"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "gspo"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
||||
|
||||
[CFOptions "gpos"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "gpos"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
||||
|
||||
[CFOptions "gosp"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "gosp"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
||||
|
||||
[CFOptions "dspo"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "dspo"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
||||
|
||||
[CFOptions "dpos"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "dpos"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
||||
|
||||
[CFOptions "dosp"] |
||||
sample_for_compression=0 |
||||
compaction_pri=kMinOverlappingRatio |
||||
merge_operator=nullptr |
||||
compaction_filter_factory=nullptr |
||||
memtable_factory=SkipListFactory |
||||
memtable_insert_with_hint_prefix_extractor=nullptr |
||||
comparator=leveldb.BytewiseComparator |
||||
target_file_size_base=67108864 |
||||
max_sequential_skip_in_iterations=8 |
||||
compaction_style=kCompactionStyleLevel |
||||
max_bytes_for_level_base=268435456 |
||||
bloom_locality=0 |
||||
write_buffer_size=67108864 |
||||
compression_per_level= |
||||
memtable_huge_page_size=0 |
||||
max_successive_merges=0 |
||||
arena_block_size=8388608 |
||||
memtable_whole_key_filtering=false |
||||
target_file_size_multiplier=1 |
||||
max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1 |
||||
num_levels=7 |
||||
min_write_buffer_number_to_merge=1 |
||||
max_write_buffer_number_to_maintain=0 |
||||
max_write_buffer_number=2 |
||||
compression=kSnappyCompression |
||||
level0_stop_writes_trigger=36 |
||||
level0_slowdown_writes_trigger=20 |
||||
compaction_filter=nullptr |
||||
level0_file_num_compaction_trigger=4 |
||||
max_compaction_bytes=1677721600 |
||||
compaction_options_universal={stop_style=kCompactionStopStyleTotalSize;compression_size_percent=-1;allow_trivial_move=false;max_merge_width=4294967295;max_size_amplification_percent=200;min_merge_width=2;size_ratio=1;} |
||||
memtable_prefix_bloom_size_ratio=0.000000 |
||||
max_write_buffer_size_to_maintain=0 |
||||
hard_pending_compaction_bytes_limit=274877906944 |
||||
ttl=2592000 |
||||
table_factory=BlockBasedTable |
||||
soft_pending_compaction_bytes_limit=68719476736 |
||||
prefix_extractor=nullptr |
||||
bottommost_compression=kDisableCompressionOption |
||||
force_consistency_checks=false |
||||
paranoid_file_checks=false |
||||
compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;} |
||||
max_bytes_for_level_multiplier=10.000000 |
||||
optimize_filters_for_hits=false |
||||
level_compaction_dynamic_level_bytes=false |
||||
inplace_update_num_locks=10000 |
||||
inplace_update_support=false |
||||
periodic_compaction_seconds=0 |
||||
disable_auto_compactions=false |
||||
report_bg_io_stats=false |
||||
|
||||
[TableOptions/BlockBasedTable "dosp"] |
||||
pin_top_level_index_and_filter=true |
||||
enable_index_compression=true |
||||
read_amp_bytes_per_bit=8589934592 |
||||
format_version=2 |
||||
block_align=false |
||||
metadata_block_size=4096 |
||||
block_size_deviation=10 |
||||
partition_filters=false |
||||
block_size=4096 |
||||
index_block_restart_interval=1 |
||||
no_block_cache=false |
||||
checksum=kCRC32c |
||||
whole_key_filtering=true |
||||
index_shortening=kShortenSeparators |
||||
data_block_index_type=kDataBlockBinarySearch |
||||
index_type=kBinarySearch |
||||
verify_compression=false |
||||
filter_policy=nullptr |
||||
data_block_hash_table_util_ratio=0.750000 |
||||
pin_l0_filter_and_index_blocks_in_cache=false |
||||
block_restart_interval=16 |
||||
cache_index_and_filter_blocks_with_high_priority=true |
||||
cache_index_and_filter_blocks=false |
||||
hash_index_allow_collision=true |
||||
flush_block_policy_factory=FlushBlockBySizePolicyFactory |
||||
|
Binary file not shown.
Loading…
Reference in new issue