Purpose
The DBA_SQL_PLAN_BASELINES view displays the SQL plan baselines in SQL Plan Management (SPM).
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| SIGNATURE | NUMBER | NO | The SQL unique identifier generated by the normalized SQL statement. |
| SQL_HANDLE | VARCHAR2(32) | NO | The unique SQL text. |
| SQL_TEXT | CLOB | NO | The unnormalized SQL text. |
| PLAN_NAME | VARCHAR2(128) | NO | The unique plan identifier in the text form. |
| CREATOR | VARCHAR2(128) | NO | The user who created the plan baseline. |
| ORIGIN | VARCHAR2(29) | NO | The way that the plan baseline was created. Valid values: |
| PARSING_SCHEMA_NAME | VARCHAR2(128) | NO | At present, this column is not supported and is NULL by default. |
| DESCRIPTION | VARCHAR2(500) | YES | The description of the plan baseline. |
| VERSION | VARCHAR2(256) | NO | The database version at the time when the plan baseline was created. |
| CREATED | TIMESTAMP(6) | NO | The time when the plan baseline was created. |
| LAST_MODIFIED | TIMESTAMP(6) | NO | The time when the plan baseline was modified the last time. |
| LAST_EXECUTED | NUMBER | NO | The time when the plan baseline was executed the last time. |
| LAST_VERIFIED | NUMBER | NO | The time when the plan baseline was verified the last time. |
| ENABLED | VARCHAR2(3) | NO | Indicates whether the plan baseline is enabled. Valid values: |
| ACCEPTED | VARCHAR2(3) | NO | Indicates whether the plan baseline is adopted. Valid values: |
| FIXED | VARCHAR2(3) | NO | Indicates whether the plan baseline is fixed. Valid values: |
| REPRODUCED | VARCHAR2(3) | NO | Indicates whether the plan baseline is reproducible. Valid values: |
| AUTOPURGE | VARCHAR2(3) | NO | Indicates whether the plan baseline is subject to automatic cleanup. Valid values: |
| ADAPTIVE | VARCHAR2(3) | NO | Indicates whether the plan baseline automatically captured by the SPM has been adapted. Valid values: |
| OPTIMIZER_COST | NUMBER | NO | The plan cost estimated by the optimizer when the plan baseline was created. |
| MODULE | VARCHAR2(64) | NO | At present, this column is not supported and is NULL by default. |
| ACTION | VARCHAR2(64) | NO | At present, this column is not supported and is NULL by default. |
| EXECUTIONS | NUMBER | NO | The number of times when the plan had been executed since the plan baseline was created. |
| ELAPSED_TIME | NUMBER | NO | The total time consumed for the plan since the plan baseline was created. |
| CPU_TIME | NUMBER | NO | The total CPU time consumed by the plan since the plan baseline was created. |
| BUFFER_GETS | NUMBER | NO | At present, this column is not supported and is NULL by default. |
| DISK_READS | NUMBER | NO | At present, this column is not supported and is NULL by default. |
| DIRECT_WRITES | NUMBER | NO | At present, this column is not supported and is NULL by default. |
| ROWS_PROCESSED | NUMBER | NO | At present, this column is not supported and is NULL by default. |
| FETCHES | NUMBER | NO | At present, this column is not supported and is NULL by default. |
| END_OF_FETCH_COUNT | NUMBER | NO | At present, this column is not supported and is NULL by default. |