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: u64Exact bytes in engine-owned anonymous allocation arenas and vectors.
snapshot_bytes: u64Exact bytes retained by published snapshot metadata and decoded views.
mapped_bytes: u64Exact byte length of the store’s live read-only mappings.
mapped_resident_bytes: u64Bytes in resident mapped pages, counted by mincore.
segment_bytes: u64Exact bytes in immutable segment mappings.
active_segment_bytes: u64Exact allocation capacity held by the currently published in-RAM active segment.
retired_active_segment_bytes: u64Exact allocation capacity held by retired active generations that are still pinned by admitted queries.
active_row_count: u64Exact number of rows currently represented by the in-RAM active segment.
tombstone_count: u64Exact number of in-memory active-segment tombstones.
tombstone_bytes: u64Exact bytes owned by active-segment tombstones.
wal_bytes: u64Exact bytes retained by the store’s in-memory WAL component. This is
zero while Store has no WAL writer component.
cache_bytes: u64Exact bytes owned by reusable per-segment graph-search scratch caches.
temporary_bytes: u64Exact bytes in live, explicitly accounted temporary allocations.
query_pool_bytes: u64Exact capacity in bytes of the persistent query pool’s worker registry.
native_graph_bytes: u64Exact 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: u64Exact number of file descriptors retained by this store handle.
active_queries: u64Exact number of store-admitted queries that have not yet returned.
active_snapshot_leases: u64Exact 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: u64Monotonic count of segment plans served by graph traversal.