pub struct LogStatsSnapshot {Show 19 fields
pub end_of_log: u64,
pub last_flush_lsn: u64,
pub n_repeat_fault_reads: u64,
pub n_temp_buffer_writes: u64,
pub n_log_buffers: u64,
pub n_log_buffer_bytes: u64,
pub n_log_fsyncs: u64,
pub n_fsync_requests: u64,
pub n_file_opens: u64,
pub n_sequential_reads: u64,
pub n_sequential_read_bytes: u64,
pub n_sequential_writes: u64,
pub n_sequential_write_bytes: u64,
pub n_random_reads: u64,
pub n_random_read_bytes: u64,
pub n_fsync_timeouts: u64,
pub n_group_commits: u64,
pub fsync_time_ms: u64,
pub n_fsync_batch_size_sum: u64,
}Expand description
Snapshot of log subsystem statistics.
LogStatDefinition (LOGMGR_, FILEMGR_, FSYNCMGR_*).
Fields§
§end_of_log: u64Current end-of-log LSN (as raw u64).
last_flush_lsn: u64LSN of the last completed flush.
n_repeat_fault_reads: u64Number of repeated fault reads (log entries re-read on cache miss).
n_temp_buffer_writes: u64Number of temporary-buffer writes (oversized entries).
n_log_buffers: u64Number of log buffers in the pool.
n_log_buffer_bytes: u64Total bytes across all log buffers.
n_log_fsyncs: u64Number of fdatasync calls completed (after group-commit coalescing).
n_fsync_requests: u64Number of fdatasync requests (before coalescing).
n_file_opens: u64Number of log files opened (LRU cache miss).
n_sequential_reads: u64Number of sequential read operations.
n_sequential_read_bytes: u64Total bytes read sequentially.
n_sequential_writes: u64Number of sequential write operations.
n_sequential_write_bytes: u64Total bytes written sequentially.
n_random_reads: u64Number of random (point-lookup) read operations.
n_random_read_bytes: u64Total bytes from random reads.
n_fsync_timeouts: u64Number of fsync requests that timed out.
n_group_commits: u64Number of group-commit batches (leader served ≥1 waiter).
fsync_time_ms: u64Cumulative fsync duration in milliseconds.
n_fsync_batch_size_sum: u64Sum of all group-commit batch sizes (total waiters served across all batches).
Trait Implementations§
Source§impl Clone for LogStatsSnapshot
impl Clone for LogStatsSnapshot
Source§fn clone(&self) -> LogStatsSnapshot
fn clone(&self) -> LogStatsSnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more