如何生成 AWR oracle awr报告分析

oracle数据库的awr报告怎么做,需要安装oracle吗?_百度知道
oracle数据库的awr报告怎么做,需要安装oracle吗?
提问者采纳
这个脚本从外观和感觉上类似于 StatspackAWR是需要在运行Oracle的环境上:文本格式(类似于 Statspack 报表的文本格式但来自于 AWR 信息库)和默认的 HTML 格式(拥有到部分和子部分的所有超链接);nologconn system/rdbms&#47:sqlplus &#47,AWR 的功能可以立即通过它从采集的统计数据和量度中生成的报表得到最好的说明,从而提供了非常用户友好的报表。
手动生成AWR快照号,它显示所有的现有 AWR 快照并请求两个特定的快照作为时间间隔边界,获取数据库的相关信息.sql 选择生成HTML格式;awrrpt:exec dbms_workload_repository。现在运行该脚本以查看报表。通过运行 $ORACLE_HOME/rdbms/admin 目录中的 awrrpt.sql 脚本。它产生两种类型的输出,从而对 AWR 的功能有一个了解,使用Oracle登录到服务器上。然后会看到时间段和数字.create_snapshot用CRT软件;system@$ORACLE_HOME/admin&#47
提问者评价
按照你说的,真的成功了,好开心,谢谢你!
其他类似问题
oracle数据库的相关知识
按默认排序
其他1条回答
楼上回答的很好了 就是那样做就ok
如不清楚 可以再问我
您可能关注的推广
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
Oracle 11g AWR 系列五:如何生成 AWR 报告?
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer-4.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口如何生成Oracle AWR报告 - jxpengtao - ITeye技术网站
博客分类:
如何生成Oracle AWR报告 (awrrpt)
Oracle性能分析入门学习中,遇到Oracle数据库的性能问题,一般首要的步骤就是导出AWR的分析报告,AWR是10g中新引入的一个工具,在这之前一般是利用statspack。要导出AWR报告,只要利用Oracle的一个脚本即可以完成,下面是我利用script录制的一段导出AWR report的过程。首先进入$ORACLE_HOME/rdbms/admin目录,在sqlplus下运行@awrrpt脚本,按照提示一步一步就可以达成,导出的格式有两种,txt格式和html格式。在OTN上,有一个DBA新feature系列,第六周就是专门讲的这个feature,大家可以去那里了解一下(中文的)Script started on Sun 27 Jan :15 PM PST[ractest@sun880-1 /u01/app/oracle/orahome/rdbms/admin]$ cd $ORACLE_HOME/rdbms/admin[ractest@sun880-1 /u01/app/oracle/orahome/rdbms/admin]$ sqlplus / as sysdbaSQL*Plus: Release 10.2.0.4.0 - Production on Sun Jan 27 20:47:38 2008Copyright (c) , Oracle. All Rights Reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, Real Application Clusters, OLAP, Data Miningand Real Application Testing optionsSQL& @awrrpt
Current Instance~~~~~~~~~~~~~~~~DB Id DB Name Inst Num Instance———– ———— ——– ———— ORCLDB 1 orcldb1Specify the Report Type~~~~~~~~~~~~~~~~~~~~~~~Would you like an HTML report, or a plain text report?Enter ‘html’ for an HTML report, or ‘text’ for plain textDefaults to ‘html’Enter value for report_type: textType Specified: textInstances in this Workload Repository schema~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~DB Id Inst Num DB Name Instance Host———— ——– ———— ———— ————*
1 ORCLDB orcldb1 sun880-1 4 ORCLDB orcldb4 sun880-4 2 ORCLDB orcldb2 sun880-2 3 ORCLDB orcldb3 sun880-3Using
for database IdUsing 1 for instance numberSpecify 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 withoutspecifying a number lists all completed snapshots.Enter value for num_days: 1Listing the last day’s Completed SnapshotsSnapInstance DB Name Snap Id Snap Started Level———— ———— ——— —————— —–orcldb1 ORCLDB 66 27 Jan
167 27 Jan
168 27 Jan
169 27 Jan
170 27 Jan
171 27 Jan
172 27 Jan
173 27 Jan
174 27 Jan
175 27 Jan
176 27 Jan
177 27 Jan
178 27 Jan
183 27 Jan
184 27 Jan
185 27 Jan
1Specify the Begin and End Snapshot Ids~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Enter value for begin_snap: 70Begin Snapshot Id specified: 70Enter value for end_snap: 71End Snapshot Id specified: 71Specify the Report Name~~~~~~~~~~~~~~~~~~~~~~~The default report file name is awrrpt_1_70_71.txt. To use this name,press to continue, otherwise enter an alternative.Enter value for report_name: Using the report name awrrpt_1_70_71.txtWORKLOAD REPOSITORY report forDB Name DB Id Instance Inst Num Release RAC Host———— ———– ———— ——– ———– — ————ORCLDB
orcldb1 1 10.2.0.4.0 YES sun880-1Snap Id Snap Time Sessions Curs/Sess——— ——————- ——– ———Begin Snap: 70 27-Jan-08 04:55:07 136 16.2End Snap: 71 27-Jan-08 05:55:21 141 16.5Elapsed: 60.23 (mins)DB Time: 5,814.07 (mins)Cache Sizes~~~~~~~~~~~ Begin End//此处有删减
————————————————————-End of ReportReport written to awrrpt_1_70_71.txtSQL& quitDisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, Real Application Clusters, OLAP, Data Miningand Real Application Testing options[ractest@sun880-1 /u01/app/oracle/orahome/rdbms/admin]$ exitscript done on Sun 27 Jan :16 PM PST
浏览: 42437 次
来自: 江西

我要回帖

更多关于 oracle awr 生成 的文章

 

随机推荐