COMM_CLIENT_INFO
COMM_CLIENT_INFO视图显示单个节点活跃的客户端连接信息(DN上查询该视图显示CN连接DN的信息),默认只有系统管理员权限才可以访问此系统视图。
名称 | 类型 | 描述 |
|---|---|---|
node_name | text | 当前DN节点的名称,如dn_6001_6002_6003。 |
app | text | DN上查询该视图,app显示为连接当前DN的客户端,如coordinator(CN)、GTM、DN等。 |
tid | bigint | 当前线程的线程号。 |
lwtid | integer | 当前线程的轻量级线程号。 |
query_id | bigint | 查询ID,对应debug_query_id。 |
socket | integer | 如果是物理连接,显示socket fd。 |
remote_ip | text | 对端节点IP。 |
remote_port | text | 对端节点port。 |
logic_id | integer | 如果是逻辑连接,显示sid。 |

