164 Star 224 Fork 1.2K

openGauss / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
GS_SESSION_CPU_STATISTICS.md 15.66 KB
一键复制 编辑 原始数据 按行查看 历史
jqn 提交于 2021-09-24 16:53 . fix issues

GS_SESSION_CPU_STATISTICS

GS_SESSION_CPU_STATISTICS视图显示当前用户执行的正在运行的复杂作业的CPU使用的负载管理信息。

表 1 GS_SESSION_CPU_STATISTICS字段

名称

类型

描述

datid

oid

连接后端的数据库OID。

usename

name

登录到该后端的用户名。

pid

bigint

后端线程ID。

start_time

timestamp with time zone

语句执行的开始时间。

min_cpu_time

bigint

语句在数据库节点上的最小CPU时间,单位为ms。

max_cpu_time

bigint

语句在数据库节点上的最大CPU时间,单位为ms。

total_cpu_time

bigint

语句在数据库节点上的CPU总时间,单位为ms。

query

text

正在执行的语句。

node_group

text

该字段不支持。

top_cpu_dn

text

cpu使用量信息。

1
https://gitee.com/opengauss/docs.git
git@gitee.com:opengauss/docs.git
opengauss
docs
docs
2.1.0

搜索帮助