DB Instance Types
Table 1 lists the instance types of GaussDB.
Instance Type |
Deployment Model |
Scale-out Supported |
Application Scenario |
Component |
Service Processing |
---|---|---|---|---|---|
Distributed |
Independent deployment: Database components are deployed on different nodes. This model is suitable for where high reliability and stability are required and the instance scale is large. Combined: 3-node deployment where there are three shards and each shard contains one primary DN and two standby DNs. |
Yes |
The data volume is large, and large data capacity and high concurrency are required. |
|
An application sends a SQL query request to a CN. The CN uses the optimizer of the database to generate an execution plan and sends the plan to DNs. Each DN processes data based on the execution plan. After the processing is complete, DNs return the result set to the CN for summary. Finally, the CN returns the summary result to the application. |
Primary/Standby |
HA (1 primary + 2 standby): 3-node deployment where there is a shard. The shard contains one primary DN and two standby DNs. Single replica: single-node deployment where there is only one CMS component and one DN. This deployment model is not suitable for production environments. To create a single-replica instance, ensure that the instance version is 2.2 or later. The availability (SLA) cannot be guaranteed because the instance is deployed on a single server. 1 primary + 1 standby + 1 log: 3-node deployment where there is a shard. The shard contains one primary DN, one standby DN, and one log-dedicated DN. |
No |
The data volume is small and stable, and data reliability and service availability are extremely important. |
|
An application sends a task directly to the DN, and the DN returns the result to the application after processing the task. |
![](https://support.huaweicloud.com/intl/en-us/productdesc-gaussdb/public_sys-resources/note_3.0-en-us.png)
- OM: The Operation Manager (OM) provides management APIs and tools for routine maintenance and configuration management of the cluster.
- CM: The Cluster Manager (CM) manages and monitors the running status of functional units and physical resources in a distributed system, ensuring stable running of the entire system.
- GTM: The Global Transaction Manager (GTM) generates and maintains the global transaction IDs, transaction snapshots, timestamps, and sequences that must be unique globally.
- ETCD: The editable text configuration daemon (ETCD) is used for shared configuration and service discovery (service registry and search).
- CN: A CN receives access requests from applications and returns execution results to clients. It also splits and distributes tasks to different DNs for parallel processing.
- DN: A DN stores service data, performs data queries, and returns execution results.
The following figure shows the logical architecture of a distributed GaussDB instance.
![](https://support.huaweicloud.com/intl/en-us/productdesc-gaussdb/figure/en-us_image_0000001683673501.png)
The following figure shows the logical architecture of a primary/standby GaussDB instance.
![](https://support.huaweicloud.com/intl/en-us/productdesc-gaussdb/figure/en-us_image_0000001635193812.png)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot