Module config

Source
Expand description

This module handles converting mz_rocksdb_types into rocksdb types.

Modules§

defaults
The following are defaults (and default strings for LD parameters) for RocksDBTuningParameters.
proto_rocks_db_tuning_parameters
Nested message and enum types in ProtoRocksDbTuningParameters.

Structs§

ProtoRocksDbTuningParameters
The lowercase b is because prost lowercases it anyways if its capitalized :(
RocksDBConfig
Configurable options for a RocksDBInstance. Some can be updated dynamically, as cloned instances of this object will shared dynamic values.
RocksDBDynamicConfig
RocksDBTuningParameters
A set of parameters to tune RocksDB. This struct is plain-old-data, and is used to update RocksDBConfig, which contains some dynamic value for some parameters.
RocksDbWriteBufferManagerConfig
SharedWriteBufferManager
WriteBufferManagerHandle
A handle to the WriteBufferManager which will be dropped when the rocksdb thread is dropped.

Enums§

CompactionStyle
The 2 primary compaction styles in RocksDB. See RocksDBTuningParameters::compaction_style` for more information.
CompressionType
Mz-supported compression types in RocksDB. See RocksDBTuningParameters::compression_type` for more information.

Traits§

IntoRocksDBType 🔒
An Into we can implement on foreign types

Functions§

apply_to_options
Apply these tuning parameters to a rocksdb::Options. Some may be applied to a shared Env underlying the Options. If configured, then a write buffer manager will be initialized and a handle to it will be returned.
fmt_write_buffer_manager 🔒
get_write_buffer_manager 🔒
Getting write buffer manager based on configured values