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 |
显示存储过程内语句计划的序号。 |