The Oracle 10g database introduces a new framework for managing many
tuning tasks automatically, for producing real-time information about the
database's health, and for extending advisories to improve performance.
The new manageability infrastructure mainly focuses on four areas. They are
as follows:
You can disable the statspack capture as AWR will capture all the
information.
To enable most of the new statistical gathering and advisors, ensure that the
parameter.
To generate an HTML or text report for a range of snapshot Ids, run the
awrrpt.sql script at the SQL prompt:
Oracle provides two scripts to produce 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 as follows:
@$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
SQL>@$ORACLE_HOME/rdbms/admin/awrrpt.sql
First, you need to specify whether you want an HTML or a text report.
Specify the number of days for which you want to list snapshot Ids.
After the list displays, you are prompted for the beginning and ending
snapshot Id for the
workload repository report.
Next, accept the default report name or enter a report name. The default
name is accepted in the
following example:
...
...
….