ALTER ENGINE SET
Updates the configuration of the specified engine.Syntax
Options
Limitations:
For small and medium instance types:
- Each engine is limited to a maximum of two clusters
- Each cluster can have up to ten nodes
- The total number of nodes across all clusters cannot exceed 15
- When scaling a running engine either vertically or horizontally, new queries will be directed to the new cluster. Queries running on the original clusters will continue until completion. The clusters will wait up to 24 hours for these queries to finish, after which any unfinished queries may be stopped.
- Each engine is limited to a maximum of one node and one cluster
- Use more than ten nodes per cluster.
- Use more than 15 nodes across all clusters.
- Use more than one large or extra-large node per engine.
Examples
Scale out an engine
The following code example scales out, or increases the number of nodes, in an engine by setting the engine’sNODES to 3:
Scale up an engine
The following code example scales up an engine by increasing its capacity from small (S) to medium (M) by setting the engine’s TYPE parameter to M:
Change Family
The following code example changes engine’s family type to compute-optimized by setting the engine’sFAMILY parameter to CO:
Scale up and out an engine
The following code example both scales up and scales out an engine by increasing node capacity and the number of nodes:Enable concurrency auto-scaling
The following code example adjusts the maximum number of engine clusters to enable concurrency auto-scaling:Configure the maximum size of the query cache
The following code example changes the maximum size of the query cache to 30% of the engine’s total available memory.Enroll into the preview release channel
The following code example enrolls an engine into the preview release channel. For more information, see release settings.ALTER ENGINE RENAME TO
Renames an engine.Syntax
Parameters
ALTER ENGINE OWNER TO
Changes the owner of an engine. You can view the current owner in theengine_owner column of the information_schema.engines view.
For more information, see ownership.