oracle抓取指定时间段AWR报告实例说明
1、使用具有oracle应用程序执行权限的用户(如:oracle用户)登录到oracle应用服务器
2、进入到awrrpt.sql脚本所在目录:
如:cd /oracle/product/db10g/rdbms/admin
3、使用sqlplus登录到数据库,如:
>/oracle/product/db10g/rdbms/admin$ sqlplussys/sys as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on Wed Aug 19 10:58:11 2015
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
SQL>
4、执行awrrpt.sql
5、在输入提示出输入希望生产的AWR报告格式