- 最后登录
- 2014-10-30
- 在线时间
- 23 小时
- 威望
- 0
- 金钱
- 129
- 注册时间
- 2014-1-26
- 阅读权限
- 10
- 帖子
- 29
- 精华
- 0
- 积分
- 0
- UID
- 1650
|
1#
发表于 2014-2-24 14:54:27
|
查看: 6495 |
回复: 7
现象:10g rac下,准备用脚本收集AWR报告时,2节点上没有AWR快照,1节点正常。
--系统:redhat5.5
[oracle@gps02 ~]$ uname -a
Linux gps02.yto.com 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
--数据库版本(为双节点RAC)
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
--快照间隔时间
SQL> select snap_interval,retention from dba_hist_wr_control;
SNAP_INTERVAL RETENTION
-------------------- --------------------
+00000 01:00:00.0 +00007 00:00:00.0
--通过下面的试图查出,节点2在在2014-02-22开始就不产生快照信息了,但是节点1正常
select instance_number,snap_id,
to_char(begin_interval_time, 'YYYY-MM-DD'),
to_char(end_interval_time, 'YYYY-MM-DD')
from dba_hist_snapshot
order by snap_id;
INSTANCE_NUMBER SNAP_ID TO_CHAR(BEGIN_INTERV TO_CHAR(END_INTERVAL
-------------- ---------- -------------------- --------------------
......
2 20543 2014-02-21 2014-02-21
1 20543 2014-02-21 2014-02-21
2 20544 2014-02-21 2014-02-21
1 20544 2014-02-21 2014-02-21
2 20545 2014-02-21 2014-02-21
1 20545 2014-02-21 2014-02-21
2 20546 2014-02-21 2014-02-21
1 20546 2014-02-21 2014-02-21
2 20547 2014-02-21 2014-02-21
1 20547 2014-02-21 2014-02-21
1 20548 2014-02-21 2014-02-21
2 20548 2014-02-21 2014-02-21
2 20549 2014-02-21 2014-02-21
1 20549 2014-02-21 2014-02-21
2 20550 2014-02-21 2014-02-21
1 20550 2014-02-21 2014-02-21
2 20551 2014-02-21 2014-02-21
1 20551 2014-02-21 2014-02-21
1 20552 2014-02-21 2014-02-21
2 20552 2014-02-21 2014-02-21
2 20553 2014-02-21 2014-02-21
1 20553 2014-02-21 2014-02-21
2 20554 2014-02-21 2014-02-22
1 20554 2014-02-21 2014-02-21
1 20555 2014-02-21 2014-02-22--开始node2就不产生快照了
1 20556 2014-02-22 2014-02-22
1 20557 2014-02-22 2014-02-22
1 20558 2014-02-22 2014-02-22
1 20559 2014-02-22 2014-02-22
.......
--aler日志切换正常,前后没有ORA-错误;
--在node 2上的,mmon进程trace文件很大,大约700M,从2-11号开始写,之前没有做event跟踪,平均每1分钟写下面的内容
.....
*** 2014-02-23 07:33:39.756
SGA POLICY: Cache below reserve and cant get memory from any other component
GRANULE SIZE is 16777216
COMPONENT NAME : shared pool, curnum=131, usrsz=128, tgt=131, st=0
Number of granules in inactive list (listid 0) is 0
Number of granules in activate list (listid 1) is 0
Number of granules in inuse list (listid 2) is 131
Number of granules in quiesce list (listid 3) is 0
Number of granules in partially inuse list (listid 4) is 0
......
COMPONENT NAME : ASM Buffer Cache, curnum=0, usrsz=875, tgt=0, st=0
Number of granules in inactive list (listid 0) is 0
Number of granules in activate list (listid 1) is 0
Number of granules in inuse list (listid 2) is 0
Number of granules in quiesce list (listid 3) is 0
Number of granules in partially inuse list (listid 4) is 0
*** 2014-02-23 07:34:09.764
SGA POLICY: Cache below reserve and cant get memory from any other component
..... |
|