Values.QueryInsightsResponseSourceProvides various insights and metrics related to the query that you executed.
type nonrec t = {querySpatialCoverage : QuerySpatialCoverage.t option;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.
*)queryTemporalRange : QueryTemporalRange.t option;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.
*)queryTableCount : Long.t option;Indicates the number of tables in the query.
*)outputRows : Long.t option;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.
*)outputBytes : Long.t option;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.
*)unloadPartitionCount : Long.t option;Indicates the partitions created by the Unload operation.
*)unloadWrittenRows : Long.t option;Indicates the rows written by the Unload query.
*)unloadWrittenBytes : Long.t option;Indicates the size, in bytes, written by the Unload operation.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Long of Long.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Double of Double.t
| `List of [> `String of PartitionKey.t ] list
| `Long of Long.t
| `String of AmazonResourceName.t ])
list ])
list ])
list ]