class RocksDB::Options

Defined in:

rocksdb/options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def access_hint_on_compaction_start=(value : Int) #

[View source]
def advise_random_on_open=(value : Bool) #

[View source]
def allow_concurrent_memtable_write=(value : Bool) #

[View source]
def allow_ingest_behind=(value : Bool) #

[View source]
def allow_mmap_reads=(value : Bool) #

[View source]
def allow_mmap_writes=(value : Bool) #

[View source]
def arena_block_size=(x1 : LibC::SizeT) #

[View source]
def avoid_unnecessary_blocking_io=(value : Bool) #

[View source]
def base_background_compactions=(value : Int) #

[View source]
def block_based_table_factory=(table_options : BlockBasedTableOptions) #

[View source]
def bloom_locality=(value : UInt32) #

[View source]
def bytes_per_sync=(value : UInt64) #

[View source]
def compaction_filter=(filter : CompactionFilter) #

[View source]
def compaction_filter_factory=(filter_factory : CompactionFilterFactory) #

[View source]
def compaction_readahead_size(size : LibC::SizeT) #

[View source]
def compaction_style=(value : Int) #

[View source]
def comparator=(comparator : Comparator) #

[View source]
def compression=(value : Int) #

[View source]
def create_if_missing=(value : Bool) #

[View source]
def create_missing_column_families=(value : Bool) #

[View source]
def cuckoo_table_factory=(table_options : CuckooTableOptions) #

[View source]
def db_log_dir=(dir : String) #

[View source]
def db_write_buffer_size=(db_write_buffer_size : LibC::SizeT) #

[View source]
def delete_obsolete_files_period_micros=(value : UInt64) #

[View source]
def disable_auto_compactions=(value : Int) #

[View source]
def enable_pipelined_write=(value : Bool) #

[View source]
def enable_statistics #

[View source]
def enable_write_thread_adaptive_yield=(value : Bool) #

[View source]
def env=(env : Env) #

[View source]
def error_if_exists=(value : Bool) #

[View source]
def fifo_compaction_options=(fifo_compaction_options : FifoCompactionOptions) #

[View source]
def finalize #

[View source]
def hard_pending_compaction_bytes_limit=(value : LibC::SizeT) #

[View source]
def hard_rate_limit=(value : Float64) #

[View source]
def hash_link_list_rep=(value : LibC::SizeT) #

[View source]
def increase_parallelism(total_threads : Int = 16) #

[View source]
def info_log=(logger : Logger) #

[View source]
def info_log_level=(log_level : Int) #

[View source]
def inplace_update_num_locks=(value : LibC::SizeT) #

[View source]
def inplace_update_support=(value : Bool) #

[View source]
def is_fd_close_on_exec=(value : Bool) #

[View source]
def keep_log_file_num=(value : LibC::SizeT) #

[View source]
def level0_file_num_compaction_trigger=(value : Int) #

[View source]
def level0_slowdown_writes_trigger=(value : Int) #

[View source]
def level0_stop_writes_trigger=(value : Int) #

[View source]
def level_compaction_dynamic_level_bytes=(value : Bool) #

[View source]
def log_file_time_to_roll=(value : LibC::SizeT) #

[View source]
def manifest_preallocation_size=(value : LibC::SizeT) #

[View source]
def max_background_compactions=(value : Int) #

[View source]
def max_background_flushes=(value : Int) #

[View source]
def max_background_jobs=(value : Int) #

[View source]
def max_bytes_for_level_base=(max_bytes_for_level_base : UInt64) #

[View source]
def max_bytes_for_level_multiplier=(multiplier : Float64) #

[View source]
def max_compaction_bytes=(value : UInt64) #

[View source]
def max_file_opening_threads=(max_file_opening_threads : Int) #

[View source]
def max_log_file_size=(value : LibC::SizeT) #

[View source]
def max_manifest_file_size=(value : LibC::SizeT) #

[View source]
def max_mem_compaction_level=(value : Int) #

[View source]
def max_open_files=(max_open_files : LibC::Int) #

[View source]
def max_sequential_skip_in_iterations=(value : UInt64) #

[View source]
def max_subcompactions=(value : UInt32) #

[View source]
def max_successive_merges=(value : LibC::SizeT) #

[View source]
def max_total_wal_size=(max_total_wal_size : UInt64) #

[View source]
def max_write_buffer_number=(value : Int) #

[View source]
def max_write_buffer_number_to_maintain=(value : Int) #

[View source]
def max_write_buffer_size_to_maintain=(value : Int64) #

[View source]
def memtable_huge_page_size=(value : LibC::SizeT) #

[View source]
def memtable_prefix_bloom_size_ratio=(value : Float64) #

[View source]
def merge_operator=(merge_operator : MergeOperator) #

[View source]
def min_level_to_compress=(level : Int) #

[View source]
def min_write_buffer_number_to_merge=(value : Int) #

[View source]
def num_levels=(num_levels : LibC::Int) #

[View source]
def optimize_filters_for_hits=(value : Int) #

[View source]
def optimize_for_point_lookup(block_cache_size_mb : UInt64) #

[View source]
def optimize_level_style_compaction(memtable_memory_budget : UInt64) #

[View source]
def optimize_universal_style_compaction(memtable_memory_budget : UInt64) #

[View source]
def paranoid_checks=(value : Bool) #

[View source]
def prefix_extractor=(slice_transform : SliceTransform) #

[View source]
def prepare_for_bulk_load #

[View source]
def purge_redundant_kvs_while_flush=(value : Bool) #

[View source]
def rate_limit_delay_max_milliseconds=(value : UInt32) #

[View source]
def ratelimiter=(limiter : RateLimiter) #

[View source]
def recycle_log_file_num=(value : LibC::SizeT) #

[View source]
def report_bg_io_stats=(value : Int) #

[View source]
def set_compression_options(w_bits : Int, level : Int, strategy : Int, max_dict_bytes : Int) #

[View source]
def set_memtable_vector_rep #

[View source]
def set_uint64add_merge_operator #

[View source]
def skip_log_error_on_recovery=(value : Bool) #

[View source]
def skip_stats_update_on_db_open=(val : UInt8) #

[View source]
def snap_refresh_nanos=(value : UInt64) #

[View source]
def soft_pending_compaction_bytes_limit=(value : LibC::SizeT) #

[View source]
def soft_rate_limit=(value : Float64) #

[View source]
def statistics_get_string #

[View source]
def stats_dump_period_sec=(value : LibC::UInt) #

[View source]
def table_cache_numshardbits=(value : Int) #

[View source]
def table_cache_remove_scan_count_limit=(value : Int) #

[View source]
def target_file_size_base=(target_file_size_base : UInt64) #

[View source]
def target_file_size_multiplier=(value : Int) #

[View source]
def to_unsafe : Pointer(LibRocksDB::Options) #

[View source]
def universal_compaction_options=(universal_compaction_options : UniversalCompactionOptions) #

[View source]
def unordered_write=(value : Bool) #

[View source]
def use_adaptive_mutex=(value : Bool) #

[View source]
def use_direct_io_for_flush_and_compaction=(value : Bool) #

[View source]
def use_direct_reads=(value : Bool) #

[View source]
def use_fsync=(value : Int) #

[View source]
def wal_bytes_per_sync=(value : UInt64) #

[View source]
def wal_dir=(dir : String) #

[View source]
def wal_recovery_mode=(value : Int) #

[View source]
def wal_size_limit_mb=(value : UInt64) #

[View source]
def wal_ttl_seconds=(value : UInt64) #

[View source]
def writable_file_max_buffer_size=(value : UInt64) #

[View source]
def write_buffer_size=(write_buffer_size : LibC::SizeT) #

[View source]