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
- In the Data Type column, varchar/nvarchar means that the data type is varchar except in multi-language databases that use Unicode, in which case the data type is nvarchar. (The Info Mart database in Cloud deployments is not multi-language.) THIS BULLET DISPLAYS ONLY IN THE MSSQL AND CLOUD PDMs.
Table CHAT_THREAD_FACT
Description
Introduced: 8.5.014.09
In partitioned databases, this table is partitioned.
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
Column | Data Type | P | M | F | DV |
---|---|---|---|---|---|
THREAD_ID | Oracle: VARCHAR2(64 CHAR) MSSQL: varchar(64) PostgreSQL: varchar(64) |
X | X | ||
START_DATE_TIME_KEY | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | X | X | |
END_DATE_TIME_KEY | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | X | ||
TENANT_KEY | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | X | -2 | |
SESSIONS_COUNT | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | 0 | ||
HANDLE_DURATION | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | 0 | ||
AGENTS_COUNT | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | 0 | ||
ENGAGEMENTS_COUNT | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | 0 | ||
AGENT_REPLY_DURATION | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | 0 | ||
MSG_FROM_AGENTS | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | 0 | ||
MSG_FROM_AGENTS_SIZE | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | 0 | ||
MSG_FROM_CUSTOMERS | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | 0 | ||
MSG_FROM_CUSTOMERS_SIZE | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | 0 | ||
MEDIA_TYPE_KEY | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | X | -2 | |
MEDIA_ORIGIN_KEY | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | -2 | ||
CREATE_AUDIT_KEY | Oracle: NUMBER(19) MSSQL: numeric(19) PostgreSQL: numeric(19) |
X | X | ||
UPDATE_AUDIT_KEY | Oracle: NUMBER(19) MSSQL: numeric(19) PostgreSQL: numeric(19) |
X |
THREAD_ID
Based on KVP: thread_Id
Identifier of the thread that the chat session is part of.
START_DATE_TIME_KEY
Based on KVP: cse_ChatThreadStartedAt
Identifies the start of a 15-minute interval in which the first session within the chat thread was initiated. 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 timestamp from the KVP to an appropriate time zone. In combination with THREAD_ID, START_DATE_TIME_KEY forms the value of the composite primary key for this table in nonpartitioned as well as partitioned databases.
END_DATE_TIME_KEY
Based on KVP: ChatServerSessionClosedAt
Identifies the start of a 15-minute interval in which the most recent session within the chat thread ended or was rejected. 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 timestamp from the KVP to an appropriate time zone.
TENANT_KEY
Based on KVP: csg_TenantId
The surrogate key that is used to join the TENANT dimension to the fact tables.
SESSIONS_COUNT
Based on KVP: thrd_SessionsCount
The number of sessions in the thread.
HANDLE_DURATION
Based on KVP: thrd_HandleTime
The total time (in seconds) that at least one agent was connected to the thread. This value is calculated as the sum of CHAT_SESSION_FACT.HANDLE_DURATION values for all chat sessions that are part of the thread.
AGENTS_COUNT
Based on KVP: thrd_PartiesAsAgentCount
The number of unique agents that handled interactions within the thread.
ENGAGEMENTS_COUNT
Based on KVP: thrd_EngagementsCount
The number of engagements, manifested as occurrences of Agent Join events when an agent was in active mode and performed some customer-related actions in the chat (for example, typed a message).
AGENT_REPLY_DURATION
Based on KVP: thrd_AgentReplyTotalTime
The amount of time elapsed between a client's message and a subsequent agent's message, summarized throughout the thread.
MSG_FROM_AGENTS
Based on KVP: thrd_MessagesFromAgentsCount
The total number of agents' messages in the thread.
MSG_FROM_AGENTS_SIZE
Based on KVP: thrd_MessagesFromAgentsSize
The total size of agents' messages in the thread, expressed as the number of characters, including spaces.
MSG_FROM_CUSTOMERS
Based on KVP: thrd_MessagesFromCustomersCount
The total number of client messages in the thread.
MSG_FROM_CUSTOMERS_SIZE
Based on KVP: thrd_MessagesFromCustomersSize
The total size of client messages in the thread, expressed as the number of characters, including spaces.
MEDIA_TYPE_KEY
Based on KVP: csg_MediaType
The surrogate key that is used to join the MEDIA_TYPE dimension to the fact tables, to indicate the type of media.
MEDIA_ORIGIN_KEY
Based on KVP: csg_MediaOrigin
The surrogate key that is used to join the MEDIA_ORIGIN dimension to the fact tables, to indicate where the chat originated.
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.
Index List
CODE | U | C | Description |
---|---|---|---|
I_CHAT_THREAD_FACT_SDT | Improves access time, based on the Start Date Time key. |
Index I_CHAT_THREAD_FACT_SDT
Field | Sort | Comment |
---|---|---|
START_DATE_TIME_KEY | Ascending |
Subject Areas
No subject area information available.
References
The summary List of References will include the following entries for this table or view:
Child Table/View | Child Table/View Column | Parent Table/View | Parent Table/View Column |
---|---|---|---|
CHAT_THREAD_FACT | CREATE_AUDIT_KEY | CTL_AUDIT_LOG | AUDIT_KEY |
CHAT_THREAD_FACT | END_DATE_TIME_KEY | DATE_TIME | DATE_TIME_KEY |
CHAT_THREAD_FACT | MEDIA_ORIGIN_KEY | MEDIA_ORIGIN | ID |
CHAT_THREAD_FACT | MEDIA_TYPE_KEY | MEDIA_TYPE | MEDIA_TYPE_KEY |
CHAT_THREAD_FACT | START_DATE_TIME_KEY | DATE_TIME | DATE_TIME_KEY |
CHAT_THREAD_FACT | TENANT_KEY | TENANT | TENANT_KEY |
CHAT_THREAD_FACT | UPDATE_AUDIT_KEY | CTL_AUDIT_LOG | AUDIT_KEY |