pub struct LsmStats {
pub total_inserts: u64,
pub total_deletes: u64,
pub total_compactions: u64,
pub num_levels: usize,
pub level_sizes: Vec<usize>,
pub tombstone_count: usize,
}Expand description
Statistics for the LSM index.
Fields§
§total_inserts: u64Total vectors inserted.
total_deletes: u64Total deletes.
total_compactions: u64Total compactions.
num_levels: usizeNumber of levels.
level_sizes: Vec<usize>Vectors per level.
tombstone_count: usizeActive tombstones.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LsmStats
impl RefUnwindSafe for LsmStats
impl Send for LsmStats
impl Sync for LsmStats
impl Unpin for LsmStats
impl UnsafeUnpin for LsmStats
impl UnwindSafe for LsmStats
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