Reference and syntax for the CREATE ENGINE command.
Parameter | Description |
---|---|
<engine_name> | The name of the engine to be created. |
AUTO_START = <true/false> | When true , sending a query to a stopped engine will start the engine before processing the query.If not specified, true will be used as default. |
AUTO_STOP = <minutes> | The amount of idle time (in minutes) after which the engine automatically stops. Setting the minutes to 0 indicates that AUTO_STOP is disabled.If not specified, 20 is used as default. |
AUTO_VACUUM = <on/off> | When on , the engine will automatically assess the health of tables’ data layout after processing a DML operation, and will run the VACUUM command when necessary to maintain the underlying table health. |
DEFAULT_DATABASE = <database_name> | The database an engine will attempt to use by default when dealing with queries that require a database. If not specified, NULL is used as default. |
INITIALLY_STOPPED = <true/false> | When false , the newly created engine will be started as part of the CREATE ENGINE command.Cannot be used with START_IMMEDIATELY .If not specified, false is used as default. |
START_IMMEDIATELY = <true/false> | When true , the newly created engine will be started as part of the CREATE ENGINE command.Cannot be used with INITIALLY_STOPPED .If not specified, true is used as default. |
CLUSTERS = <clusters> (deprecated) | Specifies the number of clusters in an engine. Each cluster is a group of nodes, and all clusters within an engine are identical in terms of node type and number of nodes. If not specified, 1 is used as default. |
MIN_CLUSTERS = <clusters> | Specifies a minimum number of clusters in an engine. If MIN_CLUSTERS is different from MAX_CLUSTERS , the engine will automatically change the number of clusters depending on load.If not specified, 1 is used as default. |
MAX_CLUSTERS = <clusters> | Specifies a maximum number of clusters in an engine. If MIN_CLUSTERS is different from MAX_CLUSTERS , the engine will automatically change the number of clusters depending on load.If not specified, 1 is used as default. |
NODES = <nodes> | Indicates the number of nodes in each cluster within an engine. This number can range from 1 to 128 . If not specified, 2 is used as default. |
TYPE =<type> | Defines the type of node used in the engine. Options include S , M , L , or XL If not specified, M is used as default. |
FAMILY =<family> | Defines the family of node used in the engine. Options include STORAGE_OPTIMIZED (alias SO ) or COMPUTE_OPTIMIZED (alias CO ) If not specified, STORAGE_OPTIMIZED is used as default. |
INITIALLY_STOPPED
is set to true.
AUTO_STOP
is set to 10.