数据仓库服务 GAUSSDB(DWS)-GaussDB(DWS)语句处于idle in transaction状态常见场景:场景三:大量SAVEPOINT/RELEASE语句处于idle in transaction(8.1.0之前集群版本)

时间:2024-09-23 15:49:11

场景三:大量SAVEPOINT/RELEASE语句处于idle in transaction(8.1.0之前集群版本)

执行如下命令查看PGXC_STAT_ACTIVITY视图:

1
SELECT coorname,pid,query_id,state,query,usename FROM pgxc_stat_activity WHERE usename='jack';

结果显示SAVEPOINT/RELEASE语句处于idle in transaction。

support.huaweicloud.com/dws_faq/dws_03_2109.html