pub struct RocksConfig {
pub db_options: Options,
pub write_pipeline: RocksWritePipelineConfig,
}Expand description
RocksDB engine and application-level write pipeline options used by RocksStore::open.
Fields§
§db_options: OptionsDatabase-wide options, applied as-is (stock defaults). Two knobs matter under sustained
ingest: max_background_jobs (stock RocksDB fixes it at 2, and compactions must keep
merging the overlapping ingested state SSTs) and max_open_files (stock RocksDB keeps
every touched table file open forever, and ingest creates one log and one state SST per
commit group).
write_pipeline: RocksWritePipelineConfigOptions for the application-level ingest write pipeline.
Trait Implementations§
Source§impl Default for RocksConfig
impl Default for RocksConfig
Source§fn default() -> RocksConfig
fn default() -> RocksConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RocksConfig
impl RefUnwindSafe for RocksConfig
impl Send for RocksConfig
impl Sync for RocksConfig
impl Unpin for RocksConfig
impl UnsafeUnpin for RocksConfig
impl UnwindSafe for RocksConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more