Skip to main content

Stats

Struct Stats 

Source
pub struct Stats {
Show 21 fields pub resident_owned_bytes: u64, pub snapshot_bytes: u64, pub mapped_bytes: u64, pub mapped_resident_bytes: u64, pub segment_bytes: u64, pub active_segment_bytes: u64, pub retired_active_segment_bytes: u64, pub active_row_count: u64, pub tombstone_count: u64, pub tombstone_bytes: u64, pub wal_bytes: u64, pub cache_bytes: u64, pub temporary_bytes: u64, pub query_pool_bytes: u64, pub native_graph_bytes: u64, pub open_files: u64, pub active_queries: u64, pub active_snapshot_leases: u64, pub phys_footprint: Option<u64>, pub scans_by_reason: [u64; 7], pub graph_segments_served: u64,
}
Expand description

One point-in-time snapshot of resources owned by an open Store.

Fields§

§resident_owned_bytes: u64

Exact bytes in engine-owned anonymous allocation arenas and vectors.

§snapshot_bytes: u64

Exact bytes retained by published snapshot metadata and decoded views.

§mapped_bytes: u64

Exact byte length of the store’s live read-only mappings.

§mapped_resident_bytes: u64

Bytes in resident mapped pages, counted by mincore.

§segment_bytes: u64

Exact bytes in immutable segment mappings.

§active_segment_bytes: u64

Exact allocation capacity held by the currently published in-RAM active segment.

§retired_active_segment_bytes: u64

Exact allocation capacity held by retired active generations that are still pinned by admitted queries.

§active_row_count: u64

Exact number of rows currently represented by the in-RAM active segment.

§tombstone_count: u64

Exact number of in-memory active-segment tombstones.

§tombstone_bytes: u64

Exact bytes owned by active-segment tombstones.

§wal_bytes: u64

Exact bytes retained by the store’s in-memory WAL component. This is zero while Store has no WAL writer component.

§cache_bytes: u64

Exact bytes owned by reusable per-segment graph-search scratch caches.

§temporary_bytes: u64

Exact bytes in live, explicitly accounted temporary allocations.

§query_pool_bytes: u64

Exact capacity in bytes of the persistent query pool’s worker registry.

§native_graph_bytes: u64

Exact capacity in bytes of the native graph publication’s store-lifetime lease, mapping, preparation, and spill registries. This is zero while Store has no native graph publication.

§open_files: u64

Exact number of file descriptors retained by this store handle.

§active_queries: u64

Exact number of store-admitted queries that have not yet returned.

§active_snapshot_leases: u64

Exact number of snapshot leases held outside the published snapshot slot.

§phys_footprint: Option<u64>

Darwin’s TASK_VM_INFO physical-footprint kernel counter, or None on platforms where that counter does not exist.

§scans_by_reason: [u64; 7]

Monotonic count of successfully executed scan plans by typed reason.

§graph_segments_served: u64

Monotonic count of segment plans served by graph traversal.

Trait Implementations§

Source§

impl Clone for Stats

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Stats

Source§

impl Debug for Stats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Stats

Source§

impl PartialEq for Stats

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Stats

Auto Trait Implementations§

§

impl Freeze for Stats

§

impl RefUnwindSafe for Stats

§

impl Send for Stats

§

impl Sync for Stats

§

impl Unpin for Stats

§

impl UnsafeUnpin for Stats

§

impl UnwindSafe for Stats

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.