To use cloud GaussDB(DWS), create a cluster first.
This section describes how to create a data warehouse cluster on the GaussDB(DWS) management console.
You can select the number of nodes by data volume, service load, and performance. More nodes bring you stronger storage and compute capabilities. In a GaussDB(DWS) cluster, the number of DNs on each node varies depending on the cluster flavor. Generally, the number ranges from 1 to 4. A DN stores service data by column or row or in hybrid mode, executes data query tasks, and returns execution results.
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 Cluster Scale-out.
Plan an appropriate AZ and configure the network to isolate the GaussDB(DWS) cluster from other cloud services.
Parameter |
Description |
Example Value |
---|---|---|
Region |
Select the actual region where the cluster nodes run. |
eu-de |
AZ |
Select an AZ associated with the cluster region. |
- |
The number of nodes in a new cluster cannot exceed the quota that can be used by a user or 32. If the node quota is insufficient, click Increase quota to submit a service ticket and apply for higher node quota.
Parameter |
Description |
Example Value |
---|---|---|
Cluster Type |
GaussDB(DWS) cluster types include:
|
Standard |
CPU Architecture |
The CPU architecture includes:
NOTE:
The only difference between the x86 and Kunpeng architectures lies in the underlying architecture, of which the application layer is unaware. The same SQL syntax is used. If x86 servers are sold out when you create a cluster, select the Kunpeng architecture. |
x86 |
Node Flavor |
Select the desired node flavor based on service requirements. Each node flavor displays the vCPU, memory, and recommended application scenario. Table 3 describes the node flavors supported by GaussDB(DWS). |
dws.m3.xlarge |
Nodes |
Specify the number of nodes in the cluster. The number of nodes ranges from 3 to 256. |
3 |
Total Capacity (GB) |
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. |
- |
Type |
vCPU Cores |
Memory |
Disk Size |
Disk Type |
---|---|---|---|---|
dws.m1.xlarge.ultrahigh |
4 |
32 GB |
256 GB |
General-purpose generation I, SSD |
dws.d1.xlarge |
4 |
32 GB |
1.68 TB |
Local disk (HDD) |
dws.d2.15xlarge |
60 |
540 GB |
13.41 TB |
Disk-intensive generation II (KVM), local disk (HDD) |
dws.d2.xlarge |
4 |
32 GB |
1.68 TB |
Disk-intensive generation II (KVM), local disk (HDD) |
dws.m3.xlarge |
4 |
32 GB |
160 GB |
General-purpose generation III (KVM), SSD |
Parameter |
Description |
Example Value |
---|---|---|
Cluster Name |
Set the name of the data warehouse cluster. Enter 4 to 64 characters. Only case-insensitive letters, digits, hyphens (-), and underscores (_) are allowed. The value must start with a letter. NOTE:
After a cluster is created, its name cannot be changed. |
dws-demo |
Cluster Version |
Displays the version of the database instance installed in the cluster. The figure 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. |
8000 |
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. |
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 |
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. |
50 Mbit/s |
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. To create an enterprise project, log in to the Enterprise Management console. For details, see the Enterprise Management User Guide.
The enterprise project of the discount package must be the same as that of the cluster. All projects applies to any cluster.
CNs receive access requests from the clients and return the execution results. In addition, a CN splits and distributes tasks to the DNs for parallel execution.
The value ranges from 2 to the number of cluster nodes minus 1. The maximum value is 5 and the default value is 2. In a large-scale cluster, you are advised to deploy multiple CNs.
A parameter template is a set of parameters for data warehouses. You need to select a parameter template from the drop-down list of Parameter Template and associate it with the cluster during cluster creation. You can select the default parameter template or a customized parameter template. By default, the cluster is associated with the default database parameter template.
For details about parameter templates, see Managing Parameter Templates.
A tag is a key-value pair used to identify a cluster. For details about the keys and values, see Table 6. By default, no tag is added to the cluster.
For more information about tags, see Overview.
Parameter |
Description |
Example Value |
---|---|---|
Tag key |
You can perform the following operations:
|
key01 |
Tag value |
You can perform the following operations: |
value01 |
If the number of requested nodes, vCPU (cores), or memory (GB) exceeds the user's remaining quota, a warning dialog box is displayed, indicating that the quota is insufficient and displaying the details of the remaining quota and the current quota application. You can click Increase quota in the warning dialog box to submit a service ticket and apply for higher node quota.
For details about quotas, see What Is the User Quota?.
After the submission is successful, the creation starts. Click Back to Cluster List to go back to the Clusters page. The initial status of the cluster is Creating. Cluster creation takes some time. Clusters in the Available state are ready for use.