pub struct MemoryStats {
pub tables: Vec<TableMemoryStats>,
pub total_hot_encoded_bytes: u64,
pub total_approx_resident_bytes: u64,
pub total_approx_index_bytes: u64,
pub max_query_bytes: Option<usize>,
}Expand description
v7.31 — whole-engine memory snapshot: the polling form of the
round-26 ask-4 watermark signal. Hosts compare
total_approx_resident_bytes (+ their own WAL/file accounting)
against their deployment ceiling and shed/shrink before the
kernel does it for them.
Fields§
§tables: Vec<TableMemoryStats>§total_hot_encoded_bytes: u64§total_approx_resident_bytes: u64§total_approx_index_bytes: u64§max_query_bytes: Option<usize>The active per-query materialisation budget (bucket A), so a monitoring host sees ceiling and usage through one call.
Trait Implementations§
Source§impl Clone for MemoryStats
impl Clone for MemoryStats
Source§fn clone(&self) -> MemoryStats
fn clone(&self) -> MemoryStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MemoryStats
impl RefUnwindSafe for MemoryStats
impl Send for MemoryStats
impl Sync for MemoryStats
impl Unpin for MemoryStats
impl UnsafeUnpin for MemoryStats
impl UnwindSafe for MemoryStats
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