<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Oracle RAC and gv$ Views: A Second Look</title>
	<atom:link href="http://www.pythian.com/news/992/oracle-rac-and-gv-views-a-second-look/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/992/oracle-rac-and-gv-views-a-second-look/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:01:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: David Ashlock</title>
		<link>http://www.pythian.com/news/992/oracle-rac-and-gv-views-a-second-look/#comment-375857</link>
		<dc:creator>David Ashlock</dc:creator>
		<pubDate>Sun, 20 Sep 2009 16:22:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/992/oracle-rac-and-gv-views-a-second-look#comment-375857</guid>
		<description>Thanks for that information Michael, I&#039;ll check that out.  Appreciate the reply!</description>
		<content:encoded><![CDATA[<p>Thanks for that information Michael, I&#8217;ll check that out.  Appreciate the reply!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Wehrle</title>
		<link>http://www.pythian.com/news/992/oracle-rac-and-gv-views-a-second-look/#comment-375552</link>
		<dc:creator>Michael Wehrle</dc:creator>
		<pubDate>Fri, 18 Sep 2009 17:35:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/992/oracle-rac-and-gv-views-a-second-look#comment-375552</guid>
		<description>David Ashlock, good article. Although, I may point out to you...

in re: &quot;Holders can be identified where the request is 0, as the request column specifies the type of wait request — for a holder this column has no meaning. Waiters, likewise, can be seen as having an lmode of 0 as that is only a valid value for a holder.&quot;

It is possible for a holder to have a request &gt; 0. This happens when a lock conversion is taking place where the holder of a lock is requesting a higher lock. This also means that a holder of a lower lock can also be a waiter requesting a higher lock. Your blocking sessions query will not catch this situation.

To identify waiters, I only use request &gt; 0, then join that id1, id2 back to gv$lock to find the holder of the lock.

This is explained well in Expert Oracle Architecture - Thomas Kyte or by a search for oracle lock conversion.

Thanks, Michael Wehrle</description>
		<content:encoded><![CDATA[<p>David Ashlock, good article. Although, I may point out to you&#8230;</p>
<p>in re: &#8220;Holders can be identified where the request is 0, as the request column specifies the type of wait request — for a holder this column has no meaning. Waiters, likewise, can be seen as having an lmode of 0 as that is only a valid value for a holder.&#8221;</p>
<p>It is possible for a holder to have a request &gt; 0. This happens when a lock conversion is taking place where the holder of a lock is requesting a higher lock. This also means that a holder of a lower lock can also be a waiter requesting a higher lock. Your blocking sessions query will not catch this situation.</p>
<p>To identify waiters, I only use request &gt; 0, then join that id1, id2 back to gv$lock to find the holder of the lock.</p>
<p>This is explained well in Expert Oracle Architecture &#8211; Thomas Kyte or by a search for oracle lock conversion.</p>
<p>Thanks, Michael Wehrle</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GrÃ©gory</title>
		<link>http://www.pythian.com/news/992/oracle-rac-and-gv-views-a-second-look/#comment-200695</link>
		<dc:creator>GrÃ©gory</dc:creator>
		<pubDate>Sat, 17 May 2008 03:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/992/oracle-rac-and-gv-views-a-second-look#comment-200695</guid>
		<description>Please don&#039;t make a 3rd post about GV$ views ! Run the query below on a non-RAC database :

select VIEW_DEFINITION
  from V$FIXED_VIEW_DEFINITION 
 where view_name=&#039;V$SESSION&#039;;

If you don&#039;t have any, you may want to look at that post http://www.pythian.com/blogs/968/installing-oracle-11g-on-ubuntu-804-lts-hardy-heron (I should work with 10g too)

Regarding your other question you may want to look at V$GES_ENQUEUE. And with RAC you could be interested to look at US, TA enqueues and probably many more. 

The LOCK word means too many things (And not only with Oracle). You could use the V$ENQUEUE_LOCK fixed view instead. BTW, Why to you display a &quot;KILL SESSION&quot; command ?</description>
		<content:encoded><![CDATA[<p>Please don&#8217;t make a 3rd post about GV$ views ! Run the query below on a non-RAC database :</p>
<p>select VIEW_DEFINITION<br />
  from V$FIXED_VIEW_DEFINITION<br />
 where view_name=&#8217;V$SESSION&#8217;;</p>
<p>If you don&#8217;t have any, you may want to look at that post <a href="http://www.pythian.com/blogs/968/installing-oracle-11g-on-ubuntu-804-lts-hardy-heron" rel="nofollow">http://www.pythian.com/blogs/968/installing-oracle-11g-on-ubuntu-804-lts-hardy-heron</a> (I should work with 10g too)</p>
<p>Regarding your other question you may want to look at V$GES_ENQUEUE. And with RAC you could be interested to look at US, TA enqueues and probably many more. </p>
<p>The LOCK word means too many things (And not only with Oracle). You could use the V$ENQUEUE_LOCK fixed view instead. BTW, Why to you display a &#8220;KILL SESSION&#8221; command ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

