Skip to content

QueryExecutionStatistics

Source code in docs_src/capo_athena/types/query_execution_statistics.py
class QueryExecutionStatistics(TypedDict, closed=True):
    engine_execution_time_in_millis: NotRequired["capo_athena.types.long.Long"]
    """<p>The number of milliseconds that the query took to execute.</p>"""
    data_scanned_in_bytes: NotRequired["capo_athena.types.long.Long"]
    """<p>The number of bytes in the data that was queried.</p>"""
    data_manifest_location: NotRequired["capo_athena.types.string.String"]
    """<p>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 <a href="https://docs.aws.amazon.com/athena/latest/ug/querying.html">Working with Query Results, Output Files, and Query History</a> in the <i>Amazon Athena User Guide</i>.</p>"""
    total_execution_time_in_millis: NotRequired["capo_athena.types.long.Long"]
    """<p>The number of milliseconds that Athena took to run the query.</p>"""
    query_queue_time_in_millis: NotRequired["capo_athena.types.long.Long"]
    """<p>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.</p>"""
    service_pre_processing_time_in_millis: NotRequired["capo_athena.types.long.Long"]
    """<p>The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.</p>"""
    query_planning_time_in_millis: NotRequired["capo_athena.types.long.Long"]
    """<p>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.</p>"""
    service_processing_time_in_millis: NotRequired["capo_athena.types.long.Long"]
    """<p>The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.</p>"""
    result_reuse_information: NotRequired[
        "capo_athena.types.result_reuse_information.ResultReuseInformation"
    ]
    """<p>Contains information about whether previous query results were reused for the query.</p>"""
    dpu_count: NotRequired["capo_athena.types.dpu_count.DpuCount"]
    """<p>The number of Data Processing Units (DPUs) that Athena used to run the query.</p>"""

data_manifest_location instance-attribute

data_manifest_location: NotRequired[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.

data_scanned_in_bytes instance-attribute

data_scanned_in_bytes: NotRequired[Long]

The number of bytes in the data that was queried.

dpu_count instance-attribute

dpu_count: NotRequired[DpuCount]

The number of Data Processing Units (DPUs) that Athena used to run the query.

engine_execution_time_in_millis instance-attribute

engine_execution_time_in_millis: NotRequired[Long]

The number of milliseconds that the query took to execute.

query_planning_time_in_millis instance-attribute

query_planning_time_in_millis: NotRequired[Long]

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.

query_queue_time_in_millis instance-attribute

query_queue_time_in_millis: NotRequired[Long]

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.

result_reuse_information instance-attribute

result_reuse_information: NotRequired[ResultReuseInformation]

Contains information about whether previous query results were reused for the query.

service_pre_processing_time_in_millis instance-attribute

service_pre_processing_time_in_millis: NotRequired[Long]

The number of milliseconds that Athena took to preprocess the query before submitting the query to the query engine.

service_processing_time_in_millis instance-attribute

service_processing_time_in_millis: NotRequired[Long]

The number of milliseconds that Athena took to finalize and publish the query results after the query engine finished running the query.

total_execution_time_in_millis instance-attribute

total_execution_time_in_millis: NotRequired[Long]

The number of milliseconds that Athena took to run the query.