AWR Features
The AWR is used to collect performance statistics including:
- Wait events used to identify performance problems.
- Time model statistics indicating the amount of DB time associated with a process from the
V$SESS_TIME_MODEL
andV$SYS_TIME_MODEL
views. - Active Session History (ASH) statistics from the
V$ACTIVE_SESSION_HISTORY
view. - Some system and session statistics from the
V$SYSSTAT
andV$SESSTAT
views. - Object usage statistics.
Workload Repository Reports
Oracle provide 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.
The scripts prompt you to enter the report format (html or text), the start snapshot id, the end snapshot id and the report file name. The resulting report can be opened in a browser or text editor accordingly.@$ORACLE_HOME/rdbms/admin/awrrpt.sql @$ORACLE_HOME/rdbms/admin/awrrpti.sql
Enterprise Manager
The automated workload repository administration tasks have been included in Enterprise Manager. The "Automatic Workload Repository" page is accessed from the main page by clicking on the "Administration" link, then the "Workload Repository" link under the "Workload" section. The page allows you to modify AWR settings or manage snapshots without using the PL/SQL APIs.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.