How to Generate and Analyze AWR Report





Workload Repository Reports

Oracle provide two scripts to generate database automatic workload repository reports (awrrpt.sql and awrrpti.sql). They are similar in format to the statspack reports and give the option of HTML or plain text formats. The two reports give essential the same output but the awrrpti.sql allows you to select a single instance. The reports can be generated by running these two script son SQLPLUS prompt after connecting to SYSDBA schema or schema with necessary privileges in below fashion:

@$ORACLE_HOME/rdbms/admin/awrrpt.sql
@$ORACLE_HOME/rdbms/admin/awrrpti.sql

The scripts prompt you to enter the report format (html or text), the start snapshot id, the end snapshot id and the report filename. The resulting report can be opend in a browser or text editor accordingly.

An example of a HTML AWR report can be seen here.


Read More Add your Comment 0 comments

Oracle Automatic Workload Repository (AWR) Report




Oracle have provided many performance gathering and reporting tools over the years. In earlier releases, UTLBSTAT/UTLESTAT scripts were used to monitor performance metrics. Oracle8i introduced the Statspack functionality which Oracle9i extended. In Oracle 10g statspack has evolved into the Automatic Workload Repository (AWR).


Read More Add your Comment 0 comments
 

© 2010 Codes & Concepts All Rights Reserved Thesis WordPress Theme Converted into Blogger Template by Hack Tutors.info