Home > Database > Mysql Tutorial > body text

Oracle 10.2.0.5 rac awr不能自动生成

WBOY
Release: 2016-06-07 17:26:38
Original
1328 people have browsed it

数据库版本:Oracle 10.2.0.5 rac 操作系统版本:CentOS 5.6-64 1、出现问题: 1)后台alter日志没有任何错误 2)mmon报错内容如

数据库版本:Oracle 10.2.0.5 rac

操作系统版本:CentOS 5.6-64

1、出现问题:

1)后台alter日志没有任何错误

2)mmon报错内容如下

*** KEWRAFC: Flush slave failed, AWR Enqueue Timeout
*** 2013-02-17 10:46:15.419
*** KEWRAFC: Flush slave failed, AWR Enqueue Timeout
*** 2013-02-17 10:47:15.598
*** KEWRAFC: Flush slave failed, AWR Enqueue Timeout
*** 2013-02-17 10:48:15.783
*** KEWRAFC: Flush slave failed, AWR Enqueue Timeout
*** 2013-02-17 10:49:15.968

3)做awr报告是,没有最近的snapshot生成

2、问题排查:

1)查看锁和session

select do.object_name,
      do.object_type,
      gv.SQL_ID,
      gv.EVENT,
      gv.WAIT_CLASS,
      gv.WAIT_TIME,
      gv.PADDR
  from gv$locked_object gl, gv$session gv, dba_objects do
 where gl.SESSION_ID = gv.SID
  and gl.OBJECT_ID = do.object_id;

发现有awr相关的表锁住了

2)查看锁表的进程

select * from gv$process gp where gp.ADDR='00000002D8610778';

3)使用os命令

# ps -ef | grep 28039
oracle  28039    1  0 04:00 ?        00:00:16 ora_m000_west1
kill 掉m000就恢复正常

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!