Struct kvdb_rocksdb::CompactionProfile[][src]

pub struct CompactionProfile {
    pub initial_file_size: u64,
    pub block_size: usize,
    pub write_rate_limit: Option<u64>,
}

Compaction profile for the database settings

Fields

L0-L1 target file size

block size

rate limiter for background flushes and compactions, bytes/sec, if any

Methods

impl CompactionProfile
[src]

Attempt to determine the best profile automatically, only Linux for now.

Default profile suitable for SSD storage

Slow HDD compaction profile

Trait Implementations

impl Clone for CompactionProfile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for CompactionProfile
[src]

impl PartialEq for CompactionProfile
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for CompactionProfile
[src]

Formats the value using the given formatter. Read more

impl Default for CompactionProfile
[src]

Default profile suitable for most storage

Auto Trait Implementations