Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BackgroundCompressedU contains statistics regarding:
Information such as:
is provided. Note: because these statistics are aggragated, not quite as much information is available as from the detail records. However, this aggregated data can be retained for a much longer time. ParametersData is aggregated according to the settings of the parameters:
QueryTwo tables are provided, CompressedU15 (15 minute time slices) and CompressedUDay (day compression), aggregated according to the following query:
This query uses a spatial index, to determine if a status change intersects the time slice in question. AggregationsTimestampsWhen the data is aggregated, the following logic is applied regarding the timestamps:
TablesCompressedU15 This table contains compressed statistics for 15 minute intervals. CompressedUDayThis table contains compressed statistics for day intervals. FieldsThe field definitions are essentially the same, in both tables, only the aggregation intervals are different.
|
Sv translation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
BackgroundCompressedU contains statistics regarding:
Information such as:
is provided. Note: because these statistics are aggragated, not quite as much information is available as from the detail records. However, this aggregated data can be retained for a much longer time. ParametersData is aggregated according to the settings of the parameters: Parameter Default Value Purpose | ||||||||||||||
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.SecondsToWait | 7200 | The minimum time after the end of a time interval before statistics are aggregated. | ||||||||||||
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.NextTimeSlice | - | The date / time of the next time slice to be calculated. This parameter can be reset to an earlier date / time in which case the system will recalculate all intervals from the given date and time again. | Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.CustomCompress | The name of a stored procedure, in JTELStats2, which is called after the system statistics discussed below have been aggregated. This can be used to provide additional values in additional tables as required by a custom installation. NOTE: changing the CompressedU tables themselves is NOT supported. | ||||||||||
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.CustomCompress.SuppressErrors | 0 | Set to 1, to suppress errors in the CustomCompress routine. If this flag is set, the system will continue with calculations for the data, even if the custom routine throws errors. | ||||||||||||
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.EndTime | 02:50 | The end time beyond which the process will not run, and waits for the StartTime to pass before continuing. If empty, the process runs all the time. | ||||||||||||
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.StartTime | 22:00 | The start time after which the process will start to run until the specified end time. If empty, the process runs all the time. | ||||||||||||
Translations Ignore |
Code Block | ||
---|---|---|
| ||
SELECT (Various Aggregations)
FROM JTELStats.AcdStatisticsLogin2 AcdStatisticsLogin2
JOIN JTELWeb.AcdAgentStatus AcdAgentStatus
ON AcdStatisticsLogin2.AcdAgentStatusID = AcdAgentStatus.ID
WHERE (
INTERSECTS
(
LINESTRING
(
POINT( UNIX_TIMESTAMP( _Timeslice_Begin ), AcdStatisticsLogin2.UsersID ),
POINT( UNIX_TIMESTAMP( Timeslice_End_Selects_ ), AcdStatisticsLogin2.UsersID )
),
geom2
)
) |
This query uses a spatial index, to determine if a status change intersects the time slice in question.
Aggregations
Timestamps
When the data is aggregated, the following logic is applied regarding the timestamps:
Count Fields
0
0
1
1
Tables
CompressedU15
This table contains compressed statistics for 15 minute intervals.
CompressedUDay
This table contains compressed statistics for day intervals.
Fields
The field definitions are essentially the same, in both tables, only the aggregation intervals are different.
bLoggedIn = TRUE
bCalls = FALSE
bVoiceMail = FALSE
bOutbound = FALSE
bFax = FALSE
bCallback = FALSE
bPause = FALSE
bSMS = FALSE
bManualPostCall = FALSE
bEMail = FALSE
bTicket = FALSE
bChat = FALSE
bHoliday = FALSE
number of status changes within the timeslice.
bLoggedIn = TRUE
bCalls = FALSE
bVoiceMail = FALSE
bOutbound = FALSE
bFax = FALSE
bCallback = FALSE
bPause = FALSE
bSMS = FALSE
bManualPostCall = FALSE
bEMail = FALSE
bTicket = FALSE
bChat = FALSE
bHoliday = FALSE