更新时间:2025-03-08 GMT+08:00
SESSION_CPU_RUNTIME
SESSION_CPU_RUNTIME视图显示当前用户执行复杂作业(正在运行)时的CPU使用信息。
名称 | 类型 | 描述 |
|---|---|---|
datid | oid | 连接后端的数据库OID。 |
usename | name | 登录到该后端的用户名。 |
pid | bigint | 后端线程ID。 |
start_time | timestamp with time zone | 语句执行的开始时间。 |
min_cpu_time | bigint | 语句在所有DN上的最小CPU时间,单位为ms。 |
max_cpu_time | bigint | 语句在所有DN上的最大CPU时间,单位为ms。 |
total_cpu_time | bigint | 语句在所有DN上的CPU总时间,单位为ms。 |
query | text | 正在执行的语句。 |
node_group | text | 语句所属用户对应的Node group。 |
top_cpu_dn | text | cpu使用量topN信息。 |
父主题:Session/Thread

