Class: Aws::Athena::Types::QueryExecutionStatistics

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_manifest_locationString

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.

Returns:

  • (String)


3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3202

class QueryExecutionStatistics < Struct.new(
  :engine_execution_time_in_millis,
  :data_scanned_in_bytes,
  :data_manifest_location,
  :total_execution_time_in_millis,
  :query_queue_time_in_millis,
  :service_pre_processing_time_in_millis,
  :query_planning_time_in_millis,
  :service_processing_time_in_millis,
  :result_reuse_information)
  SENSITIVE = []
  include Aws::Structure
end

#data_scanned_in_bytesInteger

The number of bytes in the data that was queried.

Returns:

  • (Integer)


3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3202

class QueryExecutionStatistics < Struct.new(
  :engine_execution_time_in_millis,
  :data_scanned_in_bytes,
  :data_manifest_location,
  :total_execution_time_in_millis,
  :query_queue_time_in_millis,
  :service_pre_processing_time_in_millis,
  :query_planning_time_in_millis,
  :service_processing_time_in_millis,
  :result_reuse_information)
  SENSITIVE = []
  include Aws::Structure
end

#engine_execution_time_in_millisInteger

The number of milliseconds that the query took to execute.

Returns:

  • (Integer)


3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3202

class QueryExecutionStatistics < Struct.new(
  :engine_execution_time_in_millis,
  :data_scanned_in_bytes,
  :data_manifest_location,
  :total_execution_time_in_millis,
  :query_queue_time_in_millis,
  :service_pre_processing_time_in_millis,
  :query_planning_time_in_millis,
  :service_processing_time_in_millis,
  :result_reuse_information)
  SENSITIVE = []
  include Aws::Structure
end

#query_planning_time_in_millisInteger

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.

Returns:

  • (Integer)


3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3202

class QueryExecutionStatistics < Struct.new(
  :engine_execution_time_in_millis,
  :data_scanned_in_bytes,
  :data_manifest_location,
  :total_execution_time_in_millis,
  :query_queue_time_in_millis,
  :service_pre_processing_time_in_millis,
  :query_planning_time_in_millis,
  :service_processing_time_in_millis,
  :result_reuse_information)
  SENSITIVE = []
  include Aws::Structure
end

#query_queue_time_in_millisInteger

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.

Returns:

  • (Integer)


3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3202

class QueryExecutionStatistics < Struct.new(
  :engine_execution_time_in_millis,
  :data_scanned_in_bytes,
  :data_manifest_location,
  :total_execution_time_in_millis,
  :query_queue_time_in_millis,
  :service_pre_processing_time_in_millis,
  :query_planning_time_in_millis,
  :service_processing_time_in_millis,
  :result_reuse_information)
  SENSITIVE = []
  include Aws::Structure
end

#result_reuse_informationTypes::ResultReuseInformation

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



3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3202

class QueryExecutionStatistics < Struct.new(
  :engine_execution_time_in_millis,
  :data_scanned_in_bytes,
  :data_manifest_location,
  :total_execution_time_in_millis,
  :query_queue_time_in_millis,
  :service_pre_processing_time_in_millis,
  :query_planning_time_in_millis,
  :service_processing_time_in_millis,
  :result_reuse_information)
  SENSITIVE = []
  include Aws::Structure
end

#service_pre_processing_time_in_millisInteger

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

Returns:

  • (Integer)


3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3202

class QueryExecutionStatistics < Struct.new(
  :engine_execution_time_in_millis,
  :data_scanned_in_bytes,
  :data_manifest_location,
  :total_execution_time_in_millis,
  :query_queue_time_in_millis,
  :service_pre_processing_time_in_millis,
  :query_planning_time_in_millis,
  :service_processing_time_in_millis,
  :result_reuse_information)
  SENSITIVE = []
  include Aws::Structure
end

#service_processing_time_in_millisInteger

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

Returns:

  • (Integer)


3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3202

class QueryExecutionStatistics < Struct.new(
  :engine_execution_time_in_millis,
  :data_scanned_in_bytes,
  :data_manifest_location,
  :total_execution_time_in_millis,
  :query_queue_time_in_millis,
  :service_pre_processing_time_in_millis,
  :query_planning_time_in_millis,
  :service_processing_time_in_millis,
  :result_reuse_information)
  SENSITIVE = []
  include Aws::Structure
end

#total_execution_time_in_millisInteger

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

Returns:

  • (Integer)


3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3202

class QueryExecutionStatistics < Struct.new(
  :engine_execution_time_in_millis,
  :data_scanned_in_bytes,
  :data_manifest_location,
  :total_execution_time_in_millis,
  :query_queue_time_in_millis,
  :service_pre_processing_time_in_millis,
  :query_planning_time_in_millis,
  :service_processing_time_in_millis,
  :result_reuse_information)
  SENSITIVE = []
  include Aws::Structure
end