Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'fr'
Sv translation
languageen


Warning
titleNot available on all systems

Note: CompressedU15 is not available on all systems for capacity reasons.

Background

CompressedU contains statistics regarding:

  • Logins by users to the ACD and to ACD groups
  • Times spent in particular status

Information such as:

  • The User
  • The ACD group
  • The profile the user was logged into
  • The number of logins
    • To the ACD
    • To the group
  • The number of status changes
    • To the ACD
    • To the group
  • Times spent in various status

is provided.

Note: because these statistics are aggragatedaggregated, not quite as much information is available as from the detail records. However, this aggregated data can be retained for a much longer time.

Parameters

Data 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.SuppressErrors0Set 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.EndTime02:50The 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.StartTime22:00The start time after which the process will start to run until the specified end time. If empty, the process runs all the time.

Query

Two tables are provided, CompressedU15 (15 minute time slices) and CompressedUDay (day compression), aggregated according to the following query:

Translations Ignore


Code Block
titleCompressedUA Query
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:

dtCreateddtEndStatus

Count Fields

Time Fields
Before TimesliceWithin Timeslice

0

TIMESTAMPDIFF( dtTimesliceBegin, dtEndStatus )
Before TimesliceAfter Timeslice

0

TIMESTAMPDIFF( dtTimesliceBegin, dtTimesliceEnd )
Before TimesliceNULL0TIMESTAMPDIFF( dtTimesliceBegin, dtTimesliceEnd )
Within TimesliceWithin Timeslice

1

TIMESTAMPDIFF( dtCreated, dtEndStatus )
Within Timeslice After Timeslice

1

TIMESTAMPDIFF( dtCreated, dtTimesliceEnd )
Within TimesliceNULL1TIMESTAMPDIFF( dtCreated, dtTimesliceEnd )

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.

FieldTypeContents
IDINTA unique ID assigned to each record. Note, that IDs are not re-used, since if an interval is recalculated, the record is added with REPLACE, i.e. the existing record will be delteted and a new record with a new ID will be created in its place.
ClientsIDINTID of client from Clients table.
UsersIDINTThe ID of the user from the Users table.
UsersProfilesIDINTThe ID of the user profile from UserProfiles in which the agent was logged in.
AcdGroupsIDINTID of the ACD group, from the AcdGroups table.
dtIntervalStartDATETIMEDate and Time of the start of the interval.
UsersUIDVARCHAR(64)The UsersUID field.
UsersNameVARCHAR(64)The Users Name.
UsersFirstNameVARCHAR(64)The Users FirstName.
UsersProfilesNameVARCHAR(64)The UsersProfiles Name.
AcdGroupsNameVARCHAR(64)The Name field from the AcdGroups table, as configured when the compressed statistics were created.
Login_CountINTbLoggedIn = TRUE, number of status changes within the timeslice.
Login_TimeINTbLoggedIn = TRUE, number of seconds within the timeslice.
Logout_CountINTbLoggedIn = FALSE, number of status changes within the timeslice.
Logout_TimeINTbLoggedIn = FALSE, number of seconds within the timeslice.
InLocation_CountINTbInLocation = TRUE, number of status changes within the timeslice.
InLocation_TimeINTbInLocation = TRUE, number of seconds within the timeslice.
Calls_CountINTbCalls = TRUE, number of status changes within the timeslice.
Calls_TimeINTbCalls = TRUE, number of seconds within the timeslice.
VoiceMail_CountINTbVoiceMail = TRUE, number of status changes within the timeslice.
VoiceMail_TimeINTbVoiceMail = TRUE, number of seconds within the timeslice.
Outbound_CountINTbOutbound = TRUE, number of status changes within the timeslice.
Outbound_TimeINTbOutbound = TRUE, number of seconds within the timeslice.
Fax_CountINTbFax = TRUE, number of status changes within the timeslice.
Fax_TimeINTbFax = TRUE, number of seconds within the timeslice.
Callback_CountINTbCallback = TRUE, number of status changes within the timeslice.
Callback_TimeINTbCallback = TRUE, number of seconds within the timeslice.
Pause_CountINTbPause = TRUE, number of status changes within the timeslice.
Pause_TimeINTbPause = TRUE, number of seconds within the timeslice.
SMS_CountINTbSMS = TRUE, number of status changes within the timeslice.
SMS_TimeINTbSMS = TRUE, number of seconds within the timeslice.
ManualPostCall_CountINTbManualPostCall = TRUE, number of status changes within the timeslice.
ManualPostCall_TimeINTbManualPostCall = TRUE, number of seconds within the timeslice.
EMail_CountINTbEMail = TRUE, number of status changes within the timeslice.
EMail_TimeINTbEMail = TRUE, number of seconds within the timeslice.
Ticket_CountINTbTicket = TRUE, number of status changes within the timeslice.
Ticket_TimeINTbTicket = TRUE, number of seconds within the timeslice.
Chat_CountINTbChat = TRUE, number of status changes within the timeslice.
Chat_TimeINTbChat = TRUE, number of seconds within the timeslice.
Holiday_CountINTbHoliday = TRUE, number of status changes within the timeslice.
Holiday_TimeINTbHoliday = TRUE, number of seconds within the timeslice.
Other_CountINT

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.

Other_TimeINT

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 seconds within the timeslice.



This page is only available in English
Sv translation
languagede


Warning
titleNot available on all systems

Beachten Sie: CompressedU15 ist aus Kapazitätsgründen nicht auf allen Systemen verfügbar.

Hintergrund

CompressedU enthält Statistiken bezüglich:

  • Anmeldungen von Benutzern bei der ACD und bei ACD-Gruppen
  • In einem bestimmten Status verbrachte Zeit

Information wie z.B.:

  • Der Benutzer
  • Die ACD group
  • Das Profil, in dem der Benutzer angemeldet war
  • Die Anzahl der Anmeldungen
    • An die ACD
    • An die Gruppe
  • Die Anzahl der Statusveränderungen
    • An der ACD
    • An der Gruppe
  • Zeiten verbracht in verschiedenen Status

sind zur Verfügung gestellt.

Beachten Sie: Da diese Statistiken aggregiert sind, sind weniger Informationen verfügbar als in den Einzelverbindungsnachweisen. Jedoch können diese aggregierten Daten sehr viel länger aufbewahrt werden.

Parameter

Die Daten werden entsprechend den Einstellungen der Parameter aggregiert:

Parameter

Standard-
wert

Zweck

Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.SecondsToWait

7200

Die Mindestzeit nach dem Ende eines Zeitintervalls, bevor die Statistiken aggregiert werden.

Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.NextTimeSlice

-

Datum und Uhrzeit des nächsten zu berechnenden Zeitintervalls. Dieser Parameter kann auf ein früheres Datum / eine frühere Uhrzeit zurückgesetzt werden. In diesem Fall berechnet das System alle Intervalle ab dem angegebenen Datum und der angegebenen Uhrzeit neu.

Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.CustomCompress
Der Name einer gespeicherten Prozedur in JTELStats2, die aufgerufen wird, nachdem die unten beschriebenen Systemstatistiken aggregiert wurden. Dies kann verwendet werden, um zusätzliche Werte in zusätzlichen Tabellen bereitzustellen, wie es für eine benutzerdefinierte Installation festgelegt wurde. HINWEIS: Die Änderung der CompressedU-Tabellen selbst wird NICHT unterstützt.
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.CustomCompress.SuppressErrors0Auf 1 gesetzt, um Fehler in der CustomCompress-Routine zu unterdrücken. Wenn dieses Flag gesetzt ist, fährt das System mit den Berechnungen für die Daten fort, auch wenn die benutzerdefinierte Routine Fehler auslöst.
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.EndTime02:50Die EndTime, nach der der Prozess nicht mehr weiterläuft und wartet, bis die StartTime verstrichen ist, bevor er fortgesetzt wird. Wenn leer, läuft der Prozess die ganze Zeit
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.StartTime22:00Die Startzeit, nach der der Prozess beginnt, bis zur angegebenen Endzeit zu laufen. Wenn leer, läuft der Prozess die ganze Zeit.

Abfrage

Es werden zwei Tabellen bereitgestellt, CompressedA15 (15-Minuten-Zeitabschnitte) und CompressedADay (Tageskomprimierung), die gemäß der folgenden Abfrage aggregiert werden:

Translations Ignore


Code Block
titleCompressedUA Query
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.

Aggregationen

Zeitstempel

Bei der Aggregation der Daten wird die folgende Logik auf die Zeitstempel angewandt:

dtCreateddtEndStatus

Count Fields

Time Fields
Before TimesliceWithin Timeslice

0

TIMESTAMPDIFF( dtTimesliceBegin, dtEndStatus )
Before TimesliceAfter Timeslice

0

TIMESTAMPDIFF( dtTimesliceBegin, dtTimesliceEnd )
Before TimesliceNULL0TIMESTAMPDIFF( dtTimesliceBegin, dtTimesliceEnd )
Within TimesliceWithin Timeslice

1

TIMESTAMPDIFF( dtCreated, dtEndStatus )
Within Timeslice After Timeslice

1

TIMESTAMPDIFF( dtCreated, dtTimesliceEnd )
Within TimesliceNULL1TIMESTAMPDIFF( dtCreated, dtTimesliceEnd )

Tabellen

CompressedU15

Diese Tabelle enthält komprimierte Statistiken für 15-Minuten-Intervalle.

CompressedUDay

Diese Tabelle enthält komprimierte Statistiken für Tagesintervalle.

Felder

Die Felddefinitionen sind in beiden Tabellen im Wesentlichen identisch, nur die Aggregationsintervalle sind unterschiedlich.

FeldTypInhalte
IDINTEine einzigartige ID, die jedem Datensatz zugewiesen wird. Beachten Sie, dass die IDs nicht wiederverwendet werden, denn wenn ein Intervall neu berechnet wird, wird der Datensatz mit REPLACE hinzugefügt, d.h. der bestehende Datensatz wird gelöscht und ein neuer Datensatz mit einer neuen ID wird an seiner Stelle erstellt.
ClientsIDINTID des Mandanten aus der Clients Tabelle
UsersIDINTDie ID des Benutzers aus der User Tabelle
UsersProfilesIDINTDie ID des Userprofils aus UserProfiles, in dem der Agent angemeldet war, oder 0, wenn keine Profilinformationen verfügbar sind.
AcdGroupsIDINTID der ACD Gruppe, aus der AcdGroups Tabelle.
dtIntervalStartDATETIMEDatum und Uhrzeit des Beginns des Intervalls.
UsersUIDVARCHAR(64)Das BenutzerUID Feld.
UsersNameVARCHAR(64)Der Name des Benutzers
UsersFirstNameVARCHAR(64)Der Vorname des Benutzers
UsersProfilesNameVARCHAR(64)Der Benutzerprofilname.
AcdGroupsNameVARCHAR(64)Das Namenfeld aus der AcdGroups Tabelle,wie bei der Erstellung der compressed statistics konfiguriert.
Login_CountINTbLoggedIn = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne. 
Login_TimeINTbLoggedIn = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
Logout_CountINTbLoggedIn = FALSE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
Logout_TimeINTbLoggedIn = FALSE, Anzahl der Sekunden innerhalb der Zeitspanne.
InLocation_CountINTbInLocation = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
InLocation_TimeINTbInLocation = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
Calls_CountINTbCalls = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
Calls_TimeINTbCalls = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
VoiceMail_CountINTbVoiceMail = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
VoiceMail_TimeINTbVoiceMail = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
Outbound_CountINTbOutbound = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
Outbound_TimeINTbOutbound = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
Fax_CountINTbFax = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
Fax_TimeINTbFax = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
Callback_CountINTbCallback = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
Callback_TimeINTbCallback = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
Pause_CountINTbPause = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
Pause_TimeINTbPause = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
SMS_CountINTbSMS = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
SMS_TimeINTbSMS = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
ManualPostCall_CountINTbManualPostCall = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
ManualPostCall_TimeINTbManualPostCall = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
EMail_CountINTbEMail = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
EMail_TimeINTbEMail = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
Ticket_CountINTbTicket = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
Ticket_TimeINTbTicket = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
Chat_CountINTbChat = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
Chat_TimeINTbChat = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
Holiday_CountINTbHoliday = TRUE, Anzahl der Statusänderungen innerhalb der Zeitspanne.
Holiday_TimeINTbHoliday = TRUE, Anzahl der Sekunden innerhalb der Zeitspanne.
Other_CountINT

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

Anzahl der Statusänderungen innerhalb der Zeitspanne

Other_TimeINT

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

Anzahl der Sekunden innerhalb der Zeitspanne

Status
colourRed
title