AWR报告输出前的参数SnapId有空段无法跨越
2012-12-19 19:51
441 查看
做AWR报告,启动AWR,
SQL> @?/rdbms/admin/awrrpt;
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
2843528876 DEAN 1 dean
Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text report?
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
Enter value for report_type: text
Type Specified: text
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
------------ -------- ------------ ------------ ------------
* 2843528876 1 DEAN dean CENTOS5.5
Using 2843528876 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.
Enter value for num_days: 2
Listing the last 2 days of Completed Snapshots
Snap
Instance DB Name Snap Id Snap Started Level
------------ ------------ --------- ------------------ -----
dean DEAN 80 18 Dec 2012 13:22 1
81 19 Dec 2012 14:55 1
82 19 Dec 2012 16:00 1
83 19 Dec 2012 17:00 1
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 80
Begin Snapshot Id specified: 80
Enter value for end_snap: 83
End Snapshot Id specified: 83
declare
*
ERROR at line 1:
ORA-20200: The instance was shutdown between snapshots 80 and 83
ORA-06512: at line 42
可以看到,选择80——83这段是出错,提示在这段里有shutdown发生,注意看80段下一行是空的,查了资料,才知道原来这意思是这一段有数据库重启发生,所以AWR不能跨越空的段,随后重新选择81——83
成功显示出AWR报告
SQL> @?/rdbms/admin/awrrpt;
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
2843528876 DEAN 1 dean
Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text report?
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
Enter value for report_type: text
Type Specified: text
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
------------ -------- ------------ ------------ ------------
* 2843528876 1 DEAN dean CENTOS5.5
Using 2843528876 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.
Enter value for num_days: 2
Listing the last 2 days of Completed Snapshots
Snap
Instance DB Name Snap Id Snap Started Level
------------ ------------ --------- ------------------ -----
dean DEAN 80 18 Dec 2012 13:22 1
81 19 Dec 2012 14:55 1
82 19 Dec 2012 16:00 1
83 19 Dec 2012 17:00 1
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 80
Begin Snapshot Id specified: 80
Enter value for end_snap: 83
End Snapshot Id specified: 83
declare
*
ERROR at line 1:
ORA-20200: The instance was shutdown between snapshots 80 and 83
ORA-06512: at line 42
可以看到,选择80——83这段是出错,提示在这段里有shutdown发生,注意看80段下一行是空的,查了资料,才知道原来这意思是这一段有数据库重启发生,所以AWR不能跨越空的段,随后重新选择81——83
成功显示出AWR报告
相关文章推荐
- 关于AWR报告中一些参数的解释
- AWR报告参数:DB TIME和DB CPU
- awr报告里面的init.ora 显示参数是begin snap 时的值还是end snap的值呢
- 无法跨越程序集边界使用程序集“DataCheck, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”中的类型“List<ILayer>”,因为该类型有一个为嵌入互操作类型的泛型类型参数
- awr报告中的参数:物理读、逻辑读
- ado.net 使用:ExecuteReader 无法获取输出参数
- AWR报告参数:DB TIME和DB CPU
- SSIS中DataReader源无法使用参数的解决办法
- Linux xargs将输出数据流转换成命令参数
- MySQL 服务无法启动。 服务没有报告任何错误。 请键入 NET HELPMSG 3534 以获得更多的帮助。
- 解决windows输入参数控制台程序输出参数是总是第一个字符问题
- Spring MVC无法获取ajax POST的参数和值
- Oracle集合类型输出参数的PL/SQL存储过程及其Java调用
- Oracle AWR 报告中 No data exists for this section of the report 说明
- rm: 无法删除 "xxxxx.o" : 输入/输出错误.
- Mongodb使用explain优化查询(1)--explain输出参数解析
- Log4j输出格式控制--log4j的PatternLayout参数含义以及详细配置
- Servlet:servlet中传递中文参数到jsp页面中,出现无法正常传递以及传递成功以后,在jsp页面获取到的中文是
- AWR 报告 查看 数据库 负载
- 2.1.2 RGB Cube (about vertex output parameters) RGB立方体(关于顶点输出参数)