pub struct ColumnOptions {
pub block_size: u64,
pub memory_budget: u64,
pub read_chunk_size: u64,
pub share_identical_time: bool,
}Expand description
Tuning for to_column_oriented / to_column_oriented_with.
Fields§
§block_size: u64Target payload size of one data block, in bytes. Each block holds a
whole number of records; a signal larger than this is split into
several equally sized blocks written back to back and listed by a
##DL block. Default DEFAULT_BLOCK_SIZE (4 MiB).
memory_budget: u64Upper bound for the per-channel write buffers in bytes (each channel
gets memory_budget / channels_in_group, at least 4 KiB and at most
one block). Default DEFAULT_MEMORY_BUDGET (64 MiB).
Because of the 4 KiB floor, a data group with more than
memory_budget / 4096 channels uses more than memory_budget
(4 KiB per channel).
read_chunk_size: u64Size of each sequential read from the source. Default 4 MiB.
Merge time channels of different source groups when they hold exactly
the same raw timestamps (same layout, conversion and bytes), so all
their signals reference a single time group. Costs one extra read of
the candidate groups’ data. Default true.