OSS_METRIC_DEFINITIONS

Stores step-wise calculation configuration for each metric type, including SQL/formula logic, execution order, dependencies, and applicable level.

Details

  • Schema: FUSION

  • Object owner: OSS

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

OSS_METRIC_DEFINITIONS_PK

METRIC_DEFINITION_ID

Columns

Name Datatype Length Precision Not-null Comments
METRIC_DEFINITION_ID NUMBER 18 Yes Primary key, Unique identifier for each metric definition.
SEQUENCE_NO NUMBER 18 Defines execution order of calculation steps. Determines dependency flow.
SOURCE_TYPE VARCHAR2 30 Identifies source domain of data like Subscription, ServiceRequest, CostManagement or Calculated.
METRIC_UNIT VARCHAR2 80 Business name of the metric component being calculated.
COMPILED_FULL_SQL CLOB Compiled SQL for full metric execution.
COMPILED_INCREMENTAL_SQL CLOB Compiled SQL for incremental metric execution.
APPLICABLE_LEVEL VARCHAR2 60 Defines the subscription level at which metric applies.
METRIC_TYPE_CODE VARCHAR2 64 References Metric Type. Foreign key to Metric Type.
EXECUTION_TYPE VARCHAR2 30 Defines how the metric step executes
METRIC_COLUMN_NAME VARCHAR2 80 Name of the metric column where output is written.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
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.
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.
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.

Indexes

Index Uniqueness Tablespace Columns
OSS_METRIC_DEFINITIONS_PK Unique Default METRIC_DEFINITION_ID, ORA_SEED_SET1
OSS_METRIC_DEFINITIONS_PK1 Unique Default METRIC_DEFINITION_ID, ORA_SEED_SET2