164 Star 224 Fork 1.2K

openGauss / docs

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

GS_SESSION_MEMORY

GS_SESSION_MEMORY视图统计Session级别的内存使用情况,包含执行作业在数据节点上gaussdb线程和Stream线程分配的所有内存。当GUC参数enable_memory_limit的值为off时,本视图不可用。

表 1 GS_SESSION_MEMORY字段

名称

类型

描述

sessid

text

线程启动时间+线程标识。

init_mem

integer

当前正在执行作业进入执行器前已分配的内存,单位MB。

used_mem

integer

当前正在执行作业已分配的内存,单位MB。

peak_mem

integer

当前正在执行作业已分配的内存峰值,单位MB。

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

搜索帮助