<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Geek Stuff</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2012/02/27/geek-stuff-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2012/02/27/geek-stuff-3/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Fri, 24 May 2013 13:27:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Paul</title>
		<link>http://jonathanlewis.wordpress.com/2012/02/27/geek-stuff-3/#comment-45196</link>
		<dc:creator><![CDATA[Paul]]></dc:creator>
		<pubDate>Tue, 28 Feb 2012 08:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=8503#comment-45196</guid>
		<description><![CDATA[Hello Mr. Jonathan,

thank You for Yore expaination!

Best regards,
Paul]]></description>
		<content:encoded><![CDATA[<p>Hello Mr. Jonathan,</p>
<p>thank You for Yore expaination!</p>
<p>Best regards,<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2012/02/27/geek-stuff-3/#comment-45184</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Mon, 27 Feb 2012 19:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=8503#comment-45184</guid>
		<description><![CDATA[Martin,

For any recent version of Oracle the &lt;strong&gt;leading()&lt;/strong&gt; hint is more appropriate than the &lt;strong&gt;ordered()&lt;/strong&gt; hint, but in principle hinting the underlying &lt;em&gt;gv$sql_shared_memory &lt;/em&gt;view is the appropriate fix from Oracle. 

The GV$ view has been around since at least 8.1.7.4, so I suspect the developer who wrote it thought that the hint &lt;i&gt;use_nl(h c)&lt;/i&gt; was specifying the order of the join - it&#039;s only in very recent releases of the manuals that Oracle has stated explicitly that this form of the hint is a short-hand for &lt;em&gt;/*+ use_nl(h) use_nl(c) */ &lt;/em&gt;and not a multi-table hint.

I wouldn&#039;t expect the query block name to change unless Oracle did something to introduce more (or differently named) query blocks in the GV$ view - and we hope they&#039;d only do that if they fixed the thing to work properly anyway.]]></description>
		<content:encoded><![CDATA[<p>Martin,</p>
<p>For any recent version of Oracle the <strong>leading()</strong> hint is more appropriate than the <strong>ordered()</strong> hint, but in principle hinting the underlying <em>gv$sql_shared_memory </em>view is the appropriate fix from Oracle. </p>
<p>The GV$ view has been around since at least 8.1.7.4, so I suspect the developer who wrote it thought that the hint <i>use_nl(h c)</i> was specifying the order of the join &#8211; it&#8217;s only in very recent releases of the manuals that Oracle has stated explicitly that this form of the hint is a short-hand for <em>/*+ use_nl(h) use_nl(c) */ </em>and not a multi-table hint.</p>
<p>I wouldn&#8217;t expect the query block name to change unless Oracle did something to introduce more (or differently named) query blocks in the GV$ view &#8211; and we hope they&#8217;d only do that if they fixed the thing to work properly anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mwidlake</title>
		<link>http://jonathanlewis.wordpress.com/2012/02/27/geek-stuff-3/#comment-45183</link>
		<dc:creator><![CDATA[mwidlake]]></dc:creator>
		<pubDate>Mon, 27 Feb 2012 18:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=8503#comment-45183</guid>
		<description><![CDATA[Hi Jonathan,

Now that&#039;s an odd one, I like that.

If you were replacing the query would you be safe to simply place  an ORDERED hint before the use_nl hint to ensure the table order and thus the working of the code.
In fact, as it is so critical in this case one wonders why it is not stated in that way.

Could the query block name change in a future version, rendering your hint invalid - but by using your own view you would be protected against such things? Mind you, if the query block name changes, that may well be because the view definition has changed so you would need to alter your hand-crafted view too...

Martin]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>Now that&#8217;s an odd one, I like that.</p>
<p>If you were replacing the query would you be safe to simply place  an ORDERED hint before the use_nl hint to ensure the table order and thus the working of the code.<br />
In fact, as it is so critical in this case one wonders why it is not stated in that way.</p>
<p>Could the query block name change in a future version, rendering your hint invalid &#8211; but by using your own view you would be protected against such things? Mind you, if the query block name changes, that may well be because the view definition has changed so you would need to alter your hand-crafted view too&#8230;</p>
<p>Martin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
