| 转自 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 中也有环境变量的设置方法): |
Popularity: 24% [?]
转自 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
Popularity: 25% [?]
转自晶晶小妹 http://space.itpub.net/13095417/viewspace-201617
第一小结 library cache 的内存结构
Library cache的作用,最主要的就是存储已解析的SQL声明,避免硬解析。我们可以通过一个视图V$librarycache来了解Library cache点中率,已此来评估SQL声明的解析情况。应时时注意此视图中点中率情况,好及时发现并解决问题。
一、Library cache中所存储的信息:
1. 按对象类型分类:
共享游标(SQL and PL/SQL objects)、数据库对象(tables, indexes, and so on)
2. 按存在时间分类:
存贮对象:如表、索引、视图等(老化后 磁盘上还有 所以叫永久存储 并不是永久存储在LIBRARY 中)
瞬时对象:如游标(老化后就没有了)(简单了解在Library cache中数据库对象的信息是什么)
Popularity: 26% [?]