1.双击awr.cmd,通过cmd窗口运行awr.sql cmd.exe /c sqlplus lcam_1230/zcpzg1z_1230@54_orcl @awr.sql awr.cmd 2.awr.sql,定义需要生成的AWR报告的时间区间,调用myawr.sql exit 2.awr.sql 3.myawr.sql,获取AWR报告数据 set echo off; set veri off; set feedback off; set termout on; set heading off…
1.进入sqlplus [oracle@localhost admin]$ sqlplus / as sysdba SQL Production :: Copyright (c) , , Oracle. All rights reserved. Connected to: Oracle - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> 2.执行…