文档首页/ 云数据库 GaussDB/ 开发指南(分布式_V2.0-8.x)/ Schema/ DBE_PERF Schema/ Global Plancache/ LOCAL_PREPARE_STATEMENT_STATUS
更新时间:2026-03-23 GMT+08:00
LOCAL_PREPARE_STATEMENT_STATUS
LOCAL_PREPARE_STATEMENT_STATUS视图显示当前节点的GPC全局计划缓存状态对应的prepare statement信息,如表1所示。
| 名称 | 类型 | 描述 |
|---|---|---|
| nodename | text | 所属节点名称。 |
| cn_sess_id | bigint | 其来自的cn的sessionid。 |
| cn_node_id | integer | 其来自的cn的node_id。 |
| cn_time_line | integer | 其来自的cn的重启次数。 |
| statement_name | text | 其statement name。 |
| refcount | integer | 其对应的plancache的被引用次数。 |
| is_shared | bool | 其对应plancache是否共享。 |
| query | text | 对应的query语句。 |
父主题: Global Plancache