本文介绍PolarDB MySQL版的标准版的计算节点规格信息。
产品子系列
标准版的计算节点规格支持两种子系列:通用规格和独享规格。
通用规格:同一服务器上的不同集群,会互相充分利用彼此空闲的计算资源(如CPU),通过复用计算资源享受规模红利,性价比更高。
独享规格:每个集群会独占所分配到的计算资源(如CPU),而不会与同一服务器上的其他集群共享资源,性能更加稳定可靠。
计算节点规格
计算节点规格的部分性能参数因存储类型的不同而有所差异。
ESSD云盘
CPU架构 | 规格代码 | CPU和内存 | 最大存储容量 | 默认最大连接数1 | 文件系统最大inode数2 | 文件系统最大blktag数3 |
X86(通用规格) | polar.mysql.g1.tiny.c | 1核1 GB | 64 TB | 1,000 | 6,707,200 | 8,384,000 |
polar.mysql.g1.small.c | 1核2 GB | 64 TB | 2,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g2.small.c | 2核4 GB | 64 TB | 2,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g4.medium.c | 2核8 GB | 64 TB | 2,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g8.medium.c | 2核16 GB | 64 TB | 6,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g2.large.c | 4核8 GB | 64 TB | 3,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g4.large.c | 4核16 GB | 64 TB | 6,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g8.large.c | 4核32 GB | 64 TB | 10,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g2.xlarge.c | 8核16 GB | 64 TB | 6,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g4.xlarge.c | 8核32 GB | 64 TB | 10,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g8.xlarge.c | 8核64 GB | 64 TB | 16,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g2.2xlarge.c | 16核32 GB | 64 TB | 10,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g4.2xlarge.c | 16核64 GB | 64 TB | 16,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g8.2xlarge.c | 16核128 GB | 64 TB | 16,000 | 6,707,200 | 8,384,000 | |
X86(独享规格) | polar.mysql.x4.medium.c | 2核8 GB | 64 TB | 6,000 | 6,707,200 | 8,384,000 |
polar.mysql.x8.medium.c | 2核16 GB | 64 TB | 8,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x2.large.c | 4核8 GB | 64 TB | 6,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x4.large.c | 4核16 GB | 64 TB | 8,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x8.large.c | 4核32 GB | 64 TB | 8,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x2.xlarge.c | 8核16 GB | 64 TB | 8,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x4.xlarge.c | 8核32 GB | 64 TB | 10,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x8.xlarge.c | 8核64 GB | 64 TB | 16,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x2.2xlarge.c | 16核32 GB | 64 TB | 10,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x4.2xlarge.c | 16核64 GB | 64 TB | 32,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x8.2xlarge.c | 16核128 GB | 64 TB | 32,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x2.4xlarge.c | 32核64 GB | 64 TB | 32,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x4.4xlarge.c | 32核128 GB | 64 TB | 64,000 | 104,857,600 | 131,072,000 | |
polar.mysql.x8.4xlarge.c | 32核256 GB | 64 TB | 64,000 | 104,857,600 | 131,072,000 | |
polar.mysql.x4.8xlarge.c | 64核256 GB | 64 TB | 64,000 | 104,857,600 | 131,072,000 | |
polar.mysql.x8.8xlarge.c | 64核512 GB | 64 TB | 64,000 | 104,857,600 | 131,072,000 | |
倚天ARM(通用规格) | polar.mysql.g1m.tiny.c | 1核1 GB | 64 TB | 1,000 | 6,707,200 | 8,384,000 |
polar.mysql.g1m.small.c | 1核2 GB | 64 TB | 2,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g2m.small.c | 2核4 GB | 64 TB | 2,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g4m.medium.c | 2核8 GB | 64 TB | 2,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g8m.medium.c | 2核16 GB | 64 TB | 6,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g2m.large.c | 4核8 GB | 64 TB | 3,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g4m.large.c | 4核16 GB | 64 TB | 6,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g8m.large.c | 4核32 GB | 64 TB | 10,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g2m.xlarge.c | 8核16 GB | 64 TB | 6,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g4m.xlarge.c | 8核32 GB | 64 TB | 10,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g8m.xlarge.c | 8核64 GB | 64 TB | 16,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g2m.2xlarge.c | 16核32 GB | 64 TB | 10,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g4m.2xlarge.c | 16核64 GB | 64 TB | 16,000 | 6,707,200 | 8,384,000 | |
polar.mysql.g8m.2xlarge.c | 16核128 GB | 64 TB | 16,000 | 6,707,200 | 8,384,000 | |
倚天ARM(独享规格) | polar.mysql.x4m.medium.c | 2核8 GB | 64 TB | 6,000 | 6,707,200 | 8,384,000 |
polar.mysql.x8m.medium.c | 2核16 GB | 64 TB | 8,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x2m.large.c | 4核8 GB | 64 TB | 6,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x4m.large.c | 4核16 GB | 64 TB | 8,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x8m.large.c | 4核32 GB | 64 TB | 8,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x2m.xlarge.c | 8核16 GB | 64 TB | 8,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x4m.xlarge.c | 8核32 GB | 64 TB | 10,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x8m.xlarge.c | 8核64 GB | 64 TB | 16,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x2m.2xlarge.c | 16核32 GB | 64 TB | 10,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x4m.2xlarge.c | 16核64 GB | 64 TB | 32,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x8m.2xlarge.c | 16核128 GB | 64 TB | 32,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x2m.4xlarge.c | 32核64 GB | 64 TB | 32,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x4m.4xlarge.c | 32核128 GB | 64 TB | 64,000 | 6,707,200 | 8,384,000 | |
polar.mysql.x8m.4xlarge.c | 32核256 GB | 64 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
PSL4/PSL5
倚天ARM架构暂不支持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 | 8,000 | 16,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 | 21,000 | 42,000 | 4 Gbps | |
polar.mysql.g2.xlarge.c | 8核16 GB | 100 TB | 6,000 | 20,971,520 | 26,214,400 | 24,000 | 48,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 | 27,000 | 54,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 TB | 6,000 | 20,971,520 | 26,214,400 | 8,000 | 16,000 | 1 Gbps |
polar.mysql.x8.medium.c | 2核16 GB | 100 TB | 8,000 | 20,971,520 | 26,214,400 | 18,000 | 36,000 | 2 Gbps | |
polar.mysql.x2.large.c | 4核8 GB | 100 TB | 3,000 | 20,971,520 | 26,214,400 | 32,000 | 64,000 | 2 Gbps | |
polar.mysql.x4.large.c | 4核16 GB | 100 TB | 8,000 | 20,971,520 | 26,214,400 | 32,000 | 64,000 | 4 Gbps | |
polar.mysql.x8.large.c | 4核32 GB | 100 TB | 8,000 | 20,971,520 | 26,214,400 | 36,000 | 72,000 | 4 Gbps | |
polar.mysql.x2.xlarge.c | 8核16 GB | 100 TB | 6,000 | 20,971,520 | 26,214,400 | 48,000 | 96,000 | 2 Gbps | |
polar.mysql.x4.xlarge.c | 8核32 GB | 100 TB | 10,000 | 20,971,520 | 26,214,400 | 48,000 | 96,000 | 8 Gbps | |
polar.mysql.x8.xlarge.c | 8核64 GB | 100 TB | 16,000 | 20,971,520 | 26,214,400 | 50,000 | 108,000 | 10 Gbps | |
polar.mysql.x2.2xlarge.c | 16核32 GB | 100 TB | 16,000 | 20,971,520 | 26,214,400 | 50,000 | 192,000 | 4 Gbps | |
polar.mysql.x4.2xlarge.c | 16核64 GB | 100 TB | 32,000 | 20,971,520 | 26,214,400 | 50,000 | 192,000 | 16 Gbps | |
polar.mysql.x8.2xlarge.c | 16核128 GB | 100 TB | 32,000 | 20,971,520 | 26,214,400 | 50,000 | 192,000 | 16 Gbps | |
polar.mysql.x2.4xlarge.c | 32核64 GB | 100 TB | 32,000 | 20,971,520 | 26,214,400 | 80,000 | 288,000 | 16 Gbps | |
polar.mysql.x4.4xlarge.c | 32核128 GB | 500 TB | 64,000 | 104,857,600 | 131,072,000 | 80,000 | 288,000 | 20 Gbps | |
polar.mysql.x8.4xlarge.c | 32核256 GB | 500 TB | 64,000 | 104,857,600 | 131,072,000 | 80,000 | 288,000 | 24 Gbps | |
polar.mysql.x4.8xlarge.c | 64核256 GB | 500 TB | 64,000 | 104,857,600 | 131,072,000 | 100,000 | 288,000 | 24 Gbps | |
polar.mysql.x8.8xlarge.c | 64核512 GB | 500 TB | 100,000 | 104,857,600 | 131,072,000 | 100,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的带宽,各个子集群之间是互不影响的。
PolarStore(PSL4/PSL5)支持PB级存储。如您有相关需求,请联系我们预留相应资源。
默认最大连接数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为理论最大值,并不能保证在任何条件下都可以达到标称最大值。
ESSD云盘的IOPS和吞吐量
ESSD云盘的最大IOPS和吞吐量由云盘等级(PL0/PL1/PL2/PL3/AutoPL)与云盘容量决定,与计算节点规格(CPU和内存)无关。如需更高IOPS,请选择更高PL等级或升级AutoPL预配置。与之相对,PSL4/PSL5的最大IOPS随计算节点规格成倍变化。不同等级ESSD云盘对应的最大IOPS和吞吐量如下:
ESSD云盘的IOPS和吞吐量由集群内多个节点共享。例如,若集群的计算节点规格为8核32 GB,存储类型为ESSD PL1云盘,数据库节点包含1个读写节点和3个只读节点,那么这4个节点将共享一份存储性能,4个节点的总IOPS不能超过ESSD PL1的性能上限50,000 IOPS,总吞吐量不能超过350 MB/s。
表中数值是各等级的性能峰值。ESSD云盘的实际IOPS和吞吐量随所购买的云盘容量线性增长,容量足够大时才能达到表中上限。详细性能与容量对比,请根据下方计算公式进行换算。
ESSD AutoPL云盘您可在购买时配置AutoPL云盘预配置IOPS,或变更ESSD云盘性能,提高其IOPS上限,最大总IOPS为100,000。
关于ESSD云盘的性能详情,请参见ESSD云盘和ESSD AutoPL云盘。
云盘等级 | IOPS性能计算公式 | 最大IOPS | 吞吐量性能计算公式(MB/s) | 最大吞吐量 |
ESSD PL0云盘 | min{1800+12*容量, 10000} | 10,000 | min{100+0.25*容量, 180} | 180 MB/s |
ESSD PL1云盘 | min{1800+50*容量, 50000} | 50,000 | min{120+0.5*容量, 350} | 350 MB/s |
ESSD PL2云盘 | min{1800+50*容量, 100000} | 100,000 | min{120+0.5*容量, 750} | 750 MB/s |
ESSD PL3云盘 | min{1800+50*容量, 1000000} | 1,000,000 | min{120+0.5*容量, 4000} | 4,000 MB/s |
ESSD AutoPL云盘 |
| 100,000 |
| 1,131 MB/s |