<?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"
	>
<channel>
	<title>Comments on: DUAL behavior change</title>
	<atom:link href="http://awads.net/wp/2005/11/09/dual-behavior-change/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2005/11/09/dual-behavior-change/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<pubDate>Fri, 21 Nov 2008 03:40:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Carl r.</title>
		<link>http://awads.net/wp/2005/11/09/dual-behavior-change/#comment-323</link>
		<dc:creator>Carl r.</dc:creator>
		<pubDate>Tue, 22 Nov 2005 11:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=161#comment-323</guid>
		<description>&lt;p&gt;hi - great news;
that's what  i like in the 10g release - there are also a lot of small changes with big effect.&lt;/p&gt;

&lt;p&gt;Carl&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hi - great news;<br />
that&#8217;s what  i like in the 10g release - there are also a lot of small changes with big effect.</p>
<p>Carl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UM</title>
		<link>http://awads.net/wp/2005/11/09/dual-behavior-change/#comment-282</link>
		<dc:creator>UM</dc:creator>
		<pubDate>Thu, 10 Nov 2005 19:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=161#comment-282</guid>
		<description>&lt;p&gt;Keep in mind that we should not refer to 'dummy' column of Dual table. If we do, plan will revert back to 5 c.gets.&lt;/p&gt;

&lt;p&gt;Usually, we don't need to refer dummy column, but I had seen some code like that!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Keep in mind that we should not refer to &#8216;dummy&#8217; column of Dual table. If we do, plan will revert back to 5 c.gets.</p>
<p>Usually, we don&#8217;t need to refer dummy column, but I had seen some code like that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yas</title>
		<link>http://awads.net/wp/2005/11/09/dual-behavior-change/#comment-281</link>
		<dc:creator>yas</dc:creator>
		<pubDate>Thu, 10 Nov 2005 11:52:41 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=161#comment-281</guid>
		<description>&lt;p&gt;&lt;i&gt;Since I only need the SYSDATE, which is not stored in the DUAL table, why scan (full or not) the DUAL (or any) table?&lt;/i&gt;
Definitely. We had this query which is executed more than 2 million times in every half hour.
SELECT SYS_CONTEXT(:B2,:B1) FROM SYS.DUAL
Creating and index on dual made it 1/3. Seems it will be better when we upgrade to 10G.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><i>Since I only need the SYSDATE, which is not stored in the DUAL table, why scan (full or not) the DUAL (or any) table?</i><br />
Definitely. We had this query which is executed more than 2 million times in every half hour.<br />
SELECT SYS_CONTEXT(:B2,:B1) FROM SYS.DUAL<br />
Creating and index on dual made it 1/3. Seems it will be better when we upgrade to 10G.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2005/11/09/dual-behavior-change/#comment-280</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Wed, 09 Nov 2005 23:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=161#comment-280</guid>
		<description>&lt;p&gt;Hi Rob, &lt;/p&gt;

&lt;p&gt;I guess it does not matter much in the case of DUAL. However, "0  consistent gets" is better than "3  consistent gets" because, quoting &lt;a href="http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:6643159615303#6653929680584" rel="nofollow"&gt;AskTom&lt;/a&gt;: "Each consistent get is a latch, latches = contention".&lt;/p&gt;

&lt;p&gt;Since I only need the SYSDATE, which is not stored in the DUAL table, why scan (full or not) the DUAL (or any) table?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Rob, </p>
<p>I guess it does not matter much in the case of DUAL. However, &#8220;0  consistent gets&#8221; is better than &#8220;3  consistent gets&#8221; because, quoting <a href="http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:6643159615303#6653929680584" rel="nofollow">AskTom</a>: &#8220;Each consistent get is a latch, latches = contention&#8221;.</p>
<p>Since I only need the SYSDATE, which is not stored in the DUAL table, why scan (full or not) the DUAL (or any) table?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Vollman</title>
		<link>http://awads.net/wp/2005/11/09/dual-behavior-change/#comment-279</link>
		<dc:creator>Robert Vollman</dc:creator>
		<pubDate>Wed, 09 Nov 2005 23:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=161#comment-279</guid>
		<description>&lt;p&gt;Eddie, I am missing something.  DUAL has just one row, why does it matter if Oracle does a full tablescan of a single-row table (that is very likely in the cache anyway)?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Eddie, I am missing something.  DUAL has just one row, why does it matter if Oracle does a full tablescan of a single-row table (that is very likely in the cache anyway)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
