pub struct QueryRecord {
pub fingerprint: String,
pub executor: ExecutorKind,
pub invocations: u64,
pub total_exec_us: u64,
}Expand description
Per-query performance record.
Fields§
§fingerprint: StringStable fingerprint derived from the canonical query text (first 160 chars).
executor: ExecutorKindWhether the native executor or Spareval fallback handled this query.
invocations: u64How many execution batches or fallback probes invoked this query.
total_exec_us: u64Total wall-clock execution time across all invocations, in microseconds.
Trait Implementations§
Source§impl Clone for QueryRecord
impl Clone for QueryRecord
Auto Trait Implementations§
impl Freeze for QueryRecord
impl RefUnwindSafe for QueryRecord
impl Send for QueryRecord
impl Sync for QueryRecord
impl Unpin for QueryRecord
impl UnsafeUnpin for QueryRecord
impl UnwindSafe for QueryRecord
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