pub struct CompactionStats {
pub cohorts_collected: u64,
pub segments_removed: u64,
pub segments_written: u64,
pub bytes_written: u64,
pub live_records_relocated: u64,
}Expand description
Aggregated statistics for a completed compaction run.
Fields§
§cohorts_collected: u64Number of cohorts whose segments were collected and rewritten.
segments_removed: u64Number of old segments removed from the manifest.
segments_written: u64Number of new segments written as compaction output.
bytes_written: u64Total bytes written to new segments.
live_records_relocated: u64Number of live records relocated into the new segments.
Trait Implementations§
Source§impl Debug for CompactionStats
impl Debug for CompactionStats
Source§impl Default for CompactionStats
impl Default for CompactionStats
Source§fn default() -> CompactionStats
fn default() -> CompactionStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompactionStats
impl RefUnwindSafe for CompactionStats
impl Send for CompactionStats
impl Sync for CompactionStats
impl Unpin for CompactionStats
impl UnsafeUnpin for CompactionStats
impl UnwindSafe for CompactionStats
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