home *** CD-ROM | disk | FTP | other *** search
/ Oracle Video Server 3.0.3.1 / OVS_3031_NT.iso / win32 / tracesvr / otrcrpt2.sql < prev    next >
Encoding:
Text File  |  1997-01-21  |  528 b   |  12 lines

  1. rem Frequency of waits events per minute
  2. rem To change the interval, change the date format model in the trunc functions
  3. rem Wait events are only collected with the ALL class (oracle7a.fdf)
  4.  
  5. select to_char(trunc(w.timestamp, 'MI'), 'DD-MON-YY HH24:MI') "Interval",
  6.        w.description "Cause of Wait", 
  7.        count(*) "Frequency"
  8. from v_192216243_f_5_e_13_7_3 w, epc_collection c
  9. where c.collection_name = '&&cllctn' and
  10.       c.collection_id = w.collection_number
  11. group by trunc(w.timestamp, 'MI'), w.description;
  12.