pub struct StackStats {
pub sealed_rows: u64,
pub total_rows: u64,
pub tail_hits: u64,
pub absent: u64,
pub unabsorbed_rows: u64,
pub tail_txns: u64,
pub tail_bytes: u64,
pub rebuilds: u64,
pub generation: u64,
}Expand description
A snapshot of the stack’s counters. Everything here is applied output — rows that exist, lookups that happened — not configuration echoed back.
Fields§
§sealed_rows: u64Objects in the Arrow/stree projection.
total_rows: u64Objects in the repository. Always ≥ sealed_rows; the difference is the
un-absorbed tail.
tail_hits: u64Lookups the stree missed and redb answered, since the last rebuild.
absent: u64Lookups nothing answered — the object is not in this repository. Never drives the trigger.
unabsorbed_rows: u64Rows the projection does not cover yet. Zero means the projection is the truth, which is what lets a miss be answered without a redb round trip at all.
tail_txns: u64redb read transactions opened by the read path since the last rebuild. The number that shows whether the completeness fast path is actually being taken; there is no other way to see it from outside.
tail_bytes: u64Object bytes appended since the last rebuild.
rebuilds: u64Projections built over this stack’s lifetime, including the one at open.
generation: u64Bumped by every rebuild. An IndexRow::ordinal is only meaningful
within one generation.
Trait Implementations§
Source§impl Clone for StackStats
impl Clone for StackStats
Source§fn clone(&self) -> StackStats
fn clone(&self) -> StackStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for StackStats
Source§impl Debug for StackStats
impl Debug for StackStats
Source§impl Default for StackStats
impl Default for StackStats
Source§fn default() -> StackStats
fn default() -> StackStats
impl Eq for StackStats
Source§impl PartialEq for StackStats
impl PartialEq for StackStats
impl StructuralPartialEq for StackStats
Auto Trait Implementations§
impl Freeze for StackStats
impl RefUnwindSafe for StackStats
impl Send for StackStats
impl Sync for StackStats
impl Unpin for StackStats
impl UnsafeUnpin for StackStats
impl UnwindSafe for StackStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.