class

RocksDB::Options

Inherits Reference < Object

Constructors

Instance methods

access_hint_on_compaction_start=(value : Int)
Source
advise_random_on_open=(value : Bool)
Source
allow_concurrent_memtable_write=(value : Bool)
Source
allow_ingest_behind=(value : Bool)
Source
allow_mmap_reads=(value : Bool)
Source
allow_mmap_writes=(value : Bool)
Source
arena_block_size=(x1 : LibC::SizeT)
Source
avoid_unnecessary_blocking_io=(value : Bool)
Source
base_background_compactions=(value : Int)
Source
block_based_table_factory=(table_options : BlockBasedTableOptions)
Source
bloom_locality=(value : UInt32)
Source
bytes_per_sync=(value : UInt64)
Source
compaction_filter=(filter : CompactionFilter)
Source
compaction_filter_factory=(filter_factory : CompactionFilterFactory)
Source
compaction_readahead_size(size : LibC::SizeT)
Source
compaction_style=(value : Int)
Source
comparator=(comparator : Comparator)
Source
compression=(value : Int)
Source
create_if_missing=(value : Bool)
Source
create_missing_column_families=(value : Bool)
Source
cuckoo_table_factory=(table_options : CuckooTableOptions)
Source
db_log_dir=(dir : String)
Source
db_write_buffer_size=(db_write_buffer_size : LibC::SizeT)
Source
delete_obsolete_files_period_micros=(value : UInt64)
Source
disable_auto_compactions=(value : Int)
Source
enable_pipelined_write=(value : Bool)
Source
enable_statistics
Source
enable_write_thread_adaptive_yield=(value : Bool)
Source
env=(env : Env)
Source
error_if_exists=(value : Bool)
Source
fifo_compaction_options=(fifo_compaction_options : FifoCompactionOptions)
Source
finalize
Source
hard_pending_compaction_bytes_limit=(value : LibC::SizeT)
Source
hard_rate_limit=(value : Float64)
Source
increase_parallelism(total_threads : Int = 16)
Source
info_log=(logger : Logger)
Source
info_log_level=(log_level : Int)
Source
inplace_update_num_locks=(value : LibC::SizeT)
Source
inplace_update_support=(value : Bool)
Source
is_fd_close_on_exec=(value : Bool)
Source
keep_log_file_num=(value : LibC::SizeT)
Source
level0_file_num_compaction_trigger=(value : Int)
Source
level0_slowdown_writes_trigger=(value : Int)
Source
level0_stop_writes_trigger=(value : Int)
Source
level_compaction_dynamic_level_bytes=(value : Bool)
Source
log_file_time_to_roll=(value : LibC::SizeT)
Source
manifest_preallocation_size=(value : LibC::SizeT)
Source
max_background_compactions=(value : Int)
Source
max_background_flushes=(value : Int)
Source
max_background_jobs=(value : Int)
Source
max_bytes_for_level_base=(max_bytes_for_level_base : UInt64)
Source
max_bytes_for_level_multiplier=(multiplier : Float64)
Source
max_compaction_bytes=(value : UInt64)
Source
max_file_opening_threads=(max_file_opening_threads : Int)
Source
max_log_file_size=(value : LibC::SizeT)
Source
max_manifest_file_size=(value : LibC::SizeT)
Source
max_mem_compaction_level=(value : Int)
Source
max_open_files=(max_open_files : LibC::Int)
Source
max_sequential_skip_in_iterations=(value : UInt64)
Source
max_subcompactions=(value : UInt32)
Source
max_successive_merges=(value : LibC::SizeT)
Source
max_total_wal_size=(max_total_wal_size : UInt64)
Source
max_write_buffer_number=(value : Int)
Source
max_write_buffer_number_to_maintain=(value : Int)
Source
max_write_buffer_size_to_maintain=(value : Int64)
Source
memtable_huge_page_size=(value : LibC::SizeT)
Source
memtable_prefix_bloom_size_ratio=(value : Float64)
Source
merge_operator=(merge_operator : MergeOperator)
Source
min_level_to_compress=(level : Int)
Source
min_write_buffer_number_to_merge=(value : Int)
Source
num_levels=(num_levels : LibC::Int)
Source
optimize_filters_for_hits=(value : Int)
Source
optimize_for_point_lookup(block_cache_size_mb : UInt64)
Source
optimize_level_style_compaction(memtable_memory_budget : UInt64)
Source
optimize_universal_style_compaction(memtable_memory_budget : UInt64)
Source
paranoid_checks=(value : Bool)
Source
prefix_extractor=(slice_transform : SliceTransform)
Source
prepare_for_bulk_load
Source
purge_redundant_kvs_while_flush=(value : Bool)
Source
rate_limit_delay_max_milliseconds=(value : UInt32)
Source
ratelimiter=(limiter : RateLimiter)
Source
recycle_log_file_num=(value : LibC::SizeT)
Source
report_bg_io_stats=(value : Int)
Source
set_compression_options(w_bits : Int, level : Int, strategy : Int, max_dict_bytes : Int)
Source
set_memtable_vector_rep
Source
set_uint64add_merge_operator
Source
skip_log_error_on_recovery=(value : Bool)
Source
skip_stats_update_on_db_open=(val : UInt8)
Source
snap_refresh_nanos=(value : UInt64)
Source
soft_pending_compaction_bytes_limit=(value : LibC::SizeT)
Source
soft_rate_limit=(value : Float64)
Source
statistics_get_string
Source
stats_dump_period_sec=(value : LibC::UInt)
Source
table_cache_numshardbits=(value : Int)
Source
table_cache_remove_scan_count_limit=(value : Int)
Source
target_file_size_base=(target_file_size_base : UInt64)
Source
target_file_size_multiplier=(value : Int)
Source
to_unsafe
Source
universal_compaction_options=(universal_compaction_options : UniversalCompactionOptions)
Source
unordered_write=(value : Bool)
Source
use_adaptive_mutex=(value : Bool)
Source
use_direct_io_for_flush_and_compaction=(value : Bool)
Source
use_direct_reads=(value : Bool)
Source
use_fsync=(value : Int)
Source
wal_bytes_per_sync=(value : UInt64)
Source
wal_dir=(dir : String)
Source
wal_recovery_mode=(value : Int)
Source
wal_size_limit_mb=(value : UInt64)
Source
wal_ttl_seconds=(value : UInt64)
Source
writable_file_max_buffer_size=(value : UInt64)
Source
write_buffer_size=(write_buffer_size : LibC::SizeT)
Source