Jump to: navigation, search

In the Column List:

  • P = Primary key
  • M = Mandatory field
  • F = Foreign key (where the term is used loosely to indicate a surrogate key reference to a field in another table, not a formal constraint)
  • DV = Default value

Table CAMPAIGN_GROUP_STATE_FACT

Description

Modified: 8.5.003 (in Oracle, fields with VARCHAR data types use explicit CHAR character-length semantics)

In partitioned databases, this table is partitioned.


Each row in this table represents the state of an outbound campaign group. The states that are recorded are Loaded, Started, and Unloading. The grain of the fact is an accumulating snapshot that represents the duration of the campaign group in the given state.

Tip
To assist you in preparing supplementary documentation, click the following link to download a comma-separated text file containing information such as the data types and descriptions for all columns in this table: Download a CSV file.

Hint: For easiest viewing, open the downloaded CSV file in Excel and adjust settings for column widths, text wrapping, and so on as desired. Depending on your browser and other system settings, you might need to save the file to your desktop first.

Column List

Legend

Column Data Type P M F DV
CAMP_GROUP_STATE_FACT_KEY NUMBER(19) X X
TENANT_KEY NUMBER(10) X X
CAMPAIGN_KEY NUMBER(10) X X
GROUP_KEY NUMBER(10) X X
CAMPAIGN_GROUP_STATE_KEY NUMBER(10) X X
CAMP_GROUP_SESS_FACT_SDT_KEY NUMBER(10) X
CAMP_GROUP_SESSION_FACT_KEY NUMBER(19) X
START_DATE_TIME_KEY NUMBER(10) X X
END_DATE_TIME_KEY NUMBER(10) X X
CREATE_AUDIT_KEY NUMBER(19) X X
UPDATE_AUDIT_KEY NUMBER(19) X X
START_TS NUMBER(10)
END_TS NUMBER(10)
TOTAL_DURATION NUMBER(10)
CAMPAIGN_GROUP_SESSION_ID VARCHAR2(64 CHAR)
ACTIVE_FLAG NUMBER(1)
PURGE_FLAG NUMBER(1)

CAMP_GROUP_STATE_FACT_KEY

The primary key of this table.

TENANT_KEY

The surrogate key that is used to join the TENANT dimension to the fact tables.

CAMPAIGN_KEY

The surrogate key that is used to join the CAMPAIGN dimension to the fact tables.

GROUP_KEY

The surrogate key that is used to join the GROUP_ dimension to the fact tables.

CAMPAIGN_GROUP_STATE_KEY

The surrogate key that is used to join the CAMPAIGN_GROUP_STATE dimension to the fact tables.

CAMP_GROUP_SESS_FACT_SDT_KEY

The value of the START_DATE_TIME_KEY field of the record in the CAMPAIGN_GROUP_SESSION_FACT table. On a partitioned database, CAMP_GROUP_SESS_FACT_SDT_KEY in combination with CAMP_GROUP_SESSION_FACT_KEY forms a value of the composite primary key for the CAMPAIGN_GROUP_SESSION_FACT table.

CAMP_GROUP_SESSION_FACT_KEY

The value of the primary key of the CAMPAIGN_GROUP_SESSION_FACT table. This surrogate key is used to join this campaign group state fact to its campaign group session fact. In other words, this key places the campaign group state within the context of a campaign group session.

START_DATE_TIME_KEY

Identifies the start of a 15-minute interval in which this state for the campaign group began. Use this value as a key to join the fact tables to any configured DATE_TIME dimension, in order to group the facts that are related to the same interval and/or convert the START_TS timestamp to an appropriate time zone.

END_DATE_TIME_KEY

Identifies the start of a 15-minute interval in which this state for the campaign group ended. Use this value as a key to join the fact tables to any configured DATE_TIME dimension, in order to group the facts that are related to the same interval and/or convert the END_TS timestamp to an appropriate time zone.

CREATE_AUDIT_KEY

The surrogate key that is used to join to the CTL_AUDIT_LOG control table. The key specifies the lineage for data creation. This value can be useful for aggregation, enterprise application integration (EAI), and ETL tools — that is, applications that need to identify newly added data.

UPDATE_AUDIT_KEY

The surrogate key that is used to join to the CTL_AUDIT_LOG control table. The key specifies the lineage for data update. This value can be useful for aggregation, enterprise application integration (EAI), and ETL tools — that is, applications that need to identify recently modified data.

START_TS

The UTC-equivalent value of the date and time at which the campaign group entered this state.

END_TS

The meaning depends on the value of ACTIVE_FLAG. For an inactive row, this field represents the UTC-equivalent value of the date and time at which this state for the campaign group ended. For an active row, this value represents a UTC-equivalent value of the date and time far in the future, so that applications do not have to test for null.

TOTAL_DURATION

The meaning depends on the value of ACTIVE_FLAG. For an inactive row, the total duration, in seconds, of the campaign group in started state. For an active row, the amount of time, in seconds, that the campaign group has been in started state, from the time that it entered started state to the time that the ETL last executed.

CAMPAIGN_GROUP_SESSION_ID

The ICON source SessID for the campaign group session with which this session fact is related.

ACTIVE_FLAG

Indicates whether the campaign group state is currently active: 0 = No, 1 = Yes.

PURGE_FLAG

This field is reserved.

Index List

CODE U C Description
I_CGSTF_STD Improves access time, based on the Start Date Time key.
I_CGSTF_CGSF Improves access time, based on the Campaign Group Session Fact key.
I_CGSTF_TNT Improves access time, based on the Tenant.

Index I_CGSTF_STD

Field Sort Comment
START_DATE_TIME_KEY Ascending

Index I_CGSTF_CGSF

Field Sort Comment
CAMP_GROUP_SESSION_FACT_KEY Ascending

Index I_CGSTF_TNT

Field Sort Comment
TENANT_KEY Ascending

Subject Areas

  • Campaign_Group_State — Represents campaign groups from the perspective of states they go through, such as “Loaded", "Started", and "Unloading".
  • Facts — Represents the relationships between subject area facts.
This page was last edited on January 10, 2020, at 20:48.
Comments or questions about this documentation? Contact us for support!