pub struct KeyHeatStats {
pub col_idx: usize,
pub heat: f64,
pub skew_factor: f64,
}Expand description
Per-key heat/skew statistics for one relation column.
The value is a compact summary of key-frequency imbalance. A value near zero is cold/unskewed; larger values indicate pivot-heavy keys that should be demoted by a skew-aware WCOJ planner.
Fields§
§col_idx: usizeColumn index within the relation.
heat: f64Heat value for the heavy-key tail.
skew_factor: f64Multiplicative skew factor for the heaviest observed keys.
Implementations§
Trait Implementations§
Source§impl Clone for KeyHeatStats
impl Clone for KeyHeatStats
Source§fn clone(&self) -> KeyHeatStats
fn clone(&self) -> KeyHeatStats
Returns a duplicate of the value. Read more
1.0.0 · 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 KeyHeatStats
impl RefUnwindSafe for KeyHeatStats
impl Send for KeyHeatStats
impl Sync for KeyHeatStats
impl Unpin for KeyHeatStats
impl UnsafeUnpin for KeyHeatStats
impl UnwindSafe for KeyHeatStats
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