pub struct AdaptiveJoinObservation {
pub left_rel: RelId,
pub right_rel: RelId,
pub estimated_output_rows: u64,
pub actual_output_rows: u64,
pub cardinality_delta_abs: u64,
pub estimated_selectivity: f64,
pub actual_selectivity: f64,
pub selectivity_delta_abs: f64,
pub left_heat: f32,
pub right_heat: f32,
pub heat_delta_abs: f32,
pub misplan_ratio: f64,
}Expand description
Runtime join observation used by adaptive re-optimization decisions.
Fields§
§left_rel: RelIdLeft relation ID observed at the join boundary.
right_rel: RelIdRight relation ID observed at the join boundary.
estimated_output_rows: u64Estimated output rows before the join executed.
actual_output_rows: u64Actual output rows observed after the join executed.
cardinality_delta_abs: u64Absolute row-count delta between estimate and observation.
estimated_selectivity: f64Estimated selectivity before execution.
actual_selectivity: f64Actual selectivity observed after execution.
selectivity_delta_abs: f64Absolute selectivity delta.
left_heat: f32Runtime heat for the left relation.
right_heat: f32Runtime heat for the right relation.
heat_delta_abs: f32Absolute heat delta between the join inputs.
misplan_ratio: f64Multiplicative mis-plan ratio, always at least 1.0.
Trait Implementations§
Source§impl Clone for AdaptiveJoinObservation
impl Clone for AdaptiveJoinObservation
Source§fn clone(&self) -> AdaptiveJoinObservation
fn clone(&self) -> AdaptiveJoinObservation
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 moreSource§impl Debug for AdaptiveJoinObservation
impl Debug for AdaptiveJoinObservation
Source§impl PartialEq for AdaptiveJoinObservation
impl PartialEq for AdaptiveJoinObservation
impl StructuralPartialEq for AdaptiveJoinObservation
Auto Trait Implementations§
impl Freeze for AdaptiveJoinObservation
impl RefUnwindSafe for AdaptiveJoinObservation
impl Send for AdaptiveJoinObservation
impl Sync for AdaptiveJoinObservation
impl Unpin for AdaptiveJoinObservation
impl UnsafeUnpin for AdaptiveJoinObservation
impl UnwindSafe for AdaptiveJoinObservation
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