To use cloud GaussDB(DWS), create a data warehouse cluster first.
This section describes how to create a data warehouse cluster on the GaussDB(DWS) console.
You can select the number of nodes by data volume, service load, and performance. More nodes bring you stronger storage and compute capabilities.
When first using GaussDB(DWS), you can create a cluster with a smaller flavor. Then, you can adjust the cluster scale and node flavor based on the data volume and service load changes without interrupting services. For details, see Scaling Out a Cluster.
The number of nodes that can be used by users must meet the following requirements. Otherwise, the system displays a message indicating that the cluster cannot be created.
The number of nodes that can be used by a user depends on the product type you select. A hybrid data warehouse cluster (standalone mode) has only one node. For other types of clusters, the number of nodes can be greater than or equal to 3. You can view the number of available nodes on the Clusters > Dedicated Clusters page.
For more information, see Learn How to Select a GaussDB(DWS) Region and AZ.
Parameter |
Description |
Example Value |
---|---|---|
Resource |
Product type. It can be:
|
Standard |
Compute Resource |
It can be:
|
- |
Storage Type |
It can be:
|
- |
CPU Architecture |
The CPU architecture includes:
|
- |
Node Flavor |
Select the desired node flavor based on service requirements. Each node flavor displays the vCPU, memory, and recommended application scenario. |
dws.m3.xlarge |
Hot storage |
Available storage capacity of each node. NOTE:
|
- |
Cold storage |
You are advised to store cold data in OBS. |
- |
Nodes |
Specify the number of nodes in the cluster. The number of nodes ranges from 3 to 256. |
3 |
Total |
Displays the total capacity of a cluster. The storage capacity of each flavor is the actual database space used for storing data. The displayed storage capacity has deducted the disk space consumed by backups and RAIDs. |
- |
Parameter |
Description |
Example Value |
---|---|---|
VPC |
Specify a virtual private network for nodes in a cluster to isolate networks of different services. If you create a data warehouse cluster for the first time and have not configured the VPC, click View VPC. On the VPC management console that is displayed, create a VPC that satisfies your needs. For details about how to create a VPC, see "VPC and Subnet > Creating a VPC" in the Virtual Private Cloud User Guide. After selecting a VPC from the drop-down list, click View VPC to enter the VPC management console and view the detailed information about the VPC. You can click |
vpc-dws |
Subnet |
Specify a VPC subnet. A subnet provides dedicated network resources that are isolated from other networks, improving network security. NOTE:
After a cluster is created, the subnet cannot be modified. If you need to modify the subnet, you can restore the snapshot of the cluster to a new cluster. The data of the new cluster is the same as that of the old cluster, and the subnet can be modified when the new cluster is created. |
subnet-dws |
Security Group |
Specify a VPC security group. A security group restricts access rules to enhance security when GaussDB(DWS) and other services access each other.
|
Automatic creation |
Public Network Access |
Specify whether users can use a client to connect to a cluster's database over the Internet. The following methods are supported:
NOTE:
|
Automatically assign |
ELB |
Specifies whether ELB is bound. With ELB health checks, CN requests of a cluster can be quickly forwarded to normal CNs. If a CN is faulty, the workload can be immediately shifted to a healthy node, minimizing cluster access faults.
|
Specify |
Bandwidth |
When EIP is set to Automatically assign, you need to specify the bandwidth of the EIP, which ranges from 1 Mbit/s to 100 Mbit/s. |
50Mbit/s |
Parameter |
Description |
Example Value |
---|---|---|
Cluster Name |
Set the name of the data warehouse cluster. The cluster name contains 4 to 64 case-insensitive characters and must start with a letter. Only letters, digits, hyphens (-), and underscores (_) are allowed. NOTE:
If the cluster name cannot be changed on the console, contact technical support. |
dws-demo |
Cluster Version |
Displays the version of the database instance installed in the cluster. The example version number is for reference only. |
- |
Default Database |
The default database name of the cluster is gaussdb. NOTE:
This name cannot be changed. |
gaussdb |
Administrator Account |
Set the database administrator name. The administrator username must:
|
dbadmin |
Administrator Password |
Set the password of the database administrator account. The password complexity requirements are as follows:
NOTE:
Change the password regularly and keep it secure. |
- |
Confirm Password |
Enter the database administrator password again. |
- |
Database Port |
Specify the port used when the client or application connects to the database in the cluster. The port number ranges from 8000 to 30000. NOTE:
The database port of a created cluster cannot be changed. You can specify the database port only when creating a cluster. |
8000 |
Time Zone |
You can set the time zone for the tenant cluster, including the system OS time zone and cluster data warehouse time zone. |
- |
An enterprise project facilitates project-level management and grouping of cloud resources and users.
You can select the default enterprise project default or other existing enterprise projects.
CNs, or Coordinators, receive access requests from the clients and return the execution results. They also split and distribute tasks to the Datanodes (DNs) for parallel execution.
The value ranges from 3 to the number of cluster nodes. The maximum value is 20 and the default value is 3. In a large-scale cluster, you are advised to deploy multiple CNs.
A tag is a key-value pair used to identify a cluster. For details about the keys and values, see Table 4. By default, no tag is added to the cluster.
For more information about tags, see Overview.
Parameter |
Description |
Example Value |
---|---|---|
Key |
The options are as follows:
|
key01 |
Value |
You can select:
|
value01 |
After the submission is successful, the creation starts. Click Back to Cluster List. The cluster management page is displayed. The initial status of the cluster is Creating. Cluster creation takes some time. Wait for a while. Clusters in the Available state are ready for use.