全部产品
Search
文档中心

云原生数据库 PolarDB:企业版计算节点规格

更新时间:Mar 12, 2024

PolarDB PostgreSQL版的所有节点规格均为独享型节点。独享型节点是指该节点独占所分配到的CPU、内存、存储和I/O资源,而非与其他节点共享资源,因此性能更加稳定可靠。

PolarDB PostgreSQL版目前提供以下规格的节点供您选择。

表 1. 计算节点规格(PostgreSQL 11 )

节点规格

CPU和内存数

最大存储容量

最大连接数1

内网带宽

最大IOPS

I/O带宽

polar.pg.x4.medium

2核

8 GB

5 TB

800

1 Gbps

16,000

1 Gbps

polar.pg.x4.large

4核

16 GB

10 TB

1600

10 Gbps

64,000

4 Gbps

polar.pg.x4.xlarge

8核

32 GB

10 TB

3,200

10 Gbps

128,000

8 Gbps

polar.pg.x8.xlarge

8核

64 GB

30 TB

3,200

10 Gbps

160,000

10 Gbps

polar.pg.x8.2xlarge

16核

128 GB

50 TB

12,800

10 Gbps

256,000

16 Gbps

polar.pg.x8.4xlarge

32核

256 GB

50 TB

25,600

10 Gbps

384,000

24 Gbps

polar.pg.x8.8xlarge

64核

512 GB

100 TB

36,000

10 Gbps

409,600

24 Gbps

polar.pg.x8.12xlarge

88核

710 GB

100 TB

36,000

25 Gbps

512,000

32 Gbps

说明
  • 最大连接数1:即参数max_connections,是最大的可连接数限制。根据业务情况不同,计算节点实际可支持的最大连接数会存在差异。详情请参见最大连接数

  • 在内核小版本(V1.1.7)(发布时间:2020年12月)中,调整了部分计算节点规格支持的最大连接数(即为上表中展示的最大连接数)。在此之后新创建的集群,其最大连接数即为调整后的值。对于存量集群,您可以通过以下两种方式来修改集群的最大连接数:

    • 您可以通过变配来修改集群的最大连接数。

    • 您可以前往配额中心,在配额名称PolarDB PG 调整最大连接数操作列,单击申请,申请修改集群的最大连接数

表 2. 计算节点规格(PostgreSQL 14 )

节点规格

CPU和内存数

最大存储容量

内网带宽

最大IOPS

I/O带宽

polar.pg.x4.medium

2核

8 GB

5 TB

1 Gbps

16,000

1 Gbps

polar.pg.x4.large

4核

16 GB

10 TB

10 Gbps

64,000

4 Gbps

polar.pg.x4.xlarge

8核

32 GB

10 TB

10 Gbps

128,000

8 Gbps

polar.pg.x8.xlarge

8核

64 GB

30 TB

10 Gbps

160,000

10 Gbps

polar.pg.x8.2xlarge

16核

128 GB

50 TB

10 Gbps

256,000

16 Gbps

polar.pg.x8.4xlarge

32核

256 GB

50 TB

10 Gbps

384,000

24 Gbps

polar.pg.x8.8xlarge

64核

512 GB

100 TB

10 Gbps

409,600

24 Gbps

polar.pg.x8.12xlarge

88核

710 GB

100 TB

25 Gbps

512,000

32 Gbps

最大连接数

  • PolarDB PostgreSQL版最大连接数是系统允许的最大连接数,当数据库并发用户超过该连接数后,会导致新连接无法建立或者连接超时。

    业务系统不同,每个连接消耗的内存资源不同,导致数据库实际能达到的最大连接不同。

  • 查询当前系统配置的最大连接数。

    show max_connections;
  • 查询当前实际连接数。

    select count(1) from pg_stat_activity;
  • 请关注业务和数据库实际情况,建议连接数不超过以下的建议值。

    建议值公式:LEAST({DBInstanceClassMemory/11MB}, 5000)

  • 如果应用程序需要更大的连接数,请选择具有更大内存的数据库集群。