1. 集群节点信息相关

1.1 查询 GaussDB 分布式集群的节点拓扑

gaussdb=# SELECT oid, node_name, node_type, node_host, node_port FROM pgxc_node ORDER BY 2,3;
  oid  |     node_name     | node_type |    node_host    | node_port 
-------+-------------------+-----------+-----------------+-----------
 16384 | cn_5001           | C         | 192.168.182.141 |8000
 15866 | cn_5002           | C         | 192.168.182.142 |8000
 16391 | cn_5003           | C         | 192.168.182.143 |8000
 16386 | dn_6001_6002_6003 | D         | 192.168.182.142 |33100
 16387 | dn_6001_6002_6003 | S         | 192.168.182.143 |33100
 16385 | dn_6001_6002_6003 | S         | 192.168.182.141 |33100
 16388 | dn_6004_6005_6006 | D         | 192.168.182.142 |33120
 16390 | dn_6004_6005_6006 | S         | 192.168.182.141 |33120
 16389 | dn_6004_6005_6006 | S         | 192.168.182.143 |33120
 16394 | dn_6007_6008_6009 | D         | 192.168.182.142 |33140
 16393 | dn_6007_6008_6009 | S         | 192.168.182.141 |33140
 16392 | dn_6007_6008_6009 | S         | 192.168.182.143 |33140
(12 rows)

说明:D 代表 Primary, S 代表 Standby

1.2 查看流控状态

gaussdb=# select * from dbe_perf.global_recovery_status order by 1,2; 
     node_name     | standby_node_name |    source_ip    | source_port |     dest_ip     | dest_port | current_rto | target_rto | current_sleep_time 
-------------------+-------------------+-----------------+-------------+-----------------+-----------+-------------+------------+--------------------
 dn_6001_6002_6003 | dn_6001           | 192.168.182.142 |33101 | 192.168.182.141 |45550 |0 |60 |0
 dn_6001_6002_6003 | dn_6003           | 192.168.182.142 |33101 | 192.168.182.143 |37884 |0 |60 |0
 dn_6004_6005_6006 | dn_6005           | 192.168.182.142 |33121 | 192.168.182.143 |43966 |0 |60 |0
 dn_6004_6005_6006 | dn_6006           | 192.168.182.142 |33121 | 192.168.182.141 |47860 |0 |60 |0
 dn_6007_6008_6009 | dn_6007           | 192.168.182.142 |33141 | 192.168.182.143 |52640 |0 |60 |0
 dn_6007_6008_6009 | dn_6008           | 192.168.182.142 |33141 | 192.168.182.141 |53024 |0 |60 |0
(6 rows)

集群中共 3 组 DN,每组 1 主 2 备 = 6 条主备复制链路,各字段解释如下:

  • node_name : 主 DN 组名(主节点所在组)

  • standby_node_name :备节点名

  • current_rto :当前实际 RTO(秒)——备库追上主库还需要多久

  • target_rto :目标 RTO 阈值(秒),超过这个就告警

  • current_sleep_time:当前复制线程休眠时间(流复制空闲时的心跳间隔)

发现所有的主都在 192.168.182.142 上,因此把 dn_6001_6002_6003 的主切到 192.168.182.141。

1.3 切换 DN 主从

  • 首先要找到组的 DN 文件夹名字,分别看三个目录里的 replconninfo 或 port,按端口 33100 或 33101 进行确认
for d in dn_master dn_slave dn_dummy; do
  echo "=== $d ==="
  grep -E '^port|^replconninfo' /data/gaussdb/data/$d/gaussdb.conf 2>/dev/null | head -3
done
=== dn_master ===
port = '33100'        # (change requires restart)
replconninfo1 = 'localhost=192.168.182.141 localport=33101 localheartbeatport=33105 localservice=33104 remotehost=192.168.182.142 remoteport=33101 remoteheartbeatport=33105 remoteservice=33104'    # replication connection information used to connect primary on standby, or standby on primary,
replconninfo2 = 'localhost=192.168.182.141 localport=33101 localheartbeatport=33105 localservice=33104 remotehost=192.168.182.143 remoteport=33101 remoteheartbeatport=33105 remoteservice=33104'    # replication connection information used to connect secondary on primary or standby,

=== dn_slave ===
port = '33140'        # (change requires restart)
replconninfo1 = 'localhost=192.168.182.141 localport=33141 localheartbeatport=33145 localservice=33144 remotehost=192.168.182.143 remoteport=33141 remoteheartbeatport=33145 remoteservice=33144'    # replication connection information used to connect primary on standby, or standby on primary,
replconninfo2 = 'localhost=192.168.182.141 localport=33141 localheartbeatport=33145 localservice=33144 remotehost=192.168.182.142 remoteport=33141 remoteheartbeatport=33145 remoteservice=33144'    # replication connection information used to connect secondary on primary or standby,

=== dn_dummy ===
port = '33120'        # (change requires restart)
replconninfo1 = 'localhost=192.168.182.141 localport=33121 localheartbeatport=33125 localservice=33124 remotehost=192.168.182.142 remoteport=33121 remoteheartbeatport=33125 remoteservice=33124'    # replication connection information used to connect primary on standby, or standby on primary,
replconninfo2 = 'localhost=192.168.182.141 localport=33121 localheartbeatport=33125 localservice=33124 remotehost=192.168.182.143 remoteport=33121 remoteheartbeatport=33125 remoteservice=33124'    # replication connection information used to connect secondary on primary or standby,

  • 在 192.168.182.141 上进行切换,DN 的文件夹名字是 dn_master(原先规划的 dn_master 就是第一个分片的主)

[omm@gaussdb1 data]$ gs_ctl switchover -D /data/gaussdb/data/dn_master -m fast
[2026-08-20 18:00:46.125][480088][][gs_ctl]: gs_ctl switchover ,datadir is /data/gaussdb/data/dn_master 
[2026-08-20 18:00:46.125][480088][][gs_ctl]: switchover term (1)
[2026-08-20 18:00:46.137][480088][][gs_ctl]: waiting for server to switchover...........
[2026-08-20 18:00:54.979][480088][][gs_ctl]: done
[2026-08-20 18:00:54.979][480088][][gs_ctl]: switchover completed (/data/gaussdb/data/dn_master)
[omm@gaussdb1 data]$ 
  • 查询已经切换成功(D 代表 Primary, S 代表 Standby)

gaussdb=# SELECT oid, node_name, node_type, node_host, node_port FROM pgxc_node  WHERE node_name = 'dn_6001_6002_6003' ORDER BY 2,3;
  oid  |     node_name     | node_type |    node_host    | node_port 
-------+-------------------+-----------+-----------------+-----------
 16385 | dn_6001_6002_6003 | D         | 192.168.182.141 |33100
 16386 | dn_6001_6002_6003 | S         | 192.168.182.142 |33100
 16387 | dn_6001_6002_6003 | S         | 192.168.182.143 |33100
(3 rows)

-- 同理,在 192.168.182.143 上把 dn_6007_6008_6009 的主切到 192.168.182.143

[omm@gaussdb3 ~]$ gs_ctl switchover -D /data/gaussdb/data/dn_master -m fast
[2026-08-20 18:08:13.121][430137][][gs_ctl]: gs_ctl switchover ,datadir is /data/gaussdb/data/dn_master 
[2026-08-20 18:08:13.122][430137][][gs_ctl]: switchover term (1)
[2026-08-20 18:08:13.132][430137][][gs_ctl]: waiting for server to switchover...........
[2026-08-20 18:08:21.256][430137][][gs_ctl]: done
[2026-08-20 18:08:21.256][430137][][gs_ctl]: switchover completed (/data/gaussdb/data/dn_master)

gaussdb=# SELECT oid, node_name, node_type, node_host, node_port FROM pgxc_node  WHERE node_name = 'dn_6007_6008_6009' ORDER BY 2,3;
  oid  |     node_name     | node_type |    node_host    | node_port 
-------+-------------------+-----------+-----------------+-----------
 16392 | dn_6007_6008_6009 | D         | 192.168.182.143 |33140
 16393 | dn_6007_6008_6009 | S         | 192.168.182.141 |33140
 16394 | dn_6007_6008_6009 | S         | 192.168.182.142 |33140
(3 rows)

2. 会话查询

2.1 查看当前 CN 上的所有会话

gaussdb=# SELECT pid, datname, usename, state, client_addr, application_name, backend_start, xact_start FROM pg_stat_activity ORDER BY 1;
       pid       | datname  | usename | state  |   client_addr   |    application_name    |         backend_start         |          xact_start           
-----------------+----------+---------+--------+-----------------+------------------------+-------------------------------+-------------------------------
 139902783506176 | postgres | omm     | active || WLMArbiter             | 2026-08-20 13:35:28.046604+08 | 2026-08-20 14:33:10.67393+08
 139902965434112 | postgres | omm     | idle   || gs_perf                | 2026-08-20 13:34:38.655209+08 |
 139902982215424 | postgres | omm     | active || Asp                    | 2026-08-20 13:34:38.663814+08 |
 139902800287488 | postgres | omm     | active || WorkloadMonitor        | 2026-08-20 13:34:36.453243+08 | 2026-08-20 14:33:10.609464+08
 139903015778048 | postgres | omm     | idle   || WDRSnapshot            | 2026-08-20 13:34:38.673639+08 |
 139903063529216 | postgres | omm     ||| TxnSnapCapCapturer     | 2026-08-20 13:34:36.696174+08 |
 139903130654464 | postgres | omm     | active || COMMStatusCheck        | 2026-08-20 13:34:35.441206+08 |
 139903164217088 | postgres | omm     | active || JobScheduler           | 2026-08-20 13:34:38.594247+08 |
 139903044155136 | postgres | omm     ||| CfsShrinker            | 2026-08-20 13:34:35.700187+08 |
 139902998996736 | postgres | omm     | idle   || PercentileJob          | 2026-08-20 13:34:38.659203+08 |
 139902817068800 | postgres | omm     | active || workload               | 2026-08-20 13:35:16.605781+08 | 2026-08-20 14:33:06.302167+08
 139903113873152 | postgres | omm     ||| UndoLauncher           | 2026-08-20 13:34:36.787913+08 |
 139902948652800 | postgres | omm     | idle   || statement flush thread | 2026-08-20 13:34:38.741283+08 |
 139902389843712 | postgres | omm     ||| WorkloadRuleWorker     | 2026-08-20 13:34:37.422527+08 |
 139902766724864 | postgres | omm     | idle   || CsnMinSync             | 2026-08-20 13:34:36.803382+08 |
 139901463885568 | postgres | omm     | idle   | 127.0.0.1| cm_agent               | 2026-08-20 14:31:16.349324+08 |
 139901878073088 | postgres | omm     | idle   | 127.0.0.1| cm_agent               | 2026-08-20 14:31:17.365061+08 |
 139901564614400 | postgres | omm     | idle   | 127.0.0.1| cm_agent               | 2026-08-20 14:31:19.155118+08 |
 139901634672384 | postgres | omm     | idle   | 127.0.0.1| cm_agent               | 2026-08-20 14:31:25.237692+08 |
 139903654414080 | postgres | omm     | active || gsql                   | 2026-08-20 13:41:49.332409+08 | 2026-08-20 14:33:11.481533+08
               0 | postgres | omm     | idle   | 192.168.182.143 | cn_5003                | 2026-08-20 14:31:19.718017+08 |
               0 | postgres | omm     | idle   | 192.168.182.143 | cn_5003                | 2026-08-20 14:31:29.596825+08 |
               0 | postgres | omm     | idle   | 192.168.182.142 | cn_5002                | 2026-08-20 14:25:09.261031+08 |
(23 rows)

2.2 查看当前 CN 上的活动会话

gaussdb=#  SELECT pid, datname, usename, state, client_addr, application_name, backend_start, xact_start FROM pg_stat_activity WHERE state = 'active' ORDER BY 1;
       pid       | datname  | usename | state  | client_addr | application_name |         backend_start         |          xact_start           
-----------------+----------+---------+--------+-------------+------------------+-------------------------------+-------------------------------
 139902783506176 | postgres | omm     | active || WLMArbiter       | 2026-08-20 13:35:28.046604+08 | 2026-08-20 14:33:50.798223+08
 139902982215424 | postgres | omm     | active || Asp              | 2026-08-20 13:34:38.663814+08 |
 139902800287488 | postgres | omm     | active || WorkloadMonitor  | 2026-08-20 13:34:36.453243+08 | 2026-08-20 14:33:57.738533+08
 139903130654464 | postgres | omm     | active || COMMStatusCheck  | 2026-08-20 13:34:35.441206+08 |
 139903164217088 | postgres | omm     | active || JobScheduler     | 2026-08-20 13:34:38.594247+08 |
 139902817068800 | postgres | omm     | active || workload         | 2026-08-20 13:35:16.605781+08 | 2026-08-20 14:33:54.863741+08
 139903587288832 | postgres | omm     | active || gsql             | 2026-08-20 13:41:49.332409+08 | 2026-08-20 14:33:58.515338+08
(7 rows)

2.3 查询集群所有活动会话

gaussdb=#  SELECT coorname,pid,datname,usename,state,client_addr,application_name FROM pgxc_stat_activity WHERE state = 'active' ORDER BY coorname, pid;
 coorname |       pid       | datname  | usename | state  |   client_addr   | application_name 
----------+-----------------+----------+---------+--------+-----------------+------------------
 cn_5001  | 139902783506176 | postgres | omm     | active || WLMArbiter
 cn_5001  | 139902800287488 | postgres | omm     | active || WorkloadMonitor
 cn_5001  | 139902817068800 | postgres | omm     | active || workload
 cn_5001  | 139902982215424 | postgres | omm     | active || Asp
 cn_5001  | 139903130654464 | postgres | omm     | active || COMMStatusCheck
 cn_5001  | 139903164217088 | postgres | omm     | active || JobScheduler
 cn_5001  | 139904559347456 | postgres | omm     | active || gsql
 cn_5002  | 139730989590272 | postgres | omm     | active || WLMArbiter
 cn_5002  | 139731006371584 | postgres | omm     | active || WorkloadMonitor
 cn_5002  | 139731023152896 | postgres | omm     | active || workload
 cn_5002  | 139731407435520 | postgres | omm     | active || Asp
 cn_5002  | 139731424216832 | postgres | omm     | active || PercentileJob
 cn_5002  | 139731541686016 | postgres | omm     | active || COMMStatusCheck
 cn_5002  | 139731614525184 | postgres | omm     | active || JobScheduler
 cn_5002  | 139732069119744 | postgres | omm     | active | 192.168.182.141 | cn_5001
 cn_5003  | 139618141337344 | postgres | omm     | active || WLMArbiter
 cn_5003  | 139618284926720 | postgres | omm     | active || Asp
 cn_5003  | 139618456426240 | postgres | omm     | active || JobScheduler
 cn_5003  | 139618814453504 | postgres | omm     | active || COMMStatusCheck
 cn_5003  | 139618854893312 | postgres | omm     | active || WorkloadMonitor
 cn_5003  | 139618877830912 | postgres | omm     | active || workload
 cn_5003  | 139620577638144 | postgres | omm     | active | 192.168.182.141 | cn_5001

2.4 查询每个 CN 上的会话分布情况

gaussdb=# SELECT coorname, state, count(*) FROM pgxc_stat_activity  GROUP BY coorname, state ORDER BY coorname, count(*) DESC;
 coorname | state  | count 
----------+--------+-------
 cn_5001  | idle   |12
 cn_5001  | active |7
 cn_5001  ||4
 cn_5002  | idle   |11
 cn_5002  | active |8
 cn_5002  ||4
 cn_5003  | idle   |12
 cn_5003  | active |7
 cn_5003  ||4
(9 rows)

2.5 查询每个 CN 上的活动会话数量

gaussdb=# SELECT coorname, count(coorname) FROM pgxc_stat_activity WHERE state='active' GROUP BY coorname ORDER BY coorname;
 coorname | count 
----------+-------
 cn_5001  |7
 cn_5002  |8
 cn_5003  |7
(3 rows)

2.6 查询所有正在跑的超过 30 秒的查询

SELECT coorname, pid, usename, datname, now() - xact_start AS duration, query FROM pgxc_stat_activity WHERE xact_start IS NOT NULL AND now() - xact_start > interval '30 seconds' ORDER BY duration DESC;

2.7 查询内存消耗高的SQL语句

select unique_sql_id,substr(query,1,50) as
query ,n_calls,round(total_elapse_time/n_calls/1000,2) 
avg_time,round(total_elapse_time/1000,2) as
total_time,hash_mem_used,sort_mem_used 
from dbe_perf.statement t 
where n_calls>10 and avg_time>3
order by (hash_mem_used+sort_mem_used) desc;

3. 连接池查询

3.1 查看 CN 连接池端口

[omm@gaussdb1 cn]$ grep -E '^port|^pooler_port|^replconninfo' /data/gaussdb/data/cn/gaussdb.conf
port = '8000'        # (change requires restart)
pooler_port = '8001'
-- 8000 是 CN 对外提供数据库 SQL 服务的主端口,8001 是 CN 连接池(Pooler)端口

3.2 查询所有 CN 的 pooler 缓存中当前正在使用的连接数量

-- global_pooler_status 反映了全局连接池状态
gaussdb=# SELECT source_node_name, sum(in_use) FROM dbe_perf.global_pooler_status WHERE in_use = true GROUP BY source_node_name ORDER BY 1;  
 source_node_name | sum 
------------------+-----
 cn_5001          |11
 cn_5002          |5
 cn_5003          |5
(3 rows)

3.3 查询当前 CN 本地 pooler 缓存中当前正在使用的连接数量

gaussdb=# SELECT node_name, sum(in_use) FROM pg_pooler_status WHERE in_use = true GROUP BY node_name ORDER BY 1; 
     node_name     | sum 
-------------------+-----
 cn_5002           |1
 cn_5003           |1
 dn_6001_6002_6003 |1
 dn_6004_6005_6006 |1
 dn_6007_6008_6009 |1
(5 rows)

3.4 查询当前 CN 本地 pooler 缓存中的连接信息

gaussdb=#  SELECT database_name, user_name, node_oid, in_use,local_host,local_port,remote_host,remote_port,remote_pid , used_count FROM pg_stat_get_pooler_status();
 database_name | user_name | node_oid | in_use |   local_host    | local_port |   remote_host   | remote_port | remote_pid | used_count 
---------------+-----------+----------+--------+-----------------+------------+-----------------+-------------+------------+------------
 postgres      | omm       |16386 | t      | 192.168.182.141 |51132 | 192.168.182.142 |33100 |7930 |2
 postgres      | omm       |16389 | t      | 192.168.182.141 |39524 | 192.168.182.142 |33120 |7936 |2
 postgres      | omm       |16394 | t      | 192.168.182.141 |50684 | 192.168.182.142 |33140 |7937 |2
 postgres      | omm       |16388 | t      | 192.168.182.141 |40102 | 192.168.182.142 |8000 |8229 |0
 postgres      | omm       |15866 | t      | 192.168.182.141 |35832 | 192.168.182.143 |8000 |8126 |0
 testdb        | omm       |16386 | f      | none|0 | none|0 |5583 |6
 testdb        | omm       |16389 | f      | none|0 | none|0 |5589 |6
 testdb        | omm       |16394 | f      | none|0 | none|0 |5589 |6
(8 rows)


gaussdb=# SELECT oid, node_name, node_type, node_host, node_port FROM pgxc_node WHERE oid IN (16386, 16388,16394);
  oid  |     node_name     | node_type |    node_host    | node_port 
-------+-------------------+-----------+-----------------+-----------
 16386 | dn_6001_6002_6003 | D         | 192.168.182.142 |33100
 16394 | dn_6007_6008_6009 | D         | 192.168.182.142 |33140
 16388 | dn_6004_6005_6006 | D         | 192.168.182.142 |33120
(3 rows)
  • local_host + local_port : CN 侧本地地址+端口;

  • remote_host + remote_port: 远程地址+端口,如果是 8000, 说明对端是 CN,如果是 33100/33120/33140 说明对端是 DN。 也可以通过 pg_pooler_status 查询,但是没有 remote_port 列;

gaussdb=# SELECT node_name, database, user_name, node_oid, in_use,local_host,local_port,remote_host,remote_pid , used_count FROM pg_pooler_status ORDER BY node_name, database DESC;
     node_name     | database | user_name | node_oid | in_use |   local_host    | local_port |   remote_host   | remote_pid | used_count 
-------------------+----------+-----------+----------+--------+-----------------+------------+-----------------+------------+------------
 cn_5002           | postgres | omm       |    16388 | t      | 192.168.182.141 |      36778 | 192.168.182.142 |      10635 |          0
 cn_5003           | postgres | omm       |    15866 | t      | 192.168.182.141 |      38554 | 192.168.182.143 |      10528 |          0
 dn_6001_6002_6003 | testdb   | omm       |    16386 | f      | none            |          0 | none            |       5583 |          6
 dn_6001_6002_6003 | postgres | omm       |    16386 | t      | 192.168.182.141 |      51132 | 192.168.182.142 |       7930 |          3
 dn_6001_6002_6003 | postgres | omm       |    16386 | f      | none            |          0 | none            |      17869 |          1
 dn_6004_6005_6006 | testdb   | omm       |    16389 | f      | none            |          0 | none            |       5589 |          6
 dn_6004_6005_6006 | postgres | omm       |    16389 | t      | 192.168.182.141 |      39524 | 192.168.182.142 |       7936 |          3
 dn_6004_6005_6006 | postgres | omm       |    16389 | f      | none            |          0 | none            |      17875 |          1
 dn_6007_6008_6009 | testdb   | omm       |    16394 | f      | none            |          0 | none            |       5589 |          6
 dn_6007_6008_6009 | postgres | omm       |    16394 | f      | none            |          0 | none            |      17877 |          1
 dn_6007_6008_6009 | postgres | omm       |    16394 | t      | 192.168.182.141 |      50684 | 192.168.182.142 |       7937 |          3
(11 rows)`

3.5 查询当前 CN 本地 pooler 缓存中的连接数量

gaussdb=# SELECT node_name, database, user, count(*) as conn_count FROM pg_pooler_status GROUP BY node_name, database, userORDER BY node_name, database DESC;
     node_name     | database | current_user | conn_count 
-------------------+----------+--------------+------------
 cn_5002           | postgres | omm          |1
 cn_5003           | postgres | omm          |1
 dn_6001_6002_6003 | testdb   | omm          |1
 dn_6001_6002_6003 | postgres | omm          |2
 dn_6004_6005_6006 | testdb   | omm          |1
 dn_6004_6005_6006 | postgres | omm          |2
 dn_6007_6008_6009 | testdb   | omm          |1
 dn_6007_6008_6009 | postgres | omm          |2
(8 rows)

4. 线程池查询

4.1 查看当前所有 CN 线程池使用情况。

worker_info 看“线程在干什么”,session_info 看“连接/会话在干什么”。

gaussdb=# select node_name,session_info from dbe_perf.global_threadpool_status order by 1;
     node_name     |             session_info              
-------------------+---------------------------------------
 cn_5001           | total: 2 waiting: 0 running:0 idle: 2
 cn_5001           | total: 1 waiting: 0 running:1 idle: 0
 cn_5002           | total: 2 waiting: 0 running:0 idle: 2
 cn_5002           | total: 3 waiting: 0 running:1 idle: 2
 cn_5003           | total: 3 waiting: 0 running:1 idle: 2
 cn_5003           | total: 2 waiting: 0 running:0 idle: 2
 dn_6001_6002_6003 | total: 3 waiting: 0 running:0 idle: 3
 dn_6001_6002_6003 | total: 4 waiting: 0 running:1 idle: 3
 dn_6004_6005_6006 | total: 3 waiting: 0 running:0 idle: 3
 dn_6004_6005_6006 | total: 4 waiting: 0 running:1 idle: 3
 dn_6007_6008_6009 | total: 3 waiting: 0 running:1 idle: 2
 dn_6007_6008_6009 | total: 4 waiting: 0 running:0 idle: 4
(12 rows)

4.2 查询当前 CN 的连接池使用情况。

gaussdb=#  SELECT node_name,session_info FROM dbe_perf.local_threadpool_status;
 node_name |             session_info              
-----------+---------------------------------------
 cn_5001   | total: 2 waiting: 0 running:0 idle: 2
 cn_5001   | total: 1 waiting: 0 running:1 idle: 0
(2 rows)

4.3 统计 CN 和 DN 的线程池使用率

acutal 数量减去 idle 数量即为当前使用的线程数量,已使用线程数除以 acutal 数量,即为线程池使用率,线程池使用率持续超过 90% ,需要引起重视。

gaussdb=#  SELECT node_name,worker_info FROM dbe_perf.GLOBAL_THREADPOOL_STATUS;
     node_name     |                         worker_info                          
-------------------+--------------------------------------------------------------
 cn_5001           | default: 32 new: 0 expect: 32 actual: 32 idle: 32 pending: 0
 cn_5001           | default: 32 new: 0 expect: 32 actual: 32 idle: 31 pending: 0
 dn_6001_6002_6003 | default: 32 new: 0 expect: 32 actual: 32 idle: 31 pending: 0
 dn_6001_6002_6003 | default: 32 new: 0 expect: 32 actual: 32 idle: 30 pending: 0
 dn_6007_6008_6009 | default: 32 new: 0 expect: 32 actual: 32 idle: 30 pending: 0
 dn_6007_6008_6009 | default: 32 new: 0 expect: 32 actual: 32 idle: 31 pending: 0
 dn_6004_6005_6006 | default: 32 new: 0 expect: 32 actual: 32 idle: 31 pending: 0
 dn_6004_6005_6006 | default: 32 new: 0 expect: 32 actual: 32 idle: 30 pending: 0
 cn_5002           | default: 32 new: 0 expect: 32 actual: 32 idle: 31 pending: 0
 cn_5002           | default: 32 new: 0 expect: 32 actual: 32 idle: 32 pending: 0
 cn_5003           | default: 32 new: 0 expect: 32 actual: 32 idle: 31 pending: 0
 cn_5003           | default: 32 new: 0 expect: 32 actual: 32 idle: 32 pending: 0
(12 rows)

转载:实战派K8S&DB公众号

Logo

华为AI开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐