什么是高级?这就叫高级—openGauss(503)

48 阅读1分钟

#openGauss #入门 #安装 #数据库 #开源

知识来源:docs-opengauss.osinfra.cn/zh/

SESSION_CPU_RUNTIME

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

表 1 SESSION_CPU_RUNTIME字段

名称

类型

描述

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

语句所属用户对应的逻辑openGauss。

top_cpu_dn

text

cpu使用量topN信息。

#openGauss #入门 #安装 #数据库 #开源

知识来源:docs-opengauss.osinfra.cn/zh/