文档首页/ 云数据库 GaussDB/ 参考(分布式_V2.0-10.x)/ Schema/ DBE_PERF Schema/ Query/ DBE_PERF.GLOBAL_SESSION_SQL_MEMORY
更新时间:2026-10-21 GMT+08:00
DBE_PERF.GLOBAL_SESSION_SQL_MEMORY
显示当前用户在各个节点上正在执行的语句的内存使用量,如表1所示。
| 名称 | 类型 | 描述 |
|---|---|---|
| node_name | text | 当前集群下的节点名称。 |
| pid | bigint | 线程ID。 |
| sessionid | bigint | 会话ID。 |
| unique_sql_id | bigint | 语句的unique sql id。 |
| query_id | bigint | 语句的debug query id。 |
| query | text | 该会话当前运行语句。 |
| peak_used_memory | integer | 该语句内存使用峰值(单位:MB)。 |
| current_used_memory | integer | 该语句当前内存使用值(单位:MB)。 |
父主题: Query