- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
常见性能报告收集方法(AWR,ASH)
在出现性能问题的时候,HS_DBA通常都需要你生成,出现性能问题时间段的AWR或者ASH报告,所以还是需要客户维护人员平常学会收集AWR ASH报告收集也是比较简单的一下为实例:1 AWR 报告的收集$ sqlplus / as sysdba(首先在操作上以ORACLE用户登录,并且以SYS登录数据库)SQL*Plus: Release 10.2.0.1.0 - Production on Wed Dec 24 14:57:53 2008Copyright (c) 1982, 2005, Oracle.? All rights reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit ProductionWith the Partitioning, Real Application Clusters, OLAP and Data Mining optionsSQL @$ORACLE_HOME/rdbms/admin/awrrpt.sql;(执行这个SQL就可以开始AWR报告收集)Current Instance~~~~~~~~~~~~~~~~ DB Id? ? DB Name? ? ? Inst Num Instance----------- ------------ -------- ------------3704746844 HS08? ? ? ? ? ? ? ? 1 HS081Specify 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 htmlEnter value for report_type:? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? (首先会提示你输入生成报告类型,默认为HTML,所以回车就OK)Type Specified:? htmlInstances in this Workload Repository schema~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DB Id? ? Inst Num DB Name? ? ? Instance? ? Host------------ -------- ------------ ------------ ------------ 3704746844? ? ? ? 2 HS08? ? ? ? HS082? ? ? ? hp102* 3704746844? ? ? ? 1 HS08? ? ? ? HS081? ? ? ? hp101Using 3704746844 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 return withoutspecifying a number lists all completed snapshots.Enter value for num_days: 1(输入快照查看的间隔,一般一天的就OK,实际根据HS DBA的要求来做,)Listing the last days Completed Snapshots SnapInstance? ? DB Name? ? ? ? Snap Id? ? Snap Started? ? Level------------ ------------ --------- ------------------ -----HS081? ? ? ? HS08? ? ? ? ? ? ? 158 24 Dec 2008 00:00? ? ? 1 159 24 Dec 2008 01:00? ? ? 1 160 24 Dec 2008 02:00? ? ? 1 161 24 Dec 2008 03:00? ? ? 1 162 24 Dec 2008 04:00? ? ? 1
文档评论(0)