pub struct QueryStatistics {Show 13 fields
pub total_time_ms: u64,
pub parse_time_ms: u64,
pub planning_time_ms: u64,
pub execution_time_ms: u64,
pub triples_matched: u64,
pub results_count: u64,
pub peak_memory_bytes: u64,
pub pattern_matches: HashMap<String, u64>,
pub index_accesses: HashMap<String, u64>,
pub join_operations: u64,
pub cache_hit_rate: f32,
pub plan_hash: u64,
pub timestamp: u64,
}Expand description
Comprehensive query statistics
Fields§
§total_time_ms: u64Total execution time in milliseconds
parse_time_ms: u64Parsing time in milliseconds
planning_time_ms: u64Planning time in milliseconds
execution_time_ms: u64Execution time in milliseconds
triples_matched: u64Number of triples matched
results_count: u64Number of results produced
peak_memory_bytes: u64Peak memory usage in bytes
pattern_matches: HashMap<String, u64>Number of pattern matches
index_accesses: HashMap<String, u64>Index access counts
join_operations: u64Join operation counts
cache_hit_rate: f32Cache hit rate (0.0 to 1.0)
plan_hash: u64Query plan hash for comparison
timestamp: u64Timestamp of query execution
Trait Implementations§
Source§impl Clone for QueryStatistics
impl Clone for QueryStatistics
Source§fn clone(&self) -> QueryStatistics
fn clone(&self) -> QueryStatistics
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 QueryStatistics
impl Debug for QueryStatistics
Source§impl Default for QueryStatistics
impl Default for QueryStatistics
Source§impl<'de> Deserialize<'de> for QueryStatistics
impl<'de> Deserialize<'de> for QueryStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QueryStatistics
impl RefUnwindSafe for QueryStatistics
impl Send for QueryStatistics
impl Sync for QueryStatistics
impl Unpin for QueryStatistics
impl UnsafeUnpin for QueryStatistics
impl UnwindSafe for QueryStatistics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more