You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
11:13:17,498 [Thread-295] ERROR jTPCCTData : ERROR: node:dn001, backend_pid:19703, nodename:dn001,backend_pid:19703,message:Failed to get pooled connections
Hint: This may happen because one or more nodes are currently unreachable, either because of node or network failure.
Its also possible that the target node may have hit the connection limit or the pooler is configured with low connections.
Please check if all nodes are running fine and also review max_connections and max_pool_size configuration parameters
11:13:17,498 [Thread-55] ERROR jTPCCTData : Unexpected SQLException in STOCK_LEVEL
benchmark 配置
warehouses=1000
terminals=500
runMins=10
架构
gtm master
cn01 master
cn02 master
datanode1 master
datanode2 master
cn节点的 连接参数配置
/tbase/pgxc/nodes/coord_master/postgresql.conf:max_pool_size = 2000
/tbase/pgxc/nodes/coord_master/postgresql.conf:max_connections = 2000
dn节点的连接参数配置
/tbase/pgxc/nodes/dn001/postgresql.conf:max_connections = 8000
/tbase/pgxc/nodes/dn001/postgresql.conf:max_pool_size = 8000
/tbase/pgxc/nodes/dn002/postgresql.conf:max_connections = 8000
/tbase/pgxc/nodes/dn002/postgresql.conf:max_pool_size = 8000
报错信息
11:13:17,498 [Thread-295] ERROR jTPCCTData : ERROR: node:dn001, backend_pid:19703, nodename:dn001,backend_pid:19703,message:Failed to get pooled connections
Hint: This may happen because one or more nodes are currently unreachable, either because of node or network failure.
Its also possible that the target node may have hit the connection limit or the pooler is configured with low connections.
Please check if all nodes are running fine and also review max_connections and max_pool_size configuration parameters
11:13:17,498 [Thread-55] ERROR jTPCCTData : Unexpected SQLException in STOCK_LEVEL
查看数据库 pg_stat_activity 表显示有sql请求被阻塞 ,
postgres=# select * from pg_prepared_xacts;
transaction | gid | prepared | owner | database
-------------+--------------------------+-------------------------------+-----------+-----------
966365 | _$XC$1529356:cn001:F:2:0 | 2022-04-01 16:13:33.979825+08 | benchmark | benchmark
965853 | _$XC$1528537:cn001:F:2:0 | 2022-04-01 16:13:33.982607+08 | benchmark | benchmark
966380 | _$XC$1529348:cn001:F:2:0 | 2022-04-01 16:13:33.982619+08 | benchmark | benchmark
966381 | _$XC$1529314:cn001:F:2:0 | 2022-04-01 16:13:33.989759+08 | benchmark | benchmark
966199 | _$XC$1529014:cn001:F:2:0 | 2022-04-01 16:13:33.990128+08 | benchmark | benchmark
问题
1 这个 报错Failed to get pooled connections 提示需要修改连接参数但是连接参数已经比较大了,还要怎么修改?
2 对于性能压测 有没有关于数据库 分布式事务的参数?
The text was updated successfully, but these errors were encountered: