Struct tetsy_kvdb::IoStats [−][src]
pub struct IoStats { pub transactions: u64, pub reads: u64, pub cache_reads: u64, pub writes: u64, pub bytes_read: u64, pub cache_read_bytes: u64, pub bytes_written: u64, pub started: Instant, pub span: Duration, }
Expand description
Statistic for the span
period
Fields
transactions: u64
Number of transaction.
reads: u64
Number of read operations.
cache_reads: u64
Number of reads resulted in a read from cache.
writes: u64
Number of write operations.
bytes_read: u64
Number of bytes read
cache_read_bytes: u64
Number of bytes read from cache
bytes_written: u64
Number of bytes write
started: Instant
Start of the statistic period.
span: Duration
Total duration of the statistic period.
Implementations
Average batch (transaction) size (writes per transaction)
Read operations per second.
Write operations per second.
Total number of operations per second.
Transactions per second.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IoStats
impl UnwindSafe for IoStats
Blanket Implementations
Mutably borrows from an owned value. Read more