FUN_SENSOR_INSTANCES

This table stores the sensor instance details of each sensor execution

Details

  • Schema: FUSION

  • Object owner: FUN

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

FUN_SENSOR_INSTANCES_PK

INSTANCE_ID

Columns

Name Datatype Length Precision Not-null Comments
INSTANCE_ID NUMBER 18 Yes Primary identifier to identify a Sensor Instance uniquely
SENSOR_USAGE_ID NUMBER 18 Yes Maps to a sensor in FUN_SENSORS table.
SUBSTATUS_CODE VARCHAR2 30 This column captures the substatus result of the rules evaluation based on the implicit busiess condition and threshold count. (if it exists)
STATUS VARCHAR2 32 Yes Overall execution status which can also be exposed via API for sensor instance status.
SCHEDULE_ID NUMBER 18 Yes Maps to a schedule in the FUN_SENSOR_SCHEDULES table
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.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
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_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.

Indexes

Index Uniqueness Tablespace Columns
FUN_SENSOR_INSTANCES_N1 Non Unique Default SENSOR_USAGE_ID
FUN_SENSOR_INSTANCES_N2 Non Unique Default STATUS
FUN_SENSOR_INSTANCES_N3 Non Unique Default SUBSTATUS_CODE, STATUS
FUN_SENSOR_INSTANCES_U1 Unique Default INSTANCE_ID