This section describes how to create a DB instance on the management console.
Parameter |
Description |
---|---|
Region |
A region where the tenant is located. You can change it on the creation page, or go back to the Instance Management page and change it in the upper left corner. NOTE:
Products in different regions cannot communicate with each other over a private network. Once the DB instance is created, you cannot change the region. |
DB Instance Name |
Starts with a letter and consist of 4 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. |
DB Engine |
GaussDB(openGauss) |
DB Engine Version |
The DB engine version can differ in different regions |
DB Instance Type |
Distributed: A DB instance supports capability expansion through shards to allow high concurrent access to massive volumes of data. |
Deployment Model |
Independent: Database components are deployed on different nodes. A DB instance contains up to 256 shards in the distributed instance type. This model is suitable where high reliability and stability are required and the DB instance scale is large. |
Consistency Model |
|
Failover Priority |
|
Replica Sets |
Number of Data Nodes (DNs) under each shard. There is one primary node in each shard. For example, if there are three replicas, there are one primary and two standby nodes under each shard. |
Shards |
A shard is a group of DN replica sets. The number of DN under a shard depends on the value of Replica Sets. In the current version, each shard contains three replica sets. The value of shards ranges from 1 to 9, and can be expanded to 256. |
Coordinating Nodes |
Number of Coordinator Nodes (CNs). CNs receive access requests from applications, breaks down and schedule the tasks to DNs under each shard for parallel execution, and then return execution results to clients. The value ranges from 1 to 9, and can be expanded to 256. NOTICE:
The number of CNs must be less than or equal to twice the number of shards. |
AZ |
A DB instance can be deployed in one AZ or three AZs. An availability zone (AZ) is a physical region where resources use independent power supply and networks. AZs are physically isolated but interconnected over a private network. |
Time Zone |
You need to select a time zone for your DB instances according to the region hosting your DB instance. It can be selected during instance creation. |
Parameter |
Description |
---|---|
Instance Class |
Refers to the CPU and memory of a DB instance. Different instance classes also correspond to different numbers of database connections and maximum IOPS. |
Storage Type |
Determines the instance read/write speed. The higher the maximum throughput is, the higher the instance read/write speed can be. Ultra-high I/O: Supports a maximum throughput of 350 MB/s. |
Storage Space |
Minimum storage space = Number of shards x 40 GB. Maximum storage space = Number of shards x 16 TB. The storage space must be a multiple of (Number of shards x 40 GB). When allocating the storage space, take into consideration the file system overheads for running the databases, such as inodes and reserved blocks. |
Parameter |
Description |
---|---|
VPC |
The virtual network where your DB instances are located. VPC isolates networks for different workloads. You need to create or select the required Virtual Private Cloud (VPC). For details about how to create a VPC, see "Creating a VPC" in the Virtual Private Cloud User Guide. If no VPC is available, GaussDB(openGauss) allocates a default VPC for you. |
Subnet |
A subnet provides dedicated network resources that are logically isolated from other networks for network security. Subnets take effect only within an AZ. DHCP must be enabled by default for subnets in which you plan to create GaussDB(openGauss) DB instances. A private IP address is automatically assigned when you create a DB instance. NOTE:
By default, a subnet supports a maximum of 256 IP addresses. A distributed DB instance requires a maximum of 1286 IP addresses. You are advised to use a subnet that can provide 2048 IP addresses. |
Security Group |
Controls the access that traffic has in and out of a GaussDB(openGauss) DB instance. By default, the security group associated with the GaussDB(openGauss) DB instance is authorized. Enhances security by controlling access to GaussDB(openGauss) from other services. When you select a security group, you must ensure that it allows the client to access DB instances. If no security group is available, GaussDB(openGauss) allocates a default security group for you. |
Parameter |
Description |
---|---|
Administrator |
The default login name for the database is root. |
Administrator Password |
The new password must consist of 8 to 32 characters and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (~!@#%^*-_=+?,). Enter a strong password and periodically change it to improve security, preventing security risks such as brute force cracking. Keep your password secure. The system cannot retrieve it. |
Confirm Password |
Must be the same as Administrator Password. |
Database Port |
Refers to the port number used by the database to provide services for external systems, ranging from 1024 to 39998. The default value is 8000. The following are not allowed: 2378, 2379, 2380, 4999, 5000, 5999, 6000, 6001, 8097, 8098, 12016, 12017, 20049, 20050, 21731, 21732, 32122, 32123, and 32124. |
Parameter |
Description |
---|---|
Parameter Template |
Contains engine configuration values that can be applied to one or more DB instances. In a distributed DB instance, the primary and standby nodes use the same parameter template. You can modify the instance parameters as required after the DB instance is created. |
Enterprise Project |
If the DB instance has been associated with an enterprise project, select the target project from the Enterprise Project drop-down list. You can also go to the enterprise project management console to create a project. For details about how to create a project, see the ProjectMan User Guide. |
Parameter |
Description |
---|---|
Tag |
Tags a DB instance. This configuration is optional. Adding tags to DB instances helps you better identify and manage the DB instances. A maximum of 20 tags can be added for each DB instance. |
After the configuration, click Price Calculator to view the price of your DB instance with its current configuration.
The performance of your GaussDB(openGauss) DB instance depends on its configurations. Hardware configuration items include the instance class, storage type, and storage space.