VastbaseG100

基于openGauss内核开发的企业级关系型数据库。

Menu

PG_SQLPLAN

PG_SQLPLAN存储语句执行计划的相关信息。

仅Vastbase V2.2 Build 10(Patch No.17)及以后版本支持此功能。

名称 类型 描述
start_time timestamp with time zone 语句开始执行时间,同STATEMENT_HISTORY中记录的一致。
dbname name 数据库名称。
database_oid oid 数据库标识符。
unique_query_id bigint 语句常量参数化后的HASH值,同STATEMENT_HISTORY中记录的一致。
full_query_id bigint 完整语句的HASH值。
plan_id bigint 语句执行计划的HASH值,同STATEMENT_HISTORY中记录的一致。
const_id_list int2vector 需要参数化的常量的顺序ID。
reloids oidvector 关联的relation OID。
indexoids oidvector 关联的索引OID。
procoids oidvector 关联的函数/存储过程的OID。
query text 语句常量参数化后的显示。
full_query text 完整语句。
query_plan_tree text 语句执行时的PlannedStmt文本。
proc_change_csn bigint[] 函数/存储过程的changecsn。