Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Content imported from a Scroll Translations translation file.
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 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.

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.



Sv translation
languagede

Status
colourRed
titleThis page is only available in English

Sv translation
languagefr


Warning
titlePas disponible sur tous les systèmes

Remarque : le CompressedU15 n'est pas disponible sur tous les systèmes pour des raisons de capacité.

Contexte

CompressedU contient des statistiques concernant:

  • Connexions des utilisateurs à l'ACD et aux groupes de l'ACD
  • Temps passé dans un statut particulier

Des informations telles que:

  • L'utilisateur
  • Le Groupe ACD
  • Le profil auquel l'utilisateur s'est connecté
  • Le nombre de logins
    • A l'ACD
    • Au groupe
  • Le nombre de changements de statut
    • A l'ACD
    • Au groupe
  • Temps passé dans divers statuts

est fournie.

Remarque : comme ces statistiques sont aggravées, on ne dispose pas d'autant d'informations que dans les enregistrements détaillés. Cependant, ces données agrégées peuvent être conservées beaucoup plus longtemps.

Paramètres

Les données sont agrégées en fonction du réglage des paramètres:

 Paramètre

Valeur par défaut

Objectif

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

7200

Le temps minimum après la fin d'un intervalle de temps avant l'agrégation des statistiques.

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

-

La date / l'heure de la prochaine tranche horaire à calculer. Ce paramètre peut être réinitialisé à une date/heure antérieure, auquel cas le système recalculera à nouveau tous les intervalles à partir de la date et de l'heure données.

Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.CustomCompress
Le nom d'une procédure stockée, dans JTELStats2, qui est appelé après que les statistiques du système discutées ci-dessous ont été agrégées. Il peut être utilisé pour fournir des valeurs supplémentaires dans des tableaux supplémentaires, selon les besoins d'une installation personnalisée. REMARQUE : la modification des tableaux CompressedU eux-mêmes n'est PAS prise en charge.
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.CustomCompress.SuppressErrors0Réglé sur 1, pour supprimer les erreurs dans la routine CustomCompress. Si ce drapeau est activé, le système poursuivra les calculs pour les données, même si la routine personnalisée lance des erreurs.
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.EndTime02:50L'heure de fin au-delà de laquelle le processus ne s'exécute pas, et attend que l'heure de début soit passée avant de continuer. S'il est vide, le processus s'exécute tout le temps.
Portal.ACD.Statistics.JTELStats2.Compress.CompressedU.StartTime22:00L'heure de début après laquelle le processus commencera à s'exécuter jusqu'à l'heure de fin spécifiée. S'il est vide, le processus s'exécute tout le temps.

Requête

Deux tableaux sont fournis, CompressedU15 (tranches de temps de 15 minutes) et CompressedUDay (compression des jours), agrégés selon la requête suivante:

Translations Ignore


Code Block
titleRequête CompressedUA
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 				) 			)



Cette requête utilise un index spatial, pour déterminer si un changement de statut recoupe la tranche de temps en question.

Agrégations 

Horodatage

Lorsque les données sont agrégées, la logique suivante est appliquée en ce qui concerne les horodatages:

dtCreateddtEndStatus

Comptage des champs

Champs de temps
Avant la tranche de tempsDans la tranche de temps

0

TIMESTAMPDIFF( dtTimesliceBegin, dtEndStatus )
Avant la tranche de tempsAprès la tranche de temps

0

TIMESTAMPDIFF( dtTimesliceBegin, dtTimesliceEnd )
Avant la tranche de tempsNULL0TIMESTAMPDIFF( dtTimesliceBegin, dtTimesliceEnd )
Dans la tranche de tempsDans la tranche de temps

1

TIMESTAMPDIFF( dtCreated, dtEndStatus )
Dans la tranche de temps Après la tranche de temps

1

TIMESTAMPDIFF( dtTimesliceBegin, dtTimesliceEnd )
Dans la tranche de tempsNULL1TIMESTAMPDIFF( dtCreated, dtTimesliceEnd )

Tableaux

CompressedU15

Ce tableau contient des statistiques compressées pour des intervalles de 15 minutes.

CompressedUADay

Ce tableau contient des statistiques compressées pour les intervalles de jours.

Champs

Les définitions des champs sont essentiellement les mêmes, dans les deux tableaux, seuls les intervalles d'agrégation sont différents.

ChampTypeContenu
IDINTUn identifiant unique est attribué à chaque enregistrement. Notez que les ID ne sont pas réutilisés, car si un intervalle est recalculé, l'enregistrement est ajouté avec REMPLACER, c'est-à-dire que l'enregistrement existant sera supprimé et un nouvel enregistrement avec un nouvel ID sera créé à sa place.
ClientsIDINTID du client à partir du tableau des clients.
UsersIDINTL'ID de l'utilisateur à partir du tableau des utilisateurs.
UsersProfilesIDINTL'ID du profil de l'utilisateur à partir des UserProfiles dans lesquels l'agent était connecté.
AcdGroupsIDINTID du groupe ACD, à partir de la table AcdGroups.
dtIntervalStartDATETIMEDate et heure du début de l'intervalle.
UsersUIDVARCHAR(64)Le champ UsersUID.
UsersNameVARCHAR(64)Le nom des utilisateurs.
UsersFirstNameVARCHAR(64)Le prénom des utilisateurs.
Le nom des profiles des utilisateursVARCHAR(64)Le nom des profils des utilisateurs.
AcdGroupsNameVARCHAR(64)Le champ Nom de la table AcdGroups, tel qu'il a été configuré lors de la création des statistiques compressées.
Login_CountINTbLoggedIn = TRUE, nombre de changements de statut dans la tranche de temps.
Login_TimeINTbLoggedIn = TRUE, nombre de secondes dans la tranche de temps.
Logout_CountINTbLoggedIn = FALSE, nombre de changements de statut dans la tranche horaire.
Logout_TimeINTbLoggedIn = FALSE, nombre de secondes dans la tranche horaire.
InLocation_CountINTbLoggedIn = TRUE, nombre de changements de statut dans le délai.
InLocation_TimeINTbLoggedIn = TRUE, nombre de secondes dans la tranche horaire.
Calls_CountINTbLoggedIn = TRUE, nombre de changements de statut dans le délai.
Calls_TimeINTbCalls = TRUE, nombre de secondes dans la tranche horaire.
VoiceMail_CountINTbVoiceMail = TRUE, nombre de changements de statut dans le délai.
VoiceMail_TimeINTbVoiceMail = TRUE, nombre de secondes dans la tranche horaire.
Outbound_CountINTbOutbound = TRUE, nombre de changements de statut dans le délai.
Outbound_TimeINTbOutbound = TRUE, nombre de secondes dans la tranche horaire.
Fax_CountINTbFax = TRUE, nombre de changements de statut dans le délai.
Fax_TimeINTbFax = TRUE, nombre de secondes dans la tranche horaire.
Callback_CountINTbCallback = TRUE, le nombre de changements de statut dans le délai.
Callback_TimeINTbCallback = TRUE, nombre de secondes dans la tranche horaire.
Pause_CountINTbPause = TRUE, nombre de changements de statut dans le délai.
Pause_TimeINTbPause = TRUE, nombre de secondes dans la tranche horaire.
SMS_CountINTbSMS = TRUE, nombre de changements de statut dans le délai.
SMS_TimeINTbSMS = TRUE, nombre de secondes dans la tranche horaire.
ManualPostCall_CountINTbManualPostCall = TRUE, nombre de changements de statut dans le délai.
ManualPostCall_TimeINTbManualPostCall = TRUE, nombre de secondes dans la tranche horaire.
EMail_CountINTbEMail = TRUE, nombre de changements de statut dans le délai.
EMail_TimeINTbEMail = TRUE, nombre de secondes dans la tranche horaire.
Ticket_CountINTbTicket = TRUE, nombre de changements de statut dans le délai.
Ticket_TimeINTbTicket = TRUE, nombre de secondes dans la tranche horaire.
Chat_CountINTbChat = TRUE, nombre de changements de statut dans le délai.
Chat_TimeINTbChat = TRUE, nombre de secondes dans la tranche horaire.
Holiday_CountINTbHoliday = TRUE, nombre de changements de statut dans le délai.
Holiday_TimeINTbHoliday = TRUE, nombre de secondes dans la tranche horaire.
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

nombre de changements de statut dans la tranche horaire.

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

nombre de secondes dans la tranche horaire.