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

  1. rem Statistical summary of performance data for the execute event
  2. rem Other data of interest:
  3. rem  DB_block_gets, consistent_gets, physical_reads, redo_entries, redo_size, 
  4. rem  sort_memory, sort_disk, sort_rows 
  5. select min (db_block_change_end - db_block_change_start) "Min Block Changes",
  6.        max (db_block_change_end - db_block_change_start) "Max Block Changes", 
  7.        avg (db_block_change_end - db_block_change_start) "Avg Block Changes",
  8.        min(t_scan_rows_got_end - t_scan_rows_got_start) "Min Table Scan Rows",
  9.        max(t_scan_rows_got_end - t_scan_rows_got_start) "Max Table Scan Rows",
  10.        avg(t_scan_rows_got_end - t_scan_rows_got_start) "Avg Table Scan Rows",
  11.        count(*) "Number of Executes"
  12. from v_192216243_f_5_e_9_7_3, epc_collection c
  13. where c.collection_name = '&&cllctn' and
  14.       c.collection_id = collection_number;
  15.