Class: Aws::TimestreamQuery::Types::QueryInsightsResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::TimestreamQuery::Types::QueryInsightsResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-timestreamquery/types.rb
Overview
Provides various insights and metrics related to the query that you executed.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#output_bytes ⇒ Integer
Indicates the size of query result set in bytes.
-
#output_rows ⇒ Integer
Indicates the total number of rows returned as part of the query result set.
-
#query_spatial_coverage ⇒ Types::QuerySpatialCoverage
Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning.
-
#query_table_count ⇒ Integer
Indicates the number of tables in the query.
-
#query_temporal_range ⇒ Types::QueryTemporalRange
Provides insights into the temporal range of the query, including the table with the largest (max) time range.
-
#unload_partition_count ⇒ Integer
Indicates the partitions created by the ‘Unload` operation.
-
#unload_written_bytes ⇒ Integer
Indicates the size, in bytes, written by the ‘Unload` operation.
-
#unload_written_rows ⇒ Integer
Indicates the rows written by the ‘Unload` query.
Instance Attribute Details
#output_bytes ⇒ Integer
Indicates the size of query result set in bytes. You can use this data to validate if the result set has changed as part of the query tuning exercise.
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/aws-sdk-timestreamquery/types.rb', line 1025 class QueryInsightsResponse < Struct.new( :query_spatial_coverage, :query_temporal_range, :query_table_count, :output_rows, :output_bytes, :unload_partition_count, :unload_written_rows, :unload_written_bytes) SENSITIVE = [] include Aws::Structure end |
#output_rows ⇒ Integer
Indicates the total number of rows returned as part of the query result set. You can use this data to validate if the number of rows in the result set have changed as part of the query tuning exercise.
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/aws-sdk-timestreamquery/types.rb', line 1025 class QueryInsightsResponse < Struct.new( :query_spatial_coverage, :query_temporal_range, :query_table_count, :output_rows, :output_bytes, :unload_partition_count, :unload_written_rows, :unload_written_bytes) SENSITIVE = [] include Aws::Structure end |
#query_spatial_coverage ⇒ Types::QuerySpatialCoverage
Provides insights into the spatial coverage of the query, including the table with sub-optimal (max) spatial pruning. This information can help you identify areas for improvement in your partitioning strategy to enhance spatial pruning.
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/aws-sdk-timestreamquery/types.rb', line 1025 class QueryInsightsResponse < Struct.new( :query_spatial_coverage, :query_temporal_range, :query_table_count, :output_rows, :output_bytes, :unload_partition_count, :unload_written_rows, :unload_written_bytes) SENSITIVE = [] include Aws::Structure end |
#query_table_count ⇒ Integer
Indicates the number of tables in the query.
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/aws-sdk-timestreamquery/types.rb', line 1025 class QueryInsightsResponse < Struct.new( :query_spatial_coverage, :query_temporal_range, :query_table_count, :output_rows, :output_bytes, :unload_partition_count, :unload_written_rows, :unload_written_bytes) SENSITIVE = [] include Aws::Structure end |
#query_temporal_range ⇒ Types::QueryTemporalRange
Provides insights into the temporal range of the query, including the table with the largest (max) time range. Following are some of the potential options for optimizing time-based pruning:
-
Add missing time-predicates.
-
Remove functions around the time predicates.
-
Add time predicates to all the sub-queries.
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/aws-sdk-timestreamquery/types.rb', line 1025 class QueryInsightsResponse < Struct.new( :query_spatial_coverage, :query_temporal_range, :query_table_count, :output_rows, :output_bytes, :unload_partition_count, :unload_written_rows, :unload_written_bytes) SENSITIVE = [] include Aws::Structure end |
#unload_partition_count ⇒ Integer
Indicates the partitions created by the ‘Unload` operation.
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/aws-sdk-timestreamquery/types.rb', line 1025 class QueryInsightsResponse < Struct.new( :query_spatial_coverage, :query_temporal_range, :query_table_count, :output_rows, :output_bytes, :unload_partition_count, :unload_written_rows, :unload_written_bytes) SENSITIVE = [] include Aws::Structure end |
#unload_written_bytes ⇒ Integer
Indicates the size, in bytes, written by the ‘Unload` operation.
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/aws-sdk-timestreamquery/types.rb', line 1025 class QueryInsightsResponse < Struct.new( :query_spatial_coverage, :query_temporal_range, :query_table_count, :output_rows, :output_bytes, :unload_partition_count, :unload_written_rows, :unload_written_bytes) SENSITIVE = [] include Aws::Structure end |
#unload_written_rows ⇒ Integer
Indicates the rows written by the ‘Unload` query.
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/aws-sdk-timestreamquery/types.rb', line 1025 class QueryInsightsResponse < Struct.new( :query_spatial_coverage, :query_temporal_range, :query_table_count, :output_rows, :output_bytes, :unload_partition_count, :unload_written_rows, :unload_written_bytes) SENSITIVE = [] include Aws::Structure end |