GLOBAL_POOLER_STATUS
GLOBAL_POOLER_STATUS视图用于查询全局CN 的pooler中的缓存连接状态,如表1所示。
名称 | 类型 | 描述 |
|---|---|---|
source_node_name | name | 源节点名称。 |
database | text | 数据库名称。 |
user_name | text | 用户名。 |
tid | bigint | 非线程池逻辑下为连接CN的线程id,线程池逻辑下为连接CN的sessionid。 |
node_oid | bigint | 连接的实例节点OID。 |
node_name | name | 连接的实例节点名称。 |
in_use | boolean | 连接是否正被使用:
|
local_host | text | 本端IP。 |
local_port | bigint | 本端端口号。 |
remote_host | text | 连接的节点IP。 |
node_port | bigint | 连接的节点端口。 |
fdsock | bigint | 端口文件描述符。 |
remote_pid | bigint | 连接的远端节点线程号。 |
session_params | text | 会话参数。 |
used_count | bigint | 该连接的复用次数。 |
idx | bigint | 连接的实例节点逻辑连接id。 |
streamid | bigint | 每个逻辑连接对应的流标识id。 |

