Struct aws_sdk_athena::types::QueryExecutionStatistics
source · #[non_exhaustive]pub struct QueryExecutionStatistics {
pub engine_execution_time_in_millis: Option<i64>,
pub data_scanned_in_bytes: Option<i64>,
pub data_manifest_location: Option<String>,
pub total_execution_time_in_millis: Option<i64>,
pub query_queue_time_in_millis: Option<i64>,
pub service_pre_processing_time_in_millis: Option<i64>,
pub query_planning_time_in_millis: Option<i64>,
pub service_processing_time_in_millis: Option<i64>,
pub result_reuse_information: Option<ResultReuseInformation>,
}Expand description
The amount of data scanned during the query execution and the amount of time that it took to execute, and the type of statement that was run.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.engine_execution_time_in_millis: Option<i64>The number of milliseconds that the query took to execute.
data_scanned_in_bytes: Option<i64>The number of bytes in the data that was queried.
data_manifest_location: Option<String>The location and file name of a data manifest file. The manifest file is saved to the Athena query results location in Amazon S3. The manifest file tracks files that the query wrote to Amazon S3. If the query fails, the manifest file also tracks files that the query intended to write. The manifest is useful for identifying orphaned files resulting from a failed query. For more information, see Working with Query Results, Output Files, and Query History in the Amazon Athena User Guide.
total_execution_time_in_millis: Option<i64>The number of milliseconds that Athena took to run the query.
query_queue_time_in_millis: Option<i64>The number of milliseconds that the query was in your query queue waiting for resources. Note that if transient errors occur, Athena might automatically add the query back to the queue.
service_pre_processing_time_in_millis: Option<i64>The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.
query_planning_time_in_millis: Option<i64>The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent retrieving table partitions from the data source. Note that because the query engine performs the query planning, query planning time is a subset of engine processing time.
service_processing_time_in_millis: Option<i64>The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.
result_reuse_information: Option<ResultReuseInformation>Contains information about whether previous query results were reused for the query.
Implementations§
source§impl QueryExecutionStatistics
impl QueryExecutionStatistics
sourcepub fn engine_execution_time_in_millis(&self) -> Option<i64>
pub fn engine_execution_time_in_millis(&self) -> Option<i64>
The number of milliseconds that the query took to execute.
sourcepub fn data_scanned_in_bytes(&self) -> Option<i64>
pub fn data_scanned_in_bytes(&self) -> Option<i64>
The number of bytes in the data that was queried.
sourcepub fn data_manifest_location(&self) -> Option<&str>
pub fn data_manifest_location(&self) -> Option<&str>
The location and file name of a data manifest file. The manifest file is saved to the Athena query results location in Amazon S3. The manifest file tracks files that the query wrote to Amazon S3. If the query fails, the manifest file also tracks files that the query intended to write. The manifest is useful for identifying orphaned files resulting from a failed query. For more information, see Working with Query Results, Output Files, and Query History in the Amazon Athena User Guide.
sourcepub fn total_execution_time_in_millis(&self) -> Option<i64>
pub fn total_execution_time_in_millis(&self) -> Option<i64>
The number of milliseconds that Athena took to run the query.
sourcepub fn query_queue_time_in_millis(&self) -> Option<i64>
pub fn query_queue_time_in_millis(&self) -> Option<i64>
The number of milliseconds that the query was in your query queue waiting for resources. Note that if transient errors occur, Athena might automatically add the query back to the queue.
sourcepub fn service_pre_processing_time_in_millis(&self) -> Option<i64>
pub fn service_pre_processing_time_in_millis(&self) -> Option<i64>
The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.
sourcepub fn query_planning_time_in_millis(&self) -> Option<i64>
pub fn query_planning_time_in_millis(&self) -> Option<i64>
The number of milliseconds that Athena took to plan the query processing flow. This includes the time spent retrieving table partitions from the data source. Note that because the query engine performs the query planning, query planning time is a subset of engine processing time.
sourcepub fn service_processing_time_in_millis(&self) -> Option<i64>
pub fn service_processing_time_in_millis(&self) -> Option<i64>
The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.
sourcepub fn result_reuse_information(&self) -> Option<&ResultReuseInformation>
pub fn result_reuse_information(&self) -> Option<&ResultReuseInformation>
Contains information about whether previous query results were reused for the query.
source§impl QueryExecutionStatistics
impl QueryExecutionStatistics
sourcepub fn builder() -> QueryExecutionStatisticsBuilder
pub fn builder() -> QueryExecutionStatisticsBuilder
Creates a new builder-style object to manufacture QueryExecutionStatistics.
Trait Implementations§
source§impl Clone for QueryExecutionStatistics
impl Clone for QueryExecutionStatistics
source§fn clone(&self) -> QueryExecutionStatistics
fn clone(&self) -> QueryExecutionStatistics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for QueryExecutionStatistics
impl Debug for QueryExecutionStatistics
source§impl PartialEq for QueryExecutionStatistics
impl PartialEq for QueryExecutionStatistics
source§fn eq(&self, other: &QueryExecutionStatistics) -> bool
fn eq(&self, other: &QueryExecutionStatistics) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for QueryExecutionStatistics
Auto Trait Implementations§
impl Freeze for QueryExecutionStatistics
impl RefUnwindSafe for QueryExecutionStatistics
impl Send for QueryExecutionStatistics
impl Sync for QueryExecutionStatistics
impl Unpin for QueryExecutionStatistics
impl UnwindSafe for QueryExecutionStatistics
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
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>
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>
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