更新时间:2026-03-23 GMT+08:00
GS_SPM_SQL_EVOLUTION
GS_SPM_SQL_EVOLUTION是用于查看当前用户计划演进结果的视图,普通用户以上权限均可以访问该视图。
| 名称 | 类型 | 描述 |
|---|---|---|
| sql_namespace | oid | Schema的oid。 |
| sql_hash | bigint | 当前Schema中SQL的唯一标识。 |
| plan_hash | bigint | 当前SQL中的plan的唯一标识。 |
| better | boolean | 是否是正向收益演进。 |
| status | text | 演进过程中是否出现异常。取值范围:
|
| refer_plan | bigint | 报告生成的主要参考的plan hash。 |
| sql_text | text | SQL的文本串。 |
| outline | text | 当前计划的Hint字符串列表。 |
| reason | text | 演进报告的内容。 |
| gplan | boolean | 是否是gplan。 |
| creation_time | timestamp with time zone | 创建演进结果的时间。 |
父主题: SPM计划管理