手机版
你好,游客 登录 注册
背景:
阅读新闻

AWR报告的使用

[日期:2013-06-04] 来源:Linux社区  作者:snoopy93 [字体:大 中 小]
另外有一种addm报告会帮助我们分析,并且提供必要的调优建议:
 
SQL> @/home/Oracle/oracle/product/10.2.0/db_1/rdbms/admin/addmrpt.sql
 
Current Instance
~~~~~~~~~~~~~~~~
 
DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
1326384392 ORCL 1 orclsid
 
 
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
DB Id Inst Num DB Name Instance Host
------------ -------- ------------ ------------ ------------
* 1326384392 1 ORCL orclsid localhost.lo
caldomain
 
Using 1326384392 for database Id
Using 1 for instance number
 
 
Specify the number of days of snapshots to choose from
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entering the number of days (n) will result in the most recent
(n) days of snapshots being listed. Pressing <return> without
specifying a number lists all completed snapshots.
 
 
 
Listing the last 3 days of Completed Snapshots
 
Snap
Instance DB Name Snap Id Snap Started Level
------------ ------------ --------- ------------------ -----
orclsid ORCL 220 19 May 2013 10:18 1
221 19 May 2013 11:00 1
222 19 May 2013 11:42 1
223 19 May 2013 12:00 1
224 19 May 2013 12:30 1
225 19 May 2013 13:00 1
226 19 May 2013 13:30 1
227 19 May 2013 14:00 1
228 19 May 2013 14:30 1
229 19 May 2013 15:00 1
230 19 May 2013 15:31 1
 
 
 
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 228
 
Enter value for end_snap: 229
End Snapshot Id specified: 229
 
 
 
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is addmrpt_1_228_229.txt. To use this name,
press <return> to continue, otherwise enter an alternative.
 
Enter value for report_name: 可以使用默认文件名
DETAILED ADDM REPORT FOR TASK 'TASK_1814' WITH ID 1814
------------------------------------------------------
 
Analysis Period: 19-MAY-2013 from 13:30:50 to 14:00:57
Database ID/Instance: 1326384392/1
Database/Instance Names: ORCL/orclsid
Host Name: localhost.localdomain
Database Version: 10.2.0.1.0
Snapshot Range: from 226 to 227
Database Time: 11 seconds
Average Database Load: 0 active sessions
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
THERE WAS NOT ENOUGH DATABASE TIME FOR ADDM ANALYSIS.
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
ADDITIONAL INFORMATION
----------------------
 
There was no significant database activity to run the ADDM.
 
The database's maintenance windows were active during 99% of the analysis
period.
 
The analysis of I/O performance is based on the default assumption that the
average read time for one database block is 10000 micro-seconds.
 
An explanation of the terminology used in this report is available when you
run the report with the 'ALL' level of detail.
更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
 
linux
相关资讯       AWR  AWR报告 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款