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

  1. rem Analysis of resource wait times
  2. rem Wait events are only collected by the ALL class (oracle7a.fdf)
  3.  
  4. select w.description "Cause of Wait", 
  5.        min(w.wait_time) "Min Wait Time",
  6.        max(w.wait_time) "Max Wait Time", 
  7.        avg(w.wait_time) "Avg Wait Time",
  8.        count(*) "Number of Waits"
  9. from v_192216243_f_5_e_13_7_3 w, epc_collection c
  10. where c.collection_name = '&&cllctn' and
  11.       c.collection_id = w.collection_number
  12. group by description;
  13.