pub struct LevelFilterStats {
pub level: u32,
pub tables: usize,
pub filters: FilterStats,
pub filter_resident_bytes: u64,
}Expand description
Per-level aggregation of table filter counters.
Filter counters are recorded per table; this rolls them up by LSM level so
layered (Monkey-style) filter allocation can see where false positives
actually concentrate before any per-level bits_per_key change.
Fields§
§level: u32LSM level these filter counters belong to.
tables: usizeNumber of table files on this level that contributed counters.
filters: FilterStatsTable and block filter counters summed over this level’s tables.
filter_resident_bytes: u64Resident Bloom filter bytes held in memory for this level’s tables (table-level plus resident data-block filters). This is the layered (Monkey-style) allocation memory metric; deeper levels with a lower per-key budget hold fewer filter bytes per key.
Trait Implementations§
Source§impl Clone for LevelFilterStats
impl Clone for LevelFilterStats
Source§fn clone(&self) -> LevelFilterStats
fn clone(&self) -> LevelFilterStats
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 moreimpl Copy for LevelFilterStats
Source§impl Debug for LevelFilterStats
impl Debug for LevelFilterStats
Source§impl Default for LevelFilterStats
impl Default for LevelFilterStats
Source§fn default() -> LevelFilterStats
fn default() -> LevelFilterStats
Returns the “default value” for a type. Read more
impl Eq for LevelFilterStats
Source§impl PartialEq for LevelFilterStats
impl PartialEq for LevelFilterStats
impl StructuralPartialEq for LevelFilterStats
Auto Trait Implementations§
impl Freeze for LevelFilterStats
impl RefUnwindSafe for LevelFilterStats
impl Send for LevelFilterStats
impl Sync for LevelFilterStats
impl Unpin for LevelFilterStats
impl UnsafeUnpin for LevelFilterStats
impl UnwindSafe for LevelFilterStats
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