生成sql monitor active report指令碼

abstractcyj發表於2014-08-29

點選(此處)摺疊或開啟

  1. set long 1000000
  2. set longchunksize 1000000
  3. set linesize 1000
  4. set pagesize 0
  5. set trim on
  6. set trimspool on
  7. set echo off
  8. set feedback off

  9. spool report_sql_monitor.html

  10. SELECT dbms_sqltune.report_sql_monitor(sql_id => \'0tm6yzkgzrfdn\',
  11.                                        base_path => \'http://www.eygle.com/sqlmon\',
  12.                                        report_level =>\'ALL\',
  13.                                        TYPE =>\'ACTIVE\')
  14.   FROM dual;
  15.   
  16.   
  17. spool off

執行後得到的效果截圖


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8520577/viewspace-1259983/,如需轉載,請註明出處,否則將追究法律責任。

相關文章