文档首页/ 云数据库 GaussDB/ 开发指南(分布式_V2.0-3.x)/ Schema/ DBE_PERF Schema/ Global Plancache/ LOCAL_PLANCACHE_STATUS
更新时间:2025-03-12 GMT+08:00
LOCAL_PLANCACHE_STATUS
LOCAL_PLANCACHE_STATUS视图显示当前节点的GPC全局计划缓存状态信息。
| 名称 | 类型 | 描述 |
|---|---|---|
| nodename | text | 所属节点名称。 |
| query | text | 查询语句text。 |
| refcount | integer | 被引用次数。 |
| valid | bool | 是否合法。 |
| databaseid | oid | 所属数据库id。 |
| schema_name | text | 所属schema。 |
| params_num | integer | 参数数量。 |
| func_id | oid | 该plancache所在存储过程oid,如果不属于存储过程则为0。 |
| stmt_id | integer | 显示存储过程内语句计划的序号。 |
父主题: Global Plancache