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.)
Each row describes a summarized state of an agent resource, relative to a given media type. The grain of the fact is an accumulating snapshot that represents the duration of the summarized state.
A summary state represents the contiguous duration that an agent resource is logged in with a particular state for a given media type, irrespective of the number of DNs and/or queues to which the agent resource logs in. For voice, the summary state is chosen from among the concurrent states of all voice DNs to which the agent is logged in, based on the configured state priority list. For multimedia, there are no DNs, so that the summarized state represents the state of the agent, relative to the media type. Both active and completed resource states are written to this table.
Do Not Disturb is optionally factored into summary states, based on the configuration of the underlying Switch object.
The start and end dates and times for both voice and multimedia agent states are stored as facts, in seconds that have elapsed since January 1, 1970. They are also stored as DATE_TIME dimension references.
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.
The primary key of this table. This value is generated by the database. This key determines the state sequence in the scenario when more than one state occur within a period of one second for the same agent on the same media.
Identifies the start of a 15-minute interval in which the resource state 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.
Identifies the start of a 15-minute interval in which the resource state 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.
The surrogate key that is used to join this table to the TENANT dimension, to identify a specific tenant to which the agent belongs.
The surrogate key that is used to join records in this table to a specific media type in the MEDIA_TYPE dimension.
The surrogate key that is used to join this table to the RESOURCE_ dimension, to identify a specific agent that is associated with the agent state.
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 resource state began. This field references the default "No Group" (-2) value if the mediation DN does not belong to a group. This field references the "UNKNOWN" (-1) value for the records associated with a discarded group combination.
The surrogate key that is used to join the RESOURCE_ dimension to the fact tables, to identify the agent's DN that first transitioned into this summary state. For multimedia, this field references the default "No Resource" (-2) dimension value. For deployments in which agents log in to multiple voice DNs concurrently, this field cannot be used for reporting because it can change with each state. It is primarily intended for data-lineage purposes.
The surrogate key that is used to join this table to the RESOURCE_STATE dimension, to identify the specific resource state of this record.
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.
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.
The value of the START_DATE_TIME_KEY field of the record in the SM_RES_SESSION_FACT table. On a partitioned database, SM_RES_SESSION_FACT_SDT_KEY in combination with SM_RES_ SESSION_FACT_KEY forms a value of the composite primary key for the SM_RES_SESSION_FACT table.
The value of the primary key of the SM_RES_SESSION_FACT table. This surrogate key is used to join records in this table to the SM_RES_SESSION_FACT table, to associate the summarized state of the resource with the summarized login session.
The UTC-equivalent value of the date and time at which the resource state began.
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.
The value of the START_TS field provided with millisecond precision.
The value of the END_TS field provided with millisecond precision.
The total duration, in seconds, of the resource state, irrespective of the interval(s) in which the resource state occurs.
For resource states that span multiple time intervals, this field facilitates the aggregation of interval aggregates by providing the lead duration, in seconds, of the resource state, which is measured from the start of the resource state to the end of the first interval.
For resource states that span multiple time intervals, this field facilitates the aggregation of interval aggregates by providing the trailing duration, in seconds, of the resource state, which is measured from the start of the last interval to the end of the resource state.
Indicates whether the resource state is currently active: 0 = No, 1 = Yes. For completed states, this value is 0.
This field is reserved.
|Improves access time, based on the Start Date Time key.|
|Improves access time.|
- Facts - Represents the relationships between subject area facts.
- Summary_Resource_State - Represents agent resource states, summarized to the media type.