FUN_SPM_SQL_BASELINES
This table contains the state of baselines created through SQL plan management to associate an individual SQL statement with a plan.
Details
-
Schema: FUSION
-
Object owner: FUN
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
FUN_SPM_SQL_BASELINES_PK |
SQL_BASELINE_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| SQL_BASELINE_ID | NUMBER | 18 | Yes | Unique sequence generated identifier for the SQL Plan baseline. | |
| SQL_INSTANCE_ID | NUMBER | 18 | Yes | Unique identifier for the SQL instance that the SQL baseline is associated with. | |
| SQL_PLAN_INSTANCE_ID | NUMBER | 18 | Yes | Unique Identifier for the SQL plan Instance that the SQL baseline is associated with. | |
| RDBMS_PLAN_NAME | VARCHAR2 | 128 | Yes | Unique plan identifier in string form that is used as a search key. | |
| SEED_CUSTOM_PLAN_ACTION_CODE | VARCHAR2 | 30 | Yes | Code to indicate the desired custom plan action code from seed data. | |
| SEED_SPM_STATUS_CODE | VARCHAR2 | 30 | Yes | Code to indicate the desired SPM baseline enabled status. | |
| CURRENT_SPM_STATUS_CODE | VARCHAR2 | 30 | Yes | Code to indicate the current SPM baseline enabled status. | |
| SEED_PLAN_RESULT_CODE | VARCHAR2 | 30 | Yes | Result code of the seeded base-lined plan status from the latest execution. | |
| CUSTOM_PLAN_RESULT_CODE | VARCHAR2 | 30 | Yes | Result code of the custom base-lined plan status from the latest execution. | |
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| FUN_SPM_SQL_BASELINES_U1 | Unique | DEFAULT | SQL_BASELINE_ID |
| FUN_SPM_SQL_BASELINES_U2 | Unique | DEFAULT | SQL_INSTANCE_ID, SQL_PLAN_INSTANCE_ID |