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.
(Updated release number to 8.5.014.09) |
(Added descriptions) |
||
Line 70: | Line 70: | ||
|foreignKey = yes | |foreignKey = yes | ||
|default = | |default = | ||
− | |colDesc = | + | |colDesc = Identifies the start of a 15-minute interval in which the first session of 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 MEDIA_SERVER_IXN_GUID, START_DATE_TIME_KEY forms the value of the composite primary key for this table in nonpartitioned as well as partitioned databases. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = cse_ChatThreadStartedAt | ||
}} | }} | ||
Line 85: | Line 86: | ||
|foreignKey = yes | |foreignKey = yes | ||
|default = | |default = | ||
− | |colDesc = | + | |colDesc = Identifies the start of a 15-minute interval in which the most recent session of 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. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = ChatServerSessionClosedAt | ||
}} | }} | ||
Line 100: | Line 102: | ||
|foreignKey = yes | |foreignKey = yes | ||
|default = -2 | |default = -2 | ||
− | |colDesc = | + | |colDesc = The surrogate key that is used to join the TENANT dimension to the fact tables. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = csg_TenantId | ||
}} | }} | ||
Line 115: | Line 118: | ||
|foreignKey = | |foreignKey = | ||
|default = 0 | |default = 0 | ||
− | |colDesc = | + | |colDesc = The number of sessions in the thread. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = thrd_SessionsCount | ||
}} | }} | ||
Line 130: | Line 134: | ||
|foreignKey = | |foreignKey = | ||
|default = 0 | |default = 0 | ||
− | |colDesc = | + | |colDesc = The total time (in seconds) that at least one agent was connected to the thread. This value is calculated as a sum of CHAT_SESSION_FACT.HANDLE_DURATION values for all chat sessions that are part of the thread. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = thrd_HandleTime | ||
}} | }} | ||
Line 145: | Line 150: | ||
|foreignKey = | |foreignKey = | ||
|default = 0 | |default = 0 | ||
− | |colDesc = | + | |colDesc = The number of unique agents that handled the interaction within the thread. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = thrd_PartiesAsAgentCount | ||
}} | }} | ||
Line 160: | Line 166: | ||
|foreignKey = | |foreignKey = | ||
|default = 0 | |default = 0 | ||
− | |colDesc = | + | |colDesc = The number of engagements, manifested as occurrences of Agent Join events in the case an agent was in active mode and performed some customer-related actions in the chat (e.g., wrote a message). |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = thrd_EngagementsCount | ||
}} | }} | ||
Line 175: | Line 182: | ||
|foreignKey = | |foreignKey = | ||
|default = 0 | |default = 0 | ||
− | |colDesc = | + | |colDesc = The amount of time elapsed between a client's message and a subsequent agent's message, summarized throughout the thread. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = thrd_AgentReplyTotalTime | ||
}} | }} | ||
Line 190: | Line 198: | ||
|foreignKey = | |foreignKey = | ||
|default = 0 | |default = 0 | ||
− | |colDesc = | + | |colDesc = The total number of agents' messages in the thread. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = thrd_MessagesFromAgentsCount | ||
}} | }} | ||
Line 205: | Line 214: | ||
|foreignKey = | |foreignKey = | ||
|default = 0 | |default = 0 | ||
− | |colDesc = | + | |colDesc = The total size of agents' messages in the thread. <font color="green">{{Editgrn_open}}'''Writer's Question:''' What is the unit of measurement (i.e., KB)? Does it need to be stated? The same question for MSG_FROM_CUSTOMERS_SIZE.{{Editgrn_close}}</font> |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = thrd_MessagesFromAgentsSize | ||
}} | }} | ||
Line 220: | Line 230: | ||
|foreignKey = | |foreignKey = | ||
|default = 0 | |default = 0 | ||
− | |colDesc = | + | |colDesc = The total number of client messages in the thread. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = thrd_MessagesFromCustomersCount | ||
}} | }} | ||
Line 235: | Line 246: | ||
|foreignKey = | |foreignKey = | ||
|default = 0 | |default = 0 | ||
− | |colDesc = | + | |colDesc = The total size of client messages in the thread. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = thrd_MessagesFromCustomersSize | ||
}} | }} | ||
Line 250: | Line 262: | ||
|foreignKey = yes | |foreignKey = yes | ||
|default = -2 | |default = -2 | ||
− | |colDesc = | + | |colDesc = The surrogate key that is used to join the MEDIA_TYPE dimension to the fact tables. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = csg_MediaType | ||
}} | }} | ||
Line 265: | Line 278: | ||
|foreignKey = | |foreignKey = | ||
|default = -2 | |default = -2 | ||
− | |colDesc = | + | |colDesc = The surrogate key that is used to join the MEDIA_ORIGIN dimension to the fact tables. |
|introduced = | |introduced = | ||
|modified = | |modified = | ||
|discontinued = | |discontinued = | ||
+ | |KVP = csg_MediaOrigin | ||
}} | }} | ||
Line 274: | Line 288: | ||
{{PDMIndexItem | {{PDMIndexItem | ||
|indexName = I_CHAT_THREAD_FACT_SDT | |indexName = I_CHAT_THREAD_FACT_SDT | ||
− | |indexDesc = | + | |indexDesc = Improves access time, based on the Start Date Time key. |
|indexPresentInPartitioned = yes | |indexPresentInPartitioned = yes | ||
|indexKey = START_DATE_TIME_KEY | |indexKey = START_DATE_TIME_KEY |
Revision as of 22:12, July 3, 2019
Table CHAT_THREAD_FACT
Description
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 |