DTW_TR_CORRELATION_ID


Description

Holds a correlation ids

Columns

Column Type Size Nulls Auto Default Children Parents Comments
ID CHAR 36 null

The correlation ID id

ORIGINATOR VARCHAR 64 null

The originator associated with the given correlation id

CORRELATION_ID VARCHAR 128 null

The actual correlation ID

OWNER_ID CHAR 36 null

The owner ID

OWNER_TYPE VARCHAR 32 null

The owner type

VERSION TINYINT 3 0

The correlation id version

CREATED_AT DATETIME 26 CURRENT_TIMESTAMP(6)

When the correlation id was created within the digital twin

ACTIVE BIT 1 b'1'

Marks if a given compensating reference is active (if not active, null is stored)

UNIQUENESS_GROUP VARCHAR 64 DEFAULT

Holds the uniqueness group for this entry. NULL if uniqueness should not be enforced

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc ID
DTW_TR_CORRELATION_ID_LKP_IDX Performance Asc/Asc/Asc/Asc ORIGINATOR + CORRELATION_ID + ACTIVE + OWNER_TYPE
DTW_TR_CORRELATION_ID_NID_IDX Must be unique Asc/Asc/Asc/Asc CORRELATION_ID + ORIGINATOR + ACTIVE + UNIQUENESS_GROUP
DTW_TR_CORRELATION_ID_OWN_IDX Performance Asc/Asc OWNER_ID + OWNER_TYPE
DTW_TR_CORRELATION_ID_OWT_IDX Performance Asc OWNER_TYPE
DTW_TR_ENTRY_CORR_ID_OID_IDX Must be unique Asc/Asc/Asc/Asc/Asc ORIGINATOR + OWNER_ID + OWNER_TYPE + ACTIVE + UNIQUENESS_GROUP

Relationships