Query optimizer configuration.
JSON representation |
---|
{ "optimizerVersion" : string , "optimizerStatisticsPackage" : string } |
Fields | |
---|---|
optimizerVersion
|
An option to control the selection of optimizer version. This parameter allows individual queries to pick different query optimizer versions. Specifying The list of supported optimizer versions can be queried from Executing a SQL statement with an invalid optimizer version fails with an See https://cloud.google.com/spanner/docs/query-optimizer/manage-query-optimizer for more information on managing the query optimizer. The |
optimizerStatisticsPackage
|
An option to control the selection of optimizer statistics package. This parameter allows individual queries to use a different query optimizer statistics package. Specifying The statistics package requested by the query has to be exempt from garbage collection. This can be achieved with the following DDL statement:
The list of available statistics packages can be queried from Executing a SQL statement with an invalid optimizer statistics package or with a statistics package that allows garbage collection fails with an |