
# 集群实例规格
同一实例类型根据内存的配置不同分为多种实例规格，针对不同的应用场景，您可以选择不同规格的实例。
本章节主要介绍集群实例支持的实例规格信息。数据库实例规格与所选的CPU机型相关，请以实际环境为准。
![](https://support.huaweicloud.com/productdesc-dds/public_sys-resources/note_3.0-zh-cn.png)
由于版本迭代，实例的最大连接数默认值已经调整，请根据实例创建时间查询对应的连接数值。2021年7月之前创建的实例，请参见[历史实例规格表]。
#### 现行实例规格说明
DDS集群实例的CPU规格分为通用型和增强Ⅱ型，详见[表1]。
 表1CPU规格类型 
| 规格   | 说明                                                                                     | 适用场景                         |
|:---|:---|:---|
| 通用型  | 与同一物理机上的其他通用型规格实例共享CPU资源，通过资源复用换取CPU使用率最大化，性价比较高，适用于对性能稳定性要求较低的应用场景。                   | 侧重对成本、性价比要求较高的场景。            |
| 增强Ⅱ型 | CPU性能强劲，并搭载全新网络加速引擎，以及DPDK(Data Plane Development Kit)快速报文处理机制，提供更高的网络性能以及算力，满足不同场景需求。 | 对数据库算力与网络有更高性能要求的网站和Web应用场景。 |
   
表2config节点的规格 
| CPU类型                                                                      | 规格类型                                                 | vCPU（个） | 内存（GB） | 规格ID                            | 缺省最大连接数配置 | 连接数取值范围   |
|:---|:---|:---|:---|:---|:---|:---|
|    x86    | 通用型                                                  | 2       | 4      | dds.mongodb.s6.large.2.config   | 2000      | 200-2000  |
|    x86    | 通用型                                                  | 4       | 8      | dds.mongodb.s6.xlarge.2.config  | 4000      | 200-4000  |
|    x86    | 通用型                                                  | 8       | 16     | dds.mongodb.s6.2xlarge.2.config | 4000      | 200-4000  |
|    x86    | 增强Ⅱ型    | 2       | 4      | dds.mongodb.c6.large.2.config   | 2000      | 200-2000  |
|    x86    | 增强Ⅱ型    | 4       | 8      | dds.mongodb.c6.xlarge.2.config  | 4000      | 200-4000  |
|    x86    | 增强Ⅱ型    | 8       | 16     | dds.mongodb.c6.2xlarge.2.config | 4000      | 200-4000  |
| 鲲鹏                                                                         | -                                                    | 2       | 4      | dds.mongodb.large.arm2.config   | 2000      | 200-2000  |
| 鲲鹏                                                                         | -                                                    | 4       | 8      | dds.mongodb.xlarge.arm2.config  | 4000      | 200-4000  |
| 鲲鹏                                                                         | -                                                    | 8       | 16     | dds.mongodb.2xlarge.arm2.config | 16000     | 200-16000 |
   
表3dds mongos和shard节点的规格 
| CPU类型                                                                              | 规格类型 | 组件         | vCPU（个） | 内存（GB） | 规格ID                             | 缺省最大连接数配置 | 连接数取值范围   |
|:---|:---|:---|:---|:---|:---|:---|:---|
| x86        | 通用型  | dds mongos | 1       | 4      | dds.mongodb.s6.medium.4.mongos   | 1000      | 200-21000 |
| x86        | 通用型  | dds mongos | 2       | 4      | dds.mongodb.s6.large.2.mongos    | 2000      | 200-21000 |
| x86        | 通用型  | dds mongos | 2       | 8      | dds.mongodb.s6.large.4.mongos    | 2000      | 200-21000 |
| x86        | 通用型  | dds mongos | 4       | 8      | dds.mongodb.s6.xlarge.2.mongos   | 4000      | 200-21000 |
| x86        | 通用型  | dds mongos | 4       | 16     | dds.mongodb.s6.xlarge.4.mongos   | 4000      | 200-21000 |
| x86        | 通用型  | dds mongos | 8       | 16     | dds.mongodb.s6.2xlarge.2.mongos  | 16000     | 200-21000 |
| x86        | 通用型  | dds mongos | 8       | 32     | dds.mongodb.s6.2xlarge.4.mongos  | 16000     | 200-21000 |
| x86        | 通用型  | shard      | 1       | 4      | dds.mongodb.s6.medium.4.shard    | 1000      | 200-21000 |
| x86        | 通用型  | shard      | 2       | 4      | dds.mongodb.s6.large.2.shard     | 2000      | 200-21000 |
| x86        | 通用型  | shard      | 2       | 8      | dds.mongodb.s6.large.4.shard     | 2000      | 200-21000 |
| x86        | 通用型  | shard      | 4       | 8      | dds.mongodb.s6.xlarge.2.shard    | 4000      | 200-21000 |
| x86        | 通用型  | shard      | 4       | 16     | dds.mongodb.s6.xlarge.4.shard    | 4000      | 200-21000 |
| x86        | 通用型  | shard      | 8       | 16     | dds.mongodb.s6.2xlarge.2.shard   | 16000     | 200-21000 |
| x86        | 通用型  | shard      | 8       | 32     | dds.mongodb.s6.2xlarge.4.shard   | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | dds mongos | 2       | 8      | dds.mongodb.c6.large.4.mongos    | 2000      | 200-21000 |
| x86        | 增强Ⅱ型 | dds mongos | 4       | 16     | dds.mongodb.c6.xlarge.4.mongos   | 4000      | 200-21000 |
| x86        | 增强Ⅱ型 | dds mongos | 8       | 32     | dds.mongodb.c6.2xlarge.4.mongos  | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | dds mongos | 16      | 64     | dds.mongodb.c6.4xlarge.4.mongos  | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | dds mongos | 32      | 128    | dds.mongodb.c6.8xlarge.4.mongos  | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | dds mongos | 64      | 256    | dds.mongodb.c6.16xlarge.4.mongos | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 2       | 8      | dds.mongodb.c6.large.4.shard     | 2000      | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 2       | 16     | dds.mongodb.c6.large.8.shard     | 2000      | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 4       | 16     | dds.mongodb.c6.xlarge.4.shard    | 4000      | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 4       | 32     | dds.mongodb.c6.xlarge.8.shard    | 4000      | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 8       | 32     | dds.mongodb.c6.2xlarge.4.shard   | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 8       | 64     | dds.mongodb.c6.2xlarge.8.shard   | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 16      | 64     | dds.mongodb.c6.4xlarge.4.shard   | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 16      | 128    | dds.mongodb.c6.4xlarge.8.shard   | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 32      | 128    | dds.mongodb.c6.8xlarge.4.shard   | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 32      | 256    | dds.mongodb.c6.8xlarge.8.shard   | 16000     | 200-21000 |
| x86        | 增强Ⅱ型 | shard      | 64      | 256    | dds.mongodb.c6.16xlarge.4.shard  | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | dds mongos | 2       | 4      | dds.mongodb.large.arm2.mongos    | 2000      | 200-21000 |
| 鲲鹏                                                                                 | -    | dds mongos | 2       | 8      | dds.mongodb.large.arm4.mongos    | 2000      | 200-21000 |
| 鲲鹏                                                                                 | -    | dds mongos | 4       | 8      | dds.mongodb.xlarge.arm2.mongos   | 4000      | 200-21000 |
| 鲲鹏                                                                                 | -    | dds mongos | 4       | 16     | dds.mongodb.xlarge.arm4.mongos   | 4000      | 200-21000 |
| 鲲鹏                                                                                 | -    | dds mongos | 8       | 16     | dds.mongodb.2xlarge.arm2.mongos  | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | dds mongos | 8       | 32     | dds.mongodb.2xlarge.arm4.mongos  | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | dds mongos | 16      | 32     | dds.mongodb.4xlarge.arm2.mongos  | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | dds mongos | 16      | 64     | dds.mongodb.4xlarge.arm4.mongos  | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 2       | 4      | dds.mongodb.large.arm2.shard     | 2000      | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 2       | 8      | dds.mongodb.large.arm4.shard     | 2000      | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 4       | 8      | dds.mongodb.xlarge.arm2.shard    | 4000      | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 4       | 16     | dds.mongodb.xlarge.arm4.shard    | 4000      | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 8       | 16     | dds.mongodb.2xlarge.arm2.shard   | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 8       | 32     | dds.mongodb.2xlarge.arm4.shard   | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 16      | 32     | dds.mongodb.4xlarge.arm2.shard   | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 16      | 64     | dds.mongodb.4xlarge.arm4.shard   | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 32      | 64     | dds.mongodb.8xlarge.arm2.shard   | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 32      | 128    | dds.mongodb.8xlarge.arm4.shard   | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 64      | 128    | dds.mongodb.16xlarge.arm2.shard  | 16000     | 200-21000 |
| 鲲鹏                                                                                 | -    | shard      | 64      | 256    | dds.mongodb.16xlarge.arm4.shard  | 16000     | 200-21000 |
   
 #### 历史实例规格表
2021年7月以前创建的实例，请参考下列表中的连接数。
表4config节点的规格 
| 实例类型 | CPU类型 | 规格类型 | vCPU（个） | 内存（GB） | 规格ID                          | 缺省最大连接数配置 | 连接数取值范围  |
|:---|:---|:---|:---|:---|:---|:---|:---|
| 集群   | x86   | 通用型  | 2       | 4      | dds.mongodb.s6.large.2.config | 400       | 200-2000 |
| 集群   | x86   | 增强型  | 2       | 4      | dds.mongodb.c3.large.2.config | 400       | 200-2000 |
| 集群   | x86   | 增强Ⅱ型 | 2       | 4      | dds.mongodb.c6.large.2.config | 400       | 200-2000 |
| 集群   | 鲲鹏    | -    | 2       | 4      | dds.mongodb.large.arm2.config | 400       | 200-2000 |
   
表5dds mongos和shard节点的规格 
| 实例类型 | CPU类型 | 规格类型 | 组件         | vCPU（个） | 内存（GB） | 规格ID                             | 缺省最大连接数配置 | 连接数取值范围   |
|:---|:---|:---|:---|:---|:---|:---|:---|:---|
| 集群   | x86   | 通用型  | dds mongos | 1       | 4      | dds.mongodb.s6.medium.4.mongos   | 400       | 200-1000  |
| 集群   | x86   | 通用型  | dds mongos | 2       | 4      | dds.mongodb.s6.large.2.mongos    | 400       | 200-2000  |
| 集群   | x86   | 通用型  | dds mongos | 2       | 8      | dds.mongodb.s6.large.4.mongos    | 400       | 200-2000  |
| 集群   | x86   | 通用型  | dds mongos | 4       | 8      | dds.mongodb.s6.xlarge.2.mongos   | 1000      | 200-4000  |
| 集群   | x86   | 通用型  | dds mongos | 4       | 16     | dds.mongodb.s6.xlarge.4.mongos   | 1000      | 200-4000  |
| 集群   | x86   | 通用型  | dds mongos | 8       | 16     | dds.mongodb.s6.2xlarge.2.mongos  | 4000      | 200-16000 |
| 集群   | x86   | 通用型  | dds mongos | 8       | 32     | dds.mongodb.s6.2xlarge.4.mongos  | 4000      | 200-16000 |
| 集群   | x86   | 通用型  | shard      | 1       | 4      | dds.mongodb.s6.medium.4.shard    | 400       | 200-1000  |
| 集群   | x86   | 通用型  | shard      | 2       | 4      | dds.mongodb.s6.large.2.shard     | 400       | 200-2000  |
| 集群   | x86   | 通用型  | shard      | 2       | 8      | dds.mongodb.s6.large.4.shard     | 400       | 200-2000  |
| 集群   | x86   | 通用型  | shard      | 4       | 8      | dds.mongodb.s6.xlarge.2.shard    | 1000      | 200-4000  |
| 集群   | x86   | 通用型  | shard      | 4       | 16     | dds.mongodb.s6.xlarge.4.shard    | 1000      | 200-4000  |
| 集群   | x86   | 通用型  | shard      | 8       | 16     | dds.mongodb.s6.2xlarge.2.shard   | 4000      | 200-16000 |
| 集群   | x86   | 通用型  | shard      | 8       | 32     | dds.mongodb.s6.2xlarge.4.shard   | 4000      | 200-16000 |
| 集群   | x86   | 增强型  | dds mongos | 2       | 8      | dds.mongodb.c3.large.4.mongos    | 400       | 200-2000  |
| 集群   | x86   | 增强型  | dds mongos | 4       | 16     | dds.mongodb.c3.xlarge.4.mongos   | 1000      | 200-4000  |
| 集群   | x86   | 增强型  | dds mongos | 8       | 32     | dds.mongodb.c3.2xlarge.4.mongos  | 4000      | 200-16000 |
| 集群   | x86   | 增强型  | dds mongos | 16      | 64     | dds.mongodb.c3.4xlarge.4.mongos  | 8000      | 200-16000 |
| 集群   | x86   | 增强型  | dds mongos | 32      | 128    | dds.mongodb.c3.8xlarge.4.mongos  | 8000      | 200-16000 |
| 集群   | x86   | 增强型  | dds mongos | 60      | 256    | dds.mongodb.c3.15xlarge.4.mongos | 8000      | 200-16000 |
| 集群   | x86   | 增强型  | shard      | 2       | 8      | dds.mongodb.c3.large.4.shard     | 400       | 200-2000  |
| 集群   | x86   | 增强型  | shard      | 4       | 16     | dds.mongodb.c3.xlarge.4.shard    | 1000      | 200-4000  |
| 集群   | x86   | 增强型  | shard      | 8       | 32     | dds.mongodb.c3.2xlarge.4.shard   | 4000      | 200-16000 |
| 集群   | x86   | 增强型  | shard      | 16      | 64     | dds.mongodb.c3.4xlarge.4.shard   | 8000      | 200-16000 |
| 集群   | x86   | 增强型  | shard      | 32      | 128    | dds.mongodb.c3.8xlarge.4.shard   | 8000      | 200-16000 |
| 集群   | x86   | 增强型  | shard      | 60      | 256    | dds.mongodb.c3.15xlarge.4.shard  | 8000      | 200-16000 |
| 集群   | x86   | 增强Ⅱ型 | dds mongos | 2       | 8      | dds.mongodb.c6.large.4.mongos    | 400       | 200-2000  |
| 集群   | x86   | 增强Ⅱ型 | dds mongos | 4       | 16     | dds.mongodb.c6.xlarge.4.mongos   | 1000      | 200-4000  |
| 集群   | x86   | 增强Ⅱ型 | dds mongos | 8       | 32     | dds.mongodb.c6.2xlarge.4.mongos  | 4000      | 200-16000 |
| 集群   | x86   | 增强Ⅱ型 | dds mongos | 16      | 64     | dds.mongodb.c6.4xlarge.4.mongos  | 8000      | 200-16000 |
| 集群   | x86   | 增强Ⅱ型 | dds mongos | 32      | 128    | dds.mongodb.c6.8xlarge.4.mongos  | 8000      | 200-16000 |
| 集群   | x86   | 增强Ⅱ型 | dds mongos | 64      | 256    | dds.mongodb.c6.16xlarge.4.mongos | 8000      | 200-16000 |
| 集群   | x86   | 增强Ⅱ型 | shard      | 2       | 8      | dds.mongodb.c6.large.4.shard     | 400       | 200-2000  |
| 集群   | x86   | 增强Ⅱ型 | shard      | 4       | 16     | dds.mongodb.c6.xlarge.4.shard    | 1000      | 200-4000  |
| 集群   | x86   | 增强Ⅱ型 | shard      | 8       | 32     | dds.mongodb.c6.2xlarge.4.shard   | 4000      | 200-16000 |
| 集群   | x86   | 增强Ⅱ型 | shard      | 16      | 64     | dds.mongodb.c6.4xlarge.4.shard   | 8000      | 200-16000 |
| 集群   | x86   | 增强Ⅱ型 | shard      | 32      | 128    | dds.mongodb.c6.8xlarge.4.shard   | 8000      | 200-16000 |
| 集群   | x86   | 增强Ⅱ型 | shard      | 64      | 256    | dds.mongodb.c6.16xlarge.4.shard  | 8000      | 200-16000 |
| 集群   | 鲲鹏    | -    | dds mongos | 2       | 4      | dds.mongodb.large.arm2.mongos    | 400       | 200-2000  |
| 集群   | 鲲鹏    | -    | dds mongos | 2       | 8      | dds.mongodb.large.arm4.mongos    | 400       | 200-2000  |
| 集群   | 鲲鹏    | -    | dds mongos | 4       | 8      | dds.mongodb.xlarge.arm2.mongos   | 1000      | 200-4000  |
| 集群   | 鲲鹏    | -    | dds mongos | 4       | 16     | dds.mongodb.xlarge.arm4.mongos   | 1000      | 200-4000  |
| 集群   | 鲲鹏    | -    | dds mongos | 8       | 16     | dds.mongodb.2xlarge.arm2.mongos  | 4000      | 200-16000 |
| 集群   | 鲲鹏    | -    | dds mongos | 8       | 32     | dds.mongodb.2xlarge.arm4.mongos  | 4000      | 200-16000 |
| 集群   | 鲲鹏    | -    | dds mongos | 16      | 32     | dds.mongodb.4xlarge.arm2.mongos  | 8000      | 200-16000 |
| 集群   | 鲲鹏    | -    | dds mongos | 16      | 64     | dds.mongodb.4xlarge.arm4.mongos  | 8000      | 200-16000 |
| 集群   | 鲲鹏    | -    | shard      | 2       | 4      | dds.mongodb.large.arm2.shard     | 400       | 200-2000  |
| 集群   | 鲲鹏    | -    | shard      | 2       | 8      | dds.mongodb.large.arm4.shard     | 400       | 200-2000  |
| 集群   | 鲲鹏    | -    | shard      | 4       | 8      | dds.mongodb.xlarge.arm2.shard    | 1000      | 200-4000  |
| 集群   | 鲲鹏    | -    | shard      | 4       | 16     | dds.mongodb.xlarge.arm4.shard    | 1000      | 200-4000  |
| 集群   | 鲲鹏    | -    | shard      | 8       | 16     | dds.mongodb.2xlarge.arm2.shard   | 4000      | 200-16000 |
| 集群   | 鲲鹏    | -    | shard      | 8       | 32     | dds.mongodb.2xlarge.arm4.shard   | 4000      | 200-16000 |
| 集群   | 鲲鹏    | -    | shard      | 16      | 32     | dds.mongodb.4xlarge.arm2.shard   | 8000      | 200-16000 |
| 集群   | 鲲鹏    | -    | shard      | 16      | 64     | dds.mongodb.4xlarge.arm4.shard   | 8000      | 200-16000 |
   
#### 相关问题
#### 如何修改集群实例的最大连接数？
实例的最大连接数可通过修改参数"net.maxIncomingConnections"的值进行调整，如何调整参数值请参见[编辑参数模板](https://support.huaweicloud.com/usermanual-dds/zh-cn_topic_configuration.html)。
#### 如何购买集群实例？
详情请参见[购买集群实例](https://support.huaweicloud.com/usermanual-dds/dds_03_0210.html)。
#### 如何变更集群实例的CPU和内存？
集群实例可以变更dds mongos节点和shard节点的CPU和内存，具体操作请参见[变更集群实例的CPU和内存](https://support.huaweicloud.com/usermanual-dds/zh-cn_topic_0104472218.html)。
#### 如何扩容集群实例的磁盘空间？
集群实例可以对shard节点进行磁盘扩容，具体操作请参见[扩容存储](https://support.huaweicloud.com/usermanual-dds/zh-cn_topic_increase_storage.html)。
