Sunday, July 2, 2017

How to collect ADDM and AWR Report

Below are the procedure to collect ADDM & AWR report:

1. Collect ADDM report
[oracle@qpaydb ~]$ cd $ORACLE_HOME/rdbms/admin
[oracle@qpaydb admin]$ pwd
/u01/app/oracle/product/11.2.0.4.0/dbhome_1/rdbms/admin
[oracle@qpaydb admin]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Sun Jul 2 16:03:56 2017

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> @addmrpt.sql


2. Collect AWR report
[oracle@qpaydb admin]$
[oracle@qpaydb admin]$ pwd
/u01/app/oracle/product/11.2.0.4.0/dbhome_1/rdbms/admin
[oracle@qpaydb admin]$
[oracle@qpaydb admin]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Sun Jul 2 16:08:19 2017

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options


SQL> @awrrpt.sql

No comments:

Post a Comment