No Title
Identifier 5924
Weight 1.0
Publication Date 2007-03-30 17:34:11.00

title
Rapport long
body
Bonjour, Lorsque nous lançons un rapport - Agent - Productivité sur un agent pour une période d'un mois nous constatons que la requête ne semble pas aboutir. Notre DBA a intercepté la requête suivante qui dure ... : SELECT TO_CHAR (seprev.eventdate, 'HH24'), aseprev.agentnewstate, SUM (((senext.eventdate - seprev.eventdate) * 86400)) FROM statevent seprev, agentstatevent aseprev, statevent senext, agentstatevent asenext WHERE seprev.eventkind = 3 AND seprev.eventdate >= :1 AND seprev.eventdate <= :2 AND seprev.stateventid = aseprev.stateventid AND aseprev.agentnewstate <> 0 AND aseprev.stateventid = asenext.previd AND senext.stateventid = asenext.stateventid AND senext.eventdate >= :3 AND senext.eventdate <= :4 AND aseprev.agentid = :5 GROUP BY TO_CHAR (seprev.eventdate, 'HH24'), aseprev.agentnewstate Est il possible d'optimiser cette requête. Merci de votre réponse. Stéphane GUILLOU Ingenieur Systeme et Messagerie INGDirect France xxx@yyy.zzz tel : +33 (0)1.57.22.55.39 ----------------------------------------------------------------- ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. -----------------------------------------------------------------


30 most frequent features Frequency Zone
/PROPER-NAME/AND 9
/COMMON-NOUN/message 6
/COMMON-NOUN/thi 4
/COMMON-NOUN/requête 3
/COMMON-NOUN/attachment 3
/COMMON-NOUN/opening 2
/COMMON-NOUN/viruse 2
/VERB/andre 2
/COMMON-NOUN/mail 2
/COMMON-NOUN/are 2
/COMMON-NOUN/agent 2
/COMMON-NOUN/is 2
/COMMON-NOUN/rapport 2
/NP/thi message 2
/ADJ/you 2
/ADJ/agentstatevent 2
/COMMON-NOUN/and 2
/VERB/scannedre 2
/PROPER-NAME/Select 1
/COMMON-NOUN/sender 1
/COMMON-NOUN/senext 1
/NP/Should you 1
/COMMON-NOUN/file 1
/NP/reply transmission 1
/NP/requête suivant 1
/NP/opening it 1
/COMMON-NOUN/système 1
/VERB/constater 1
/VERB/mistaker 1
/NP/agentstatevent aseprev 1
/PROPER-NAME/Stéphane GUILLOU 1