# GS_SPM_PLAN_HISTORY
GS_SPM_PLAN_HISTORY系统表是用于记录计划跳变历史的系统表，具备SYSADMIN权限的用户可以对该系统表进行读操作，但只有初始用户才可以对该系统表进行写操作。
表1GS_SPM_PLAN_HISTORY字段 
| 名称                 | 类型                       | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|:---|:---|:---|
| sql_hash            | bigint                  | SPM中SQL的唯一标识。                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| plan_hash          | bigint                  | plan id。                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| plan_hash_previous | bigint                  | 上一次使用的计划的plan id，若不存在上一次计划则为0。                                                                                                                                                                                                                                                                                                                                                                                                                            |
| userid           | oid                       | 创建跳变历史的用户。                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| creation_time      | timestamp with time zone | 创建跳变历史的时间。                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| namespace_oids     | text                      | 当前search_path中的OID列表，其中OID满足以下特征： - 用户所拥有权限的Schema的OID。  - 存在的Schema的OID。  - 非本地临时表所在Schema的OID。   |
   
