<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Eddie Awad’s Blog - Latest Comments in DUAL behavior change</title><link>http://awads.disqus.com/</link><description>News, views, tips and tricks on Oracle and other fun stuff</description><atom:link href="https://awads.disqus.com/dual_behavior_change/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 22 Nov 2005 06:41:19 -0000</lastBuildDate><item><title>Re: DUAL behavior change</title><link>http://awads.net/wp/2005/11/09/dual-behavior-change/#comment-3658009</link><description>&lt;p&gt;hi - great news;&lt;br&gt;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;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Carl&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl r.</dc:creator><pubDate>Tue, 22 Nov 2005 06:41:19 -0000</pubDate></item><item><title>Re: DUAL behavior change</title><link>http://awads.net/wp/2005/11/09/dual-behavior-change/#comment-3658008</link><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;&lt;br&gt;&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><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">UM</dc:creator><pubDate>Thu, 10 Nov 2005 14:31:08 -0000</pubDate></item><item><title>Re: DUAL behavior change</title><link>http://awads.net/wp/2005/11/09/dual-behavior-change/#comment-3658007</link><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;&lt;br&gt;Definitely. We had this query which is executed more than 2 million times in every half hour.&lt;br&gt;SELECT SYS_CONTEXT(:B2,:B1) FROM SYS.DUAL&lt;br&gt;Creating and index on dual made it 1/3. Seems it will be better when we upgrade to 10G.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">yas</dc:creator><pubDate>Thu, 10 Nov 2005 06:52:41 -0000</pubDate></item><item><title>Re: DUAL behavior change</title><link>http://awads.net/wp/2005/11/09/dual-behavior-change/#comment-3658006</link><description>&lt;p&gt;Hi Rob, &lt;/p&gt;&lt;p&gt;&lt;br&gt;&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 noopener" target="_blank" title="http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:6643159615303#6653929680584"&gt;AskTom&lt;/a&gt;: "Each consistent get is a latch, latches = contention".&lt;/p&gt;&lt;p&gt;&lt;br&gt;&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><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eddie Awad</dc:creator><pubDate>Wed, 09 Nov 2005 18:54:14 -0000</pubDate></item><item><title>Re: DUAL behavior change</title><link>http://awads.net/wp/2005/11/09/dual-behavior-change/#comment-3658005</link><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><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Vollman</dc:creator><pubDate>Wed, 09 Nov 2005 18:17:35 -0000</pubDate></item></channel></rss>