pub struct Options {
pub threads: usize,
pub read_threads: usize,
pub db_path: Option<PathBuf>,
pub mem_size_limit_tables: usize,
pub mem_lz4: bool,
pub readahead: usize,
pub seq_disk_read: bool,
pub max_wal_size_bytes: u64,
pub max_partition_size_bytes: u64,
pub partition_combine_factor: u64,
pub batch_size: usize,
pub max_partition_length: usize,
}
Fields§
§threads: usize
§read_threads: usize
§db_path: Option<PathBuf>
§mem_size_limit_tables: usize
§mem_lz4: bool
§readahead: usize
§seq_disk_read: bool
§max_wal_size_bytes: u64
Maximum size of WAL in bytes before triggering compaction
max_partition_size_bytes: u64
Maximum size of partition
partition_combine_factor: u64
Combine partitions when the size of every original partition is less than this factor of the combined partition size
batch_size: usize
Maximum length of temporary buffer used in streaming stages during query execution
max_partition_length: usize
Maximum number of rows in a partitions. Not implemented.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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