pub struct ScanStats {
pub seq_scan: AtomicU64,
pub seq_tup_read: AtomicU64,
pub idx_scan: AtomicU64,
pub idx_tup_fetch: AtomicU64,
}Expand description
v7.39 (pg_stat knife B) — per-table scan counters, bumped from
&self read paths. Clone (tx shadow catalogs clone tables) copies
the current values; the counters are volatile like PG’s cumulative
stats.
Fields§
§seq_scan: AtomicU64§seq_tup_read: AtomicU64§idx_scan: AtomicU64§idx_tup_fetch: AtomicU64Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ScanStats
impl RefUnwindSafe for ScanStats
impl Send for ScanStats
impl Sync for ScanStats
impl Unpin for ScanStats
impl UnsafeUnpin for ScanStats
impl UnwindSafe for ScanStats
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
Mutably borrows from an owned value. Read more