ZCA_INSIGHT_TEMPLATES

This table is used to store the insight SQL templates and configurations needed for the insights module to generate object metrics and record facts.

Details

  • Schema: FUSION

  • Object owner: ZCA

  • Object type: TABLE

  • Tablespace: FUSION_TS_SEED

Primary Key

Name Columns

ZCA_INSIGHT_TEMPLATES_PK

INSIGHT_TEMPLATE_UUID, INSIGHT_ENTITY_UUID

Columns

Name Datatype Length Precision Not-null Comments
INSIGHT_TEMPLATE_UUID VARCHAR2 36 Yes id: the auto-generated unique Identifier for an insight template
INSIGHT_TYPE_CODE VARCHAR2 275 Yes a unique code assigned to an insight template
INSIGHT_ENTITY_UUID VARCHAR2 36 Yes FK to zca_insight_entities table
OBJECT_QUERY_TEMPLATES BLOB the query templates used for the object metric generation
RECORD_QUERY_TEMPLATES BLOB the query templates used for the record facts generation
RECORD_CLASSIFICATION_CONFIG BLOB the template used by the facts generator to classify a record
BUCKET_CONFIG BLOB this holds the meta-information to bucketize the object metrics and record facts generated
ENABLED_FLAG VARCHAR2 1 Yes Y if the insight template is enabled
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update 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.
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.
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
ZCA_INSIGHT_TEMPLATES_PK Unique FUSION_TS_SEED INSIGHT_TEMPLATE_UUID, INSIGHT_ENTITY_UUID, ORA_SEED_SET1
ZCA_INSIGHT_TEMPLATES_PK1 Unique FUSION_TS_SEED INSIGHT_TEMPLATE_UUID, INSIGHT_ENTITY_UUID, ORA_SEED_SET2
ZCA_INSIGHT_TEMPLATES_U1 Unique FUSION_TS_SEED INSIGHT_TEMPLATE_UUID, INSIGHT_ENTITY_UUID, INSIGHT_TYPE_CODE, ORA_SEED_SET1
ZCA_INSIGHT_TEMPLATES_U11 Unique FUSION_TS_SEED INSIGHT_TEMPLATE_UUID, INSIGHT_ENTITY_UUID, INSIGHT_TYPE_CODE, ORA_SEED_SET2