停止空想

老张的空中之家

存档于 一月, 2009

AIX 上 ora-600 [unable to load XDB library] 解决方法一则

作者:admin 发表时间:一月 - 31 - 2009
转自 http://blog.chinaunix.net/u1/58716/showart_687519.html   

Google 了下 ORA-600 [unable to load XDB library],大部分结果是要正确设置 LD_LIBRARY_PATH 和 LIBPATH 环境变量,metalink 文档号 351650.1 中提到(225897.1 中也有环境变量的设置方法):

阅读全文 »

类别:Oracle

library cache lock/pin 等待事件的处理(转)

作者:admin 发表时间:一月 - 4 - 2009

转自 http://tolywang.itpub.net/post/48/70906

概述

造成数据库性能下降或挂起的原因很多,”library cache pin”等待是其中之一.当数据库性能严重下降或挂起时,我们通过查询v$session_wait,发现大量的”library cache pin”等待,查询的SQL语句如下:

#su - oracle

$svrmgrl

svrmgr>connect internal

svrmgr>select sid,event,p1,p2,p3 from v$session_wait where wait_time=0;

SID EVENT P1 P2 P3

———- ————————- ———- ———- ————–

9 library cache pin 15417016 10090832 20

154 library cache pin 15417016 11224168 20

341 library cache pin 15417016 11449936 20

349 library cache pin 15417016 16489792 20

390 library cache pin 15417016 11992536 20

160 library cache pin 15417016 6166600 20

20 library cache pin 15417016 10868760 20

阅读全文 »

类别:Oracle