pub struct MergeStats {
pub input_files: usize,
pub output_partitions: u64,
pub output_rows: u64,
pub bytes_written: u64,
pub elapsed: Duration,
pub dropped_whole: Vec<PathBuf>,
}Expand description
Statistics collected during merge
Fields§
§input_files: usizeNumber of input files
output_partitions: u64Number of output partitions
output_rows: u64Number of output rows
bytes_written: u64Bytes written to output
elapsed: DurationElapsed time
dropped_whole: Vec<PathBuf>SSTables DROPPED WHOLE by the fully-expired fast path (issue #1388),
distinct from the merged inputs: each of these was proven fully expired by
authoritative Statistics.db metadata (max_deletion_time < gcBefore) and
overlap-safe, so it was EXCLUDED from the K-way merger’s input list (never
read/decoded) and its components are reclaimed after the output publishes.
Empty for a compaction that drops nothing (byte-identical to pre-#1388
behavior). Paths are input Data.db paths.
Trait Implementations§
Source§impl Clone for MergeStats
impl Clone for MergeStats
Source§fn clone(&self) -> MergeStats
fn clone(&self) -> MergeStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MergeStats
impl RefUnwindSafe for MergeStats
impl Send for MergeStats
impl Sync for MergeStats
impl Unpin for MergeStats
impl UnsafeUnpin for MergeStats
impl UnwindSafe for MergeStats
Blanket Implementations§
impl<T> Allocation for T
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