实例2上语句长时间等待某个块

OoNiceDream 发表于 2009-04-02 02:21

故障现象:相同的语句,在实例1上运行正常,实例二上长时间的“buffer busy waits”在等待某个块。

关键字: | 分类: 故障案例, 本站推荐 | 评论数: 4 | 阅读全文

ORA-14060的解决

OoNiceDream 发表于 2009-03-03 18:34

由于业务逻辑的改变,需要增加分区,分区键想由VARCHAR2(1)改为VARCHAR2(2)。报了个:

ORA-14060: data type or length of a table partitioning column may not be changed

解决方法挺简单的,就是使用exchange partition。

关键字: | 分类: 故障案例 | 评论数: 0 | 阅读全文

Paging Space不足导致系统挂起

OoNiceDream 发表于 2009-02-18 15:54

总结一个去年由于Paging Space不足导致系统挂起的案例。
监控报警,数据库挂起,无法连接,检查主机告警时,发现大量Paging Space不足的告警。

Sequence引起的row cache lock

OoNiceDream 发表于 2009-01-06 14:59

检查数据库发现有不少的row cache lock:

SYS@DB1> select Inst_id, event, username, sql_hash_value, count(*)
  2    from gv$session
  3   where Wait_class <> 'Idle'
  4   group by Inst_id, event, username, sql_hash_value
  5   order by 5;
 
INST_ID EVENT                                   USERNAME         SQL_HASH_VALUE   COUNT(*)
------- --------------------------------------- --------------- --------------- ----------
      1 latch free                              USER                 2266733057          1
      1 direct path write                       USER                 3348906585          1
      1 log file parallel write                                               0          1
      1 SQL*Net message to client               SYS                  2334880858          1
      1 log file sync                           USER                          0          1
      1 latch free                              USER                 3115510059          4
      1 latch: cache buffers chains             USER                 2266733057          5
      1 row cache lock                          USER                   24588433         22
关键字: | 分类: 故障案例 | 评论数: 0 | 阅读全文

Mutexes机制及其等待事件

OoNiceDream 发表于 2009-01-04 16:27

10G开始,引入mutexes机制用以代替library cache pin
关于mutexes的一些解释:
转自http://space.itpub.net/?uid-756652-action-viewspace-itemid-348176

Mutexes are new thing in 10.2 and they enable shared access to objects in somewhat similar manner than shared latches, that every successful get of particular mutex will increment its value and release will decrement. When the count is zero, no-one has the mutex and it is safe to get it in exclusive mode too. However they are more fine grained than kgl latches and provide better waiting mechanism as far as I understand.

关键字: | 分类: 基础知识, 故障案例, 本站推荐 | 评论数: 0 | 阅读全文

TX Enqueue in Mode 6的解决

OoNiceDream 发表于 2008-12-20 16:37

Enqueue等待事件中,TYPE为TX,MODE为6的等待,应该是最为常见,解决也相对较为容易的一种。
出现这种类型的等待,一般都是通过找出堵住其它会话的进程,通知应用提交或回滚事物,或是强制杀掉进程来解决。
下面是一个的生产案例:

关键字: | 分类: 基础知识, 故障案例, 本站推荐 | 评论数: 0 | 阅读全文

ORA-00030: User session ID does not exist

OoNiceDream 发表于 2008-11-10 08:49

查看等待事件,发现有10几个enqueue
查看锁资源情况,发现SID为984的会话堵住了其它会话
但984会话update是A表,而被锁住的是B表。

关键字: | 分类: 故障案例 | 评论数: 0 | 阅读全文

大量cdmp_目录生成

OoNiceDream 发表于 2008-11-09 10:04

发现/app目录空间使用率激增,经检查发现,主要是由于bdump目录下的cdmp_*这类目录导致:

关键字: | 分类: 故障案例 | 评论数: 0 | 阅读全文

一个有意思的ORA-600错误

OoNiceDream 发表于 2008-11-02 15:11

在执行一个存储过程,报了个ORA 600错误:

ORA-00600: internal error code, arguments: [kcbgcur_6], [8], [], [], [], [], [], []

而且在其它29个库都执行成功了,只在DB27上报错,alter log内容:

Errors in file /app/oracle/admin/DB27/udump/DB27_ora_10140.trc:
ORA-00600: internal error code, arguments: [kcbgcur_6], [8], [], [], [], [], [], []

关键字: | 分类: 故障案例 | 评论数: 1 | 阅读全文

站内搜索



返回首页 | 关于我 | 联系我 | 广告合作 | 网站地图 | 友情链接 | 版权声明 |