pub struct CompactionStats {
pub total_compactions: u64,
pub total_ssts_merged: u64,
pub total_ssts_created: u64,
pub total_bytes_read: u64,
pub total_bytes_written: u64,
pub total_bytes_reclaimed: u64,
pub total_records_deduplicated: u64,
pub total_tombstones_removed: u64,
pub active_compactions: u64,
}Expand description
Statistics about compaction operations
Fields§
§total_compactions: u64Total number of compactions performed
total_ssts_merged: u64Total number of SSTs merged
total_ssts_created: u64Total number of SSTs created
total_bytes_read: u64Total bytes read during compaction
total_bytes_written: u64Total bytes written during compaction
total_bytes_reclaimed: u64Total bytes reclaimed (deleted records)
total_records_deduplicated: u64Total number of records deduplicated
total_tombstones_removed: u64Total number of tombstones removed
active_compactions: u64Number of currently active compactions
Trait Implementations§
Source§impl Clone for CompactionStats
impl Clone for CompactionStats
Source§fn clone(&self) -> CompactionStats
fn clone(&self) -> CompactionStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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 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