pub struct SqliteStoreMetrics {Show 18 fields
pub node_cache_hits: u64,
pub node_cache_misses: u64,
pub node_cache_evictions: u64,
pub node_cache_entries: usize,
pub node_cache_retained_bytes: usize,
pub sql_reads: u64,
pub write_transactions: u64,
pub published_nodes: u64,
pub grouped_publications: u64,
pub checkpoint_attempts: u64,
pub checkpoint_busy: u64,
pub checkpointed_frames: u64,
pub compressed_input_bytes: u64,
pub compressed_stored_bytes: u64,
pub sqlite_page_cache_hits: u64,
pub sqlite_page_cache_misses: u64,
pub sqlite_page_cache_writes: u64,
pub sqlite_page_cache_spills: u64,
}Expand description
Runtime counters for the SQLite adapter and SQLite pager.
Fields§
§node_cache_hits: u64Decoded-node reads served by the adapter cache.
node_cache_misses: u64Decoded-node reads not found in the adapter cache.
node_cache_evictions: u64Decoded nodes removed to keep cache shards within their bounds.
node_cache_entries: usizeDecoded nodes currently retained by all cache shards.
node_cache_retained_bytes: usizeDecoded node payload bytes currently retained by all cache shards.
sql_reads: u64SQLite node-read statements executed after cache misses.
write_transactions: u64Successfully committed SQLite write transactions.
published_nodes: u64Immutable nodes submitted by successfully committed publications.
grouped_publications: u64Publications committed alongside another publication by group commit.
checkpoint_attempts: u64Explicit and background WAL checkpoint attempts.
checkpoint_busy: u64Checkpoint attempts that could not complete because a reader was active.
checkpointed_frames: u64Frames reported as checkpointed by the latest checkpoint attempt.
compressed_input_bytes: u64Uncompressed input bytes considered by successful node publications.
compressed_stored_bytes: u64Stored bytes produced for those node publications.
sqlite_page_cache_hits: u64SQLite page-cache hits reported across all open connections.
sqlite_page_cache_misses: u64SQLite page-cache misses reported across all open connections.
sqlite_page_cache_writes: u64SQLite page-cache writes reported across all open connections.
sqlite_page_cache_spills: u64SQLite page-cache spills reported across all open connections.
Trait Implementations§
Source§impl Clone for SqliteStoreMetrics
impl Clone for SqliteStoreMetrics
Source§fn clone(&self) -> SqliteStoreMetrics
fn clone(&self) -> SqliteStoreMetrics
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 SqliteStoreMetrics
Source§impl Debug for SqliteStoreMetrics
impl Debug for SqliteStoreMetrics
Source§impl Default for SqliteStoreMetrics
impl Default for SqliteStoreMetrics
Source§fn default() -> SqliteStoreMetrics
fn default() -> SqliteStoreMetrics
impl Eq for SqliteStoreMetrics
Source§impl PartialEq for SqliteStoreMetrics
impl PartialEq for SqliteStoreMetrics
impl StructuralPartialEq for SqliteStoreMetrics
Auto Trait Implementations§
impl Freeze for SqliteStoreMetrics
impl RefUnwindSafe for SqliteStoreMetrics
impl Send for SqliteStoreMetrics
impl Sync for SqliteStoreMetrics
impl Unpin for SqliteStoreMetrics
impl UnsafeUnpin for SqliteStoreMetrics
impl UnwindSafe for SqliteStoreMetrics
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more