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 SM_RES_SESSION_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 |
---|---|---|---|---|---|
SM_RES_SESSION_FACT_KEY | Oracle: NUMBER(19) MSSQL: numeric(19) PostgreSQL: numeric(19) |
X | X | ||
START_DATE_TIME_KEY | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
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 | ||
MEDIA_TYPE_KEY | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | X | ||
RESOURCE_KEY | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | X | ||
RESOURCE_GROUP_COMBINATION_KEY | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
X | X | ||
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 | X | ||
START_TS | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
||||
END_TS | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
||||
TOTAL_DURATION | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
||||
LEAD_CLIP_DURATION | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
||||
TRAIL_CLIP_DURATION | Oracle: NUMBER(10) MSSQL: int PostgreSQL: integer |
||||
ACTIVE_FLAG | Oracle: NUMBER(1) MSSQL: numeric(1) PostgreSQL: numeric(1) |
||||
PURGE_FLAG | Oracle: NUMBER(1) MSSQL: numeric(1) PostgreSQL: numeric(1) |
SM_RES_SESSION_FACT_KEY
This key determines the login session sequence in the scenario when more than one session occurs within a period of one second for the same agent on the same media.
START_DATE_TIME_KEY
Identifies the start of a 15-minute interval in which the summarized resource session 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 the summarized resource session 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.
TENANT_KEY
The surrogate key that is used to join this table to the TENANT dimension, to identify a specific tenant to which the agent belongs.
MEDIA_TYPE_KEY
The surrogate key that is used to join this table to the MEDIA_TYPE dimension, to identify a specific media type.
RESOURCE_KEY
The surrogate key that is used to join this table to the RESOURCE_ dimension, to identify a specific agent that is associated with the login session.
RESOURCE_GROUP_COMBINATION_KEY
The surrogate key that is used to join records in this table to a specific combination of resource groups in the RESOURCE_GROUP_COMBINATION dimension. This field identifies the groups in which the agent was a member when the summarized session began.
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 summarized resource session began.
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 by which the resource state ended. This value results from calculation of the summarized resource state and does not necessarily match the END_TS value in the underlying GIDB table(s). 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 total duration, in seconds, of the resource session irrespective of the interval(s) in which the resource session occurs. If the session is not complete, the duration is calculated from the beginning time of the session until the last extraction.
LEAD_CLIP_DURATION
For resource sessions that span multiple time intervals, this field facilitates the aggregation of interval aggregates by providing the lead duration, in seconds, of the resource session, which is measured from the start of the resource session to the end of the first interval.
TRAIL_CLIP_DURATION
For resource sessions that span multiple time intervals, this field facilitates the aggregation of interval aggregates by providing the trailing duration, in seconds, of the resource session, which is measured from the start of the last interval to the end of the resource session.
ACTIVE_FLAG
Indicates whether the resource session is active (not finished): 0 = No, 1 = Yes.
PURGE_FLAG
This field is reserved.
Index List
CODE | U | C | Description |
---|---|---|---|
I_SM_RS_SSSN_SDT | Improves access time, based on the Start Date Time key. |
Index I_SM_RS_SSSN_SDT
Field | Sort | Comment |
---|---|---|
START_DATE_TIME_KEY | Ascending |
Subject Areas
- Facts — Represents the relationships between subject area facts.
- Summary_Resource_Session — Represents agent resource media sessions from login to logout, summarized to the media type.
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 |
---|---|---|---|
SM_RES_SESSION_FACT | CREATE_AUDIT_KEY | CTL_AUDIT_LOG | AUDIT_KEY |
SM_RES_SESSION_FACT | END_DATE_TIME_KEY | DATE_TIME | DATE_TIME_KEY |
SM_RES_SESSION_FACT | MEDIA_TYPE_KEY | MEDIA_TYPE | MEDIA_TYPE_KEY |
SM_RES_SESSION_FACT | RESOURCE_GROUP_COMBINATION_KEY | RESOURCE_GROUP_COMBINATION | GROUP_COMBINATION_KEY |
SM_RES_SESSION_FACT | RESOURCE_KEY | RESOURCE_ | RESOURCE_KEY |
SM_RES_SESSION_FACT | START_DATE_TIME_KEY | DATE_TIME | DATE_TIME_KEY |
SM_RES_SESSION_FACT | TENANT_KEY | TENANT | TENANT_KEY |
SM_RES_SESSION_FACT | UPDATE_AUDIT_KEY | CTL_AUDIT_LOG | AUDIT_KEY |