本文介绍PolarDB MySQL版的标准版的计算节点规格信息。
产品子系列
标准版的计算节点规格支持两种子系列:通用规格和独享规格。
通用规格:同一服务器上的不同集群,会互相充分利用彼此空闲的计算资源(如CPU),通过复用计算资源享受规模红利,性价比更高。
独享规格:每个集群会独占所分配到的计算资源(如CPU),而不会与同一服务器上的其他集群共享资源,性能更加稳定可靠。
计算节点规格
计算节点规格的部分性能参数因存储类型的不同而有所差异。
ESSD云盘
CPU架构 | 规格代码 | CPU和内存 | 最大存储容量 | 默认最大连接数1 | 文件系统最大inode数2 | 文件系统最大blktag数3 | 最大IOPS和吞吐量4 |
X86(通用规格) | polar.mysql.g1.tiny.c | 1核1 GB | 32 TB | 1,000 | 6,707,200 | 8,384,000 |
|
polar.mysql.g1.small.c | 1核2 GB | 32 TB | 2,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g2.small.c | 2核4 GB | 32 TB | 2,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g4.medium.c | 2核8 GB | 32 TB | 2,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g8.medium.c | 2核16 GB | 32 TB | 6,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g2.large.c | 4核8 GB | 32 TB | 3,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g4.large.c | 4核16 GB | 32 TB | 6,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g8.large.c | 4核32 GB | 32 TB | 10,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g2.xlarge.c | 8核16 GB | 32 TB | 6,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g4.xlarge.c | 8核32 GB | 32 TB | 10,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g8.xlarge.c | 8核64 GB | 32 TB | 16,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g2.2xlarge.c | 16核32 GB | 32 TB | 10,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g4.2xlarge.c | 16核64 GB | 32 TB | 16,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g8.2xlarge.c | 16核128 GB | 32 TB | 16,000 | 6,707,200 | 8,384,000 | ||
X86(独享规格) | polar.mysql.x4.medium.c | 2核8 GB | 32 TB | 6,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x8.medium.c | 2核16 GB | 32 TB | 8,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x2.large.c | 4核8 GB | 32 TB | 6,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x4.large.c | 4核16 GB | 32 TB | 8,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x8.large.c | 4核32 GB | 32 TB | 8,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x2.xlarge.c | 8核16 GB | 32 TB | 8,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x4.xlarge.c | 8核32 GB | 32 TB | 10,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x8.xlarge.c | 8核64 GB | 32 TB | 16,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x2.2xlarge.c | 16核32 GB | 32 TB | 10,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x4.2xlarge.c | 16核64 GB | 32 TB | 32,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x8.2xlarge.c | 16核128 GB | 32 TB | 32,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x2.4xlarge.c | 32核64 GB | 32 TB | 32,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x4.4xlarge.c | 32核128 GB | 32 TB | 64,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x8.4xlarge.c | 32核256 GB | 32 TB | 64,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x4.8xlarge.c | 64核256 GB | 32 TB | 64,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x8.8xlarge.c | 64核512 GB | 32 TB | 64,000 | 6,707,200 | 8,384,000 | ||
倚天ARM(通用规格) | polar.mysql.g1m.tiny.c | 1核1 GB | 32 TB | 1,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g1m.small.c | 1核2 GB | 32 TB | 2,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g2m.small.c | 2核4 GB | 32 TB | 2,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g4m.medium.c | 2核8 GB | 32 TB | 2,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g8m.medium.c | 2核16 GB | 32 TB | 6,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g2m.large.c | 4核8 GB | 32 TB | 3,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g4m.large.c | 4核16 GB | 32 TB | 6,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g8m.large.c | 4核32 GB | 32 TB | 10,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g2m.xlarge.c | 8核16 GB | 32 TB | 6,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g4m.xlarge.c | 8核32 GB | 32 TB | 10,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g8m.xlarge.c | 8核64 GB | 32 TB | 16,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g2m.2xlarge.c | 16核32 GB | 32 TB | 10,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g4m.2xlarge.c | 16核64 GB | 32 TB | 16,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.g8m.2xlarge.c | 16核128 GB | 32 TB | 16,000 | 6,707,200 | 8,384,000 | ||
倚天ARM(独享规格) | polar.mysql.x4m.medium.c | 2核8 GB | 32 TB | 6,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x8m.medium.c | 2核16 GB | 32 TB | 8,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x2m.large.c | 4核8 GB | 32 TB | 6,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x4m.large.c | 4核16 GB | 32 TB | 8,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x8m.large.c | 4核32 GB | 32 TB | 8,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x2m.xlarge.c | 8核16 GB | 32 TB | 8,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x4m.xlarge.c | 8核32 GB | 32 TB | 10,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x8m.xlarge.c | 8核64 GB | 32 TB | 16,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x2m.2xlarge.c | 16核32 GB | 32 TB | 10,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x4m.2xlarge.c | 16核64 GB | 32 TB | 32,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x8m.2xlarge.c | 16核128 GB | 32 TB | 32,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x2m.4xlarge.c | 32核64 GB | 32 TB | 32,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x4m.4xlarge.c | 32核128 GB | 32 TB | 64,000 | 6,707,200 | 8,384,000 | ||
polar.mysql.x8m.4xlarge.c | 32核256 GB | 32 TB | 64,000 | 6,707,200 | 8,384,000 |
默认最大连接数1
表格中展示的最大连接数为默认值。您可以在控制台通过修改max_connections
参数来调整集群实际的最大连接数,该参数的取值范围为1-200000。关于如何修改集群参数,请参见设置集群参数。
文件系统最大inode数2、文件系统最大blktag数3
PolarDB标准版存储层使用ESSD云盘,ESSD云盘有inode和blktag的概念。简单理解,一个inode对应一个文件,一个blktag对应块存储上一段4 MB的逻辑空间。inode和blktag数量,与存储盘的容量是线性相关,比如10 GB的盘,最多有2,048个inode和2,560个blktag。容量、inode或blktag任意一个指标到达规格上限,用户都需要升级规格。
容量单位换算关系如下:
1 TB=1,024 GB
1 GB=1,024 MB
1 MB=1,024 KB
1 KB=1,024 Byte
最大IOPS和吞吐量4
最大IOPS和吞吐量为理论最大值,并不能保证在任何条件下都可以达到标称最大值,通常会受限于所购买的云盘空间大小。
ESSD AutoPL云盘的初始IOPS为50,000,您可在购买时配置AutoPL云盘预配置IOPS,或变更ESSD云盘性能,提高其IOPS上限,最大总IOPS为100,000。
关于ESSD云盘的性能详情,请参见ESSD云盘和ESSD AutoPL云盘。
ESSD云盘的IOPS和吞吐量是多个节点之间共享的。例如,若集群的计算节点规格为8核32 GB,存储类型为ESSD PL1云盘,数据库节点包含1个读写节点和3个只读节点,那么这4个节点将共享一份存储性能。也就是说,4个节点的总IOPS不能超过ESSD PL1的性能上限50,000 IOPS,总吞吐量不能超过350 MB/s。此外,是否能达到ESSD PL1云盘的性能上限还取决于购买的云盘空间大小。
PSL4/PSL5
CPU架构 | 规格代码 | CPU和内存 | 最大存储容量 | 默认最大连接数1 | 文件系统最大inode数2 | 文件系统最大blktag数3 | PSL4最大IOPS4 | PSL5最大IOPS4 | I/O带宽 |
X86(通用规格) | polar.mysql.g1.tiny.c | 1核1 GB | 100 TB | 1,000 | 20,971,520 | 26,214,400 | 1,500 | 3,000 | 1 Gbps |
polar.mysql.g1.small.c | 1核2 GB | 100 TB | 1,500 | 20,971,520 | 26,214,400 | 1,700 | 3,400 | 1 Gbps | |
polar.mysql.g2.small.c | 2核4 GB | 100 TB | 1,800 | 20,971,520 | 26,214,400 | 4,000 | 8,000 | 1 Gbps | |
polar.mysql.g4.medium.c | 2核8 GB | 100 TB | 2,000 | 20,971,520 | 26,214,400 | 8,000 | 16,000 | 1 Gbps | |
polar.mysql.g8.medium.c | 2核16 GB | 100 TB | 8,000 | 20,971,520 | 26,214,400 | 18,000 | 36,000 | 2 Gbps | |
polar.mysql.g2.large.c | 4核8 GB | 100 TB | 3,000 | 20,971,520 | 26,214,400 | 15,000 | 30,000 | 2 Gbps | |
polar.mysql.g4.large.c | 4核16 GB | 100 TB | 6,000 | 20,971,520 | 26,214,400 | 21,000 | 42,000 | 2 Gbps | |
polar.mysql.g8.large.c | 4核32 GB | 100 TB | 8,000 | 20,971,520 | 26,214,400 | 36,000 | 72,000 | 4 Gbps | |
polar.mysql.g2.xlarge.c | 8核16 GB | 100 TB | 6,000 | 20,971,520 | 26,214,400 | 18,000 | 36,000 | 2 Gbps | |
polar.mysql.g4.xlarge.c | 8核32 GB | 100 TB | 10,000 | 20,971,520 | 26,214,400 | 27,000 | 54,000 | 4 Gbps | |
polar.mysql.g8.xlarge.c | 8核64 GB | 100 TB | 16,000 | 20,971,520 | 26,214,400 | 54,000 | 108,000 | 10 Gbps | |
polar.mysql.g2.2xlarge.c | 16核32 GB | 100 TB | 16,000 | 20,971,520 | 26,214,400 | 31,500 | 63,000 | 4 Gbps | |
polar.mysql.g4.2xlarge.c | 16核64 GB | 100 TB | 16,000 | 20,971,520 | 26,214,400 | 31,500 | 63,000 | 4 Gbps | |
polar.mysql.g8.2xlarge.c | 16核128 GB | 100 TB | 16,000 | 20,971,520 | 26,214,400 | 31,500 | 63,000 | 8 Gbps | |
X86(独享规格) | polar.mysql.x4.medium.c | 2核8 GB | 100 GB | 6,000 | 20,971,520 | 26,214,400 | 8,000 | 16,000 | 1 Gbps |
polar.mysql.x8.medium.c | 2核16 GB | 100 GB | 8,000 | 20,971,520 | 26,214,400 | 18,000 | 36,000 | 2 Gbps | |
polar.mysql.x2.large.c | 4核8 GB | 100 GB | 3,000 | 20,971,520 | 26,214,400 | 15,000 | 30,000 | 2 Gbps | |
polar.mysql.x4.large.c | 4核16 GB | 100 GB | 8,000 | 20,971,520 | 26,214,400 | 32,000 | 64,000 | 4 Gbps | |
polar.mysql.x8.large.c | 4核32 GB | 100 GB | 8,000 | 20,971,520 | 26,214,400 | 36,000 | 72,000 | 4 Gbps | |
polar.mysql.x2.xlarge.c | 8核16 GB | 100 GB | 6,000 | 20,971,520 | 26,214,400 | 18,000 | 36,000 | 2 Gbps | |
polar.mysql.x4.xlarge.c | 8核32 GB | 100 GB | 10,000 | 20,971,520 | 26,214,400 | 48,000 | 96,000 | 8 Gbps | |
polar.mysql.x8.xlarge.c | 8核64 GB | 100 GB | 16,000 | 20,971,520 | 26,214,400 | 54,000 | 108,000 | 10 Gbps | |
polar.mysql.x2.2xlarge.c | 16核32 GB | 100 GB | 16,000 | 20,971,520 | 26,214,400 | 31,500 | 63,000 | 4 Gbps | |
polar.mysql.x4.2xlarge.c | 16核64 GB | 100 GB | 32,000 | 20,971,520 | 26,214,400 | 96,000 | 192,000 | 16 Gbps | |
polar.mysql.x8.2xlarge.c | 16核128 GB | 100 GB | 32,000 | 20,971,520 | 26,214,400 | 96,000 | 192,000 | 16 Gbps | |
polar.mysql.x2.4xlarge.c | 32核64 GB | 100 GB | 32,000 | 20,971,520 | 26,214,400 | 96,000 | 192,000 | 16 Gbps | |
polar.mysql.x4.4xlarge.c | 32核128 GB | 100 GB | 64,000 | 20,971,520 | 26,214,400 | 144,000 | 288,000 | 20 Gbps | |
polar.mysql.x8.4xlarge.c | 32核256 GB | 300 GB | 64,000 | 20,971,520 | 26,214,400 | 144,000 | 288,000 | 24 Gbps | |
polar.mysql.x4.8xlarge.c | 64核256 GB | 500 GB | 64,000 | 20,971,520 | 26,214,400 | 144000 | 288,000 | 24 Gbps | |
polar.mysql.x8.8xlarge.c | 64核512 GB | 500 GB | 100,000 | 20,971,520 | 26,214,400 | 144,000 | 288,000 | 24 Gbps | |
倚天ARM(通用规格) | polar.mysql.g1m.tiny.c | 1核1 GB | 100 TB | 1,000 | 20,971,520 | 26,214,400 | 1,500 | 3,000 | 1 Gbps |
polar.mysql.g1m.small.c | 1核2 GB | 100 TB | 1,500 | 20,971,520 | 26,214,400 | 1,700 | 3,400 | 1 Gbps | |
polar.mysql.g2m.small.c | 2核4 GB | 100 TB | 1,800 | 20,971,520 | 26,214,400 | 4,000 | 8,000 | 1 Gbps | |
polar.mysql.g4m.medium.c | 2核8 GB | 100 TB | 2,000 | 20,971,520 | 26,214,400 | 8,000 | 16,000 | 1 Gbps | |
polar.mysql.g8m.medium.c | 2核16 GB | 100 TB | 8,000 | 20,971,520 | 26,214,400 | 18,000 | 36,000 | 2 Gbps | |
polar.mysql.g2m.large.c | 4核8 GB | 100 TB | 3,000 | 20,971,520 | 26,214,400 | 15,000 | 30,000 | 2 Gbps | |
polar.mysql.g4m.large.c | 4核16 GB | 100 TB | 6,000 | 20,971,520 | 26,214,400 | 21,000 | 42,000 | 2 Gbps | |
polar.mysql.g8m.large.c | 4核32 GB | 100 TB | 8,000 | 20,971,520 | 26,214,400 | 36,000 | 72,000 | 4 Gbps | |
polar.mysql.g2m.xlarge.c | 8核16 GB | 100 TB | 6,000 | 20,971,520 | 26,214,400 | 18,000 | 36,000 | 2 Gbps | |
polar.mysql.g4m.xlarge.c | 8核32 GB | 100 TB | 10,000 | 20,971,520 | 26,214,400 | 27,000 | 54,000 | 4 Gbps | |
polar.mysql.g8m.xlarge.c | 8核64 GB | 100 TB | 16,000 | 20,971,520 | 26,214,400 | 54,000 | 108,000 | 10 Gbps | |
polar.mysql.g2m.2xlarge.c | 16核32 GB | 100 TB | 16,000 | 20,971,520 | 26,214,400 | 31,500 | 63,000 | 4 Gbps | |
polar.mysql.g4m.2xlarge.c | 16核64 GB | 100 TB | 16,000 | 20,971,520 | 26,214,400 | 31,500 | 63,000 | 4 Gbps | |
polar.mysql.g8m.2xlarge.c | 16核128 GB | 100 TB | 16,000 | 20,971,520 | 26,214,400 | 31,500 | 63,000 | 8 Gbps | |
倚天ARM(独享规格) | polar.mysql.x4m.medium.c | 2核8 GB | 100 GB | 6,000 | 20,971,520 | 26,214,400 | 8,000 | 16,000 | 1 Gbps |
polar.mysql.x8m.medium.c | 2核16 GB | 100 GB | 8,000 | 20,971,520 | 26,214,400 | 18,000 | 36,000 | 2 Gbps | |
polar.mysql.x2m.large.c | 4核8 GB | 100 GB | 3,000 | 20,971,520 | 26,214,400 | 15,000 | 30,000 | 2 Gbps | |
polar.mysql.x4m.large.c | 4核16 GB | 100 GB | 8,000 | 20,971,520 | 26,214,400 | 32,000 | 64,000 | 4 Gbps | |
polar.mysql.x8m.large.c | 4核32 GB | 100 GB | 8,000 | 20,971,520 | 26,214,400 | 36,000 | 72,000 | 4 Gbps | |
polar.mysql.x2m.xlarge.c | 8核16 GB | 100 GB | 6,000 | 20,971,520 | 26,214,400 | 18,000 | 36,000 | 2 Gbps | |
polar.mysql.x4m.xlarge.c | 8核32 GB | 100 GB | 10,000 | 20,971,520 | 26,214,400 | 48,000 | 96,000 | 8 Gbps | |
polar.mysql.x8m.xlarge.c | 8核64 GB | 100 GB | 16,000 | 20,971,520 | 26,214,400 | 54,000 | 108,000 | 10 Gbps | |
polar.mysql.x2m.2xlarge.c | 16核32 GB | 100 GB | 16,000 | 20,971,520 | 26,214,400 | 31,500 | 63,000 | 4 Gbps | |
polar.mysql.x4m.2xlarge.c | 16核64 GB | 100 GB | 32,000 | 20,971,520 | 26,214,400 | 96,000 | 192,000 | 16 Gbps | |
polar.mysql.x8m.2xlarge.c | 16核128 GB | 100 GB | 32,000 | 20,971,520 | 26,214,400 | 96,000 | 192,000 | 16 Gbps | |
polar.mysql.x2m.4xlarge.c | 32核64 GB | 100 GB | 32,000 | 62,914,560 | 78,643,200 | 96,000 | 192,000 | 16 Gbps | |
polar.mysql.x4m.4xlarge.c | 32核128 GB | 100 GB | 64,000 | 104,857,600 | 131,072,000 | 144,000 | 288,000 | 20 Gbps | |
polar.mysql.x8m.4xlarge.c | 32核256 GB | 300 GB | 64,000 | 104,857,600 | 131,072,000 | 144,000 | 288,000 | 24 Gbps |
存储类型为PSL4或PSL5的集群最大IOPS和I/O带宽随着节点数量的增加而成倍增加。例如,若集群的子系列为独享规格,计算节点为8核32 GB,存储类型为PSL5,数据库节点包含1个读写节点和3个只读节点,那么这4个节点总共可以获得的最大存储性能为:4*96000 IOPS,4*8 Gbps。
存储类型为PSL4或PSL5的集群各个子集群拥有独立的存储规格,互不干扰。
例如,若购买的集群存储规格的IOPS是96000,带宽是8 Gbps,1个读写节点和3个只读节点共4个子集群,那么每个子集群都拥有96000 IOPS和8 Gbps的带宽,各个子集群之间是互不影响的。
PSL4的IOPS不仅受到计算规格中规定的上限限制,还受到存储空间的影响。存储空间的IOPS计算公式为
IOPS=min{1800+50*容量, 50000}
,其中容量单位为GB。例如,您购买的计算节点规格为polar.mysql.x8.xlarge.c,其计算规格中规定的IOPS上限为54000。但您实际存储空间只有100 GB,那么存储空间的IOPS为
min{1800+50*100, 50000}=6800
。当前计算节点的最终IOPS为min{计算规格限制,存储空间限制}={54000, 6800}=6800
。若需调整最大存储容量,请联系我们进行技术支持评估。
默认最大连接数1
表格中展示的最大连接数为默认值。您可以在控制台通过修改max_connections参数来调整集群实际的最大连接数,该参数的取值范围为1-200000。关于如何修改集群参数,请参见设置集群参数。
文件系统最大inode数2、文件系统最大blktag数3
PolarDB通过自研分布式文件系统PolarFS访问底层存储,和传统文件系统类似,PolarFS也有inode和blktag的概念。简单理解,一个inode对应一个文件,一个blktag对应块存储上一段4 MB的逻辑空间。inode和blktag数量,跟存储盘的容量是线性相关的,比如10 GB的盘,最多有2048个inode和2560个blktag。容量、inode或blktag任意一个指标到达规格上限,用户都需要升级规格。
容量单位换算关系:
1 TB=1,024 GB
1 GB=1,024 MB
1 MB=1,024 KB
1 KB=1,024 Byte
最大IOPS4
最大IOPS为理论最大值,并不能保证在任何条件下都可以达到标称最大值。