CREATE CLUSTER
grammar
CREATE CLUSTER [IF NOT EXISTS] cluster_name
IDENTIFIED BY ‘password’
Specify attributes of logical clusters
- Identify by ‘password’ each logical cluster contains a superuser whose password must be specified when creating a logical cluster
CREATE CLUSTER test_cluster PROPERTIES(“instance_num”=”3”) IDENTIFIED BY ‘test’;
- Create a new default_cluster with three be nodes (no multi-tenant is used) and specify its superuser password
CREATE CLUSTER default_cluster PROPERTIES(“instance_num”=”3”) IDENTIFIED BY ‘test’;