FUN_SPM_SQL_PLAN_INSTANCES

This table contains the plans that are available to all of the individual SQL statements that roll up into a master SQL statement. It contains a plan description, the plan ID, and plan details for each plan.

Details

  • Schema: FUSION

  • Object owner: FUN

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

FUN_SPM_SQL_PLAN_INSTANCES_PK

SQL_PLAN_INSTANCE_ID

Columns

Name Datatype Length Precision Not-null Comments
SQL_PLAN_INSTANCE_ID NUMBER 18 Yes Unique sequence generated identifier for the SQL plan instance.
SQL_MASTER_ID NUMBER 18 Yes Unique identifier for the SQL master that SQL plan instance is associated with.
SQL_PLAN_CODE VARCHAR2 200 Yes Unique code for the SQL plan instance in a SQL master.
SQL_PLAN_DESCRIPTION VARCHAR2 1000 Description for the SQL plan instance.
RDBMS_PLAN_ID NUMBER Yes Unique identifier for a database plan.
DEFAULT_SPM_STATUS_CODE VARCHAR2 30 Yes Code to indicate whether the shipped plan must be enabled or disabled in the SPM baselines.
PLAN_DETAILS CLOB Yes Full details of the execution plan.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.
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_PLAN_INSTANCES_U1 Unique DEFAULT SQL_PLAN_INSTANCE_ID, ORA_SEED_SET1
FUN_SPM_SQL_PLAN_INSTANCES_U11 Unique DEFAULT SQL_PLAN_INSTANCE_ID, ORA_SEED_SET2
FUN_SPM_SQL_PLAN_INSTANCES_U12 Unique DEFAULT SQL_MASTER_ID, SQL_PLAN_CODE, ORA_SEED_SET2
FUN_SPM_SQL_PLAN_INSTANCES_U2 Unique DEFAULT SQL_MASTER_ID, SQL_PLAN_CODE, ORA_SEED_SET1