<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>停止空想 &#187; library cache</title>
	<atom:link href="http://neal.bangpie.net/tag/library-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://neal.bangpie.net</link>
	<description>老张的空中之家</description>
	<lastBuildDate>Fri, 06 Nov 2009 15:35:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>library cache lock/pin 等待事件的处理(转)</title>
		<link>http://neal.bangpie.net/2009/01/library-cache-lockpin-%e7%ad%89%e5%be%85%e4%ba%8b%e4%bb%b6%e7%9a%84%e5%a4%84%e7%90%86%e8%bd%ac/</link>
		<comments>http://neal.bangpie.net/2009/01/library-cache-lockpin-%e7%ad%89%e5%be%85%e4%ba%8b%e4%bb%b6%e7%9a%84%e5%a4%84%e7%90%86%e8%bd%ac/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 03:33:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[library cache]]></category>

		<guid isPermaLink="false">http://neal.bangpie.net/?p=336</guid>
		<description><![CDATA[转自 http://tolywang.itpub.net/post/48/70906 概述 造成数据库性能下降或挂起的原因很多,”library cache pin”等待是其中之一.当数据库性能严重下降或挂起时,我们通过查询v$session_wait,发现大量的”library cache pin”等待,查询的SQL语句如下: #su &#8211; oracle $svrmgrl svrmgr&#62;connect internal svrmgr&#62;select sid,event,p1,p2,p3 from v$session_wait where wait_time=0; SID EVENT P1 P2 P3 &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8211; 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 [...]]]></description>
		<wfw:commentRss>http://neal.bangpie.net/2009/01/library-cache-lockpin-%e7%ad%89%e5%be%85%e4%ba%8b%e4%bb%b6%e7%9a%84%e5%a4%84%e7%90%86%e8%bd%ac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>library cache lock/pin 概念</title>
		<link>http://neal.bangpie.net/2008/12/library-cache-lockpin-%e6%a6%82%e5%bf%b5/</link>
		<comments>http://neal.bangpie.net/2008/12/library-cache-lockpin-%e6%a6%82%e5%bf%b5/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 02:55:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[library cache]]></category>

		<guid isPermaLink="false">http://neal.bangpie.net/?p=330</guid>
		<description><![CDATA[转自晶晶小妹  http://space.itpub.net/13095417/viewspace-201617 第一小结　　library cache 的内存结构 ITPUB个人空间)K2};z3FwE Library cache的作用，最主要的就是存储已解析的SQL声明，避免硬解析。我们可以通过一个视图V$librarycache来了解Library cache点中率，已此来评估SQL声明的解析情况。应时时注意此视图中点中率情况，好及时发现并解决问题。 D[/b;`fd126162 一、Library cache中所存储的信息： b'e'x(\E)S126162 1. 按对象类型分类：ITPUB个人空间.g0^7`n;s*QL 共享游标（SQL and PL/SQL objects）、数据库对象（tables, indexes, and so on） H;BI Q"bud!Otx-r126162 2. 按存在时间分类：ITPUB个人空间v ~ H&#124; L;Hm McC 存贮对象：如表、索引、视图等（老化后 磁盘上还有 所以叫永久存储 并不是永久存储在LIBRARY 中）ITPUB个人空间.\Ff�j F ? 瞬时对象：如游标（老化后就没有了）（简单了解在Library cache中数据库对象的信息是什么） *v8SO.wp` {126162 二、Library cache中如何存储信息 ITPUB个人空间QF)xi{ Vz#T%z Ki 了解Library cache的简单原理，对于理解一些调优概念，是十分必要的。 ITPUB个人空间O]+eh s5XEm9U 共享池内存的结构，是计算机中常用的哈希表形式的扩展。常用的哈希表形式，总是先有一个哈希表，保存对象地址（或句柄），然后，根据对象地址（或句柄）访问对象，计算机中常以这种方式组织数据。其基本形式如下： 注意地址和句柄的区别，一般来说，地址只是一个位置信息。而句柄，除了位置，还包含一些其他信息。 K,[9E[G+S*N%&#124;^cz4E126162 还要注意“堆（Heap）”的概念，程序开发者在程序员使用系统函数分配的内存。 [...]]]></description>
		<wfw:commentRss>http://neal.bangpie.net/2008/12/library-cache-lockpin-%e6%a6%82%e5%bf%b5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

