Use the CREATE DATABASE
command to create a new database.
Parameter or clause | Description |
---|---|
database_name | The name of the database to be created. |
IF NOT EXISTS clause | Creates a database if the database name has not already been used. Otherwise throws an error. |
owner [=] user_name clause | Specifies which user owns the database to be created. |
resource_group [=] resource_group_name clause | Assigns the database to a specific resource group. If not set, the database belongs to the default resource group. |
barrier_interval_ms [=] integer clause | Sets how frequently the system injects barriers per-database. If not specified, uses the global settings defined in SystemParams . |
checkpoint_frequency [=] integer clause | Sets how many barriers should pass before triggering a checkpoint per-database. If not specified, uses the global settings defined in SystemParams . |
barrier_interval_ms
and checkpoint_frequency
.