<?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: What is a hint ?</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Sat, 18 May 2013 11:04:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Defy Logic &#8211; the Cost-Based Optimizer does Not Select the Lowest Cost Plan &#8211; Implicit Data Type Conversion &#171; Charles Hooper&#039;s Oracle Notes</title>
		<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-36347</link>
		<dc:creator><![CDATA[Defy Logic &#8211; the Cost-Based Optimizer does Not Select the Lowest Cost Plan &#8211; Implicit Data Type Conversion &#171; Charles Hooper&#039;s Oracle Notes]]></dc:creator>
		<pubDate>Fri, 28 May 2010 06:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-36347</guid>
		<description><![CDATA[[...] Lewis stated here (a blog article from 2006) that: &#8220;It’s a great shame that Oracle Corp. decided to use the name “hints” for its [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Lewis stated here (a blog article from 2006) that: &#8220;It’s a great shame that Oracle Corp. decided to use the name “hints” for its [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ignoring Hints &#8211; 2 &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-35471</link>
		<dc:creator><![CDATA[Ignoring Hints &#8211; 2 &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Thu, 11 Feb 2010 19:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-35471</guid>
		<description><![CDATA[[...] one of them &#8220;ignore&#8221; the use_hash() hint and do a nested loop ? Remember: the optimizer does not ignore hints (with the usual caveats about legality, spelling, syntax and [...]]]></description>
		<content:encoded><![CDATA[<p>[...] one of them &#8220;ignore&#8221; the use_hash() hint and do a nested loop ? Remember: the optimizer does not ignore hints (with the usual caveats about legality, spelling, syntax and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quiz Night &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-34988</link>
		<dc:creator><![CDATA[Quiz Night &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Tue, 15 Dec 2009 21:34:28 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-34988</guid>
		<description><![CDATA[[...] postings on hints: Hints &#8211; again Ignoring Hints What is a hint ? Taking a hint    Comments [...]]]></description>
		<content:encoded><![CDATA[<p>[...] postings on hints: Hints &#8211; again Ignoring Hints What is a hint ? Taking a hint    Comments [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Functions &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-14532</link>
		<dc:creator><![CDATA[Functions &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Sat, 07 Jul 2007 20:41:31 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-14532</guid>
		<description><![CDATA[[...] from the function to access the entire data set and produce a result table - either with a no_merge view, or a materialized factored subquery - is a good starting step - then join this result into [...]]]></description>
		<content:encoded><![CDATA[<p>[...] from the function to access the entire data set and produce a result table &#8211; either with a no_merge view, or a materialized factored subquery &#8211; is a good starting step &#8211; then join this result into [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-3358</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 15 Feb 2007 15:43:05 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-3358</guid>
		<description><![CDATA[SP, this isn&#039;t AskTom - I don&#039;t answer arbitrary questions, especially when a proper answer would require a significant extract from the manuals.  Here&#039;s a quick clue, though: (1) yes, you can use  materialized views in OLTP, but I&#039;d be very careful about exactly how and wouldn&#039;t expect to see them often. (2) materialized views are completely different from views - so cannot be compared in any sensible way.  Materialized views require you to have a (potentially expensive) supporting infrastructure - which you have to pay for at some point.]]></description>
		<content:encoded><![CDATA[<p>SP, this isn&#8217;t AskTom &#8211; I don&#8217;t answer arbitrary questions, especially when a proper answer would require a significant extract from the manuals.  Here&#8217;s a quick clue, though: (1) yes, you can use  materialized views in OLTP, but I&#8217;d be very careful about exactly how and wouldn&#8217;t expect to see them often. (2) materialized views are completely different from views &#8211; so cannot be compared in any sensible way.  Materialized views require you to have a (potentially expensive) supporting infrastructure &#8211; which you have to pay for at some point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sp</title>
		<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-3350</link>
		<dc:creator><![CDATA[sp]]></dc:creator>
		<pubDate>Wed, 14 Feb 2007 23:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-3350</guid>
		<description><![CDATA[Hi,
I have question regarding View and MView.

1.Can i use Mview in OLTP application ?
2.Does Mview is better than View ?
I mean when Appliction do query againest View its on the fly query again query where MView is stored in db so we can take advantage of better plan. Please Explain

Thanks,
SP]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have question regarding View and MView.</p>
<p>1.Can i use Mview in OLTP application ?<br />
2.Does Mview is better than View ?<br />
I mean when Appliction do query againest View its on the fly query again query where MView is stored in db so we can take advantage of better plan. Please Explain</p>
<p>Thanks,<br />
SP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-1098</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 04 Jan 2007 10:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-1098</guid>
		<description><![CDATA[Hrishy,  Email the trace file to me, and I&#039;ll see if I can explain what&#039;s going on.

My email address is jonathan@jlcomp.demon.co.uk.

By the way, one obvious example of why the /*+ use_hash() */ hint would be &quot;ignored&quot; - if the join condition wasn&#039;t an equality, a hash join is not possible, so the hint would be illegal.


&lt;b&gt;Updated 5th Jan&lt;/b&gt; following an email from Hrishy. My comment about the hash joins and equalities happened to be the appropriate explanation. The critical join condition in his case was a &lt;em&gt;&quot;between&quot;&lt;/em&gt; clause.
]]></description>
		<content:encoded><![CDATA[<p>Hrishy,  Email the trace file to me, and I&#8217;ll see if I can explain what&#8217;s going on.</p>
<p>My email address is <a href="mailto:jonathan@jlcomp.demon.co.uk">jonathan@jlcomp.demon.co.uk</a>.</p>
<p>By the way, one obvious example of why the /*+ use_hash() */ hint would be &#8220;ignored&#8221; &#8211; if the join condition wasn&#8217;t an equality, a hash join is not possible, so the hint would be illegal.</p>
<p><b>Updated 5th Jan</b> following an email from Hrishy. My comment about the hash joins and equalities happened to be the appropriate explanation. The critical join condition in his case was a <em>&#8220;between&#8221;</em> clause.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hrishy</title>
		<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-1096</link>
		<dc:creator><![CDATA[Hrishy]]></dc:creator>
		<pubDate>Thu, 04 Jan 2007 10:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-1096</guid>
		<description><![CDATA[Hi Jonathan

I can also provide a detailed 10053 trace and post it here in case you need to see exactly what was happening behind the scenes and my hint was repeatedly ignored.

regards
Hrishy]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan</p>
<p>I can also provide a detailed 10053 trace and post it here in case you need to see exactly what was happening behind the scenes and my hint was repeatedly ignored.</p>
<p>regards<br />
Hrishy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hrishy</title>
		<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-1094</link>
		<dc:creator><![CDATA[Hrishy]]></dc:creator>
		<pubDate>Thu, 04 Jan 2007 09:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-1094</guid>
		<description><![CDATA[Hi Jonathan

Well i have seen a well written hint is ignored by the oracle optimizer.

I vaguely remeber the situation like this the query was returning zero rows and the optimizer knew it from the stats but the query developer had put in a hint to use a hash join and oracle always used a Nested Loop Join no matter what.

regards
Hrishy]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan</p>
<p>Well i have seen a well written hint is ignored by the oracle optimizer.</p>
<p>I vaguely remeber the situation like this the query was returning zero rows and the optimizer knew it from the stats but the query developer had put in a hint to use a hash join and oracle always used a Nested Loop Join no matter what.</p>
<p>regards<br />
Hrishy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-151</link>
		<dc:creator><![CDATA[Robert]]></dc:creator>
		<pubDate>Tue, 14 Nov 2006 04:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/11/11/what-is-a-hint/#comment-151</guid>
		<description><![CDATA[&gt;&gt; Telling the optimizer what not to do is a lot easier than telling it to do only what you want.

AMEN to that !!!]]></description>
		<content:encoded><![CDATA[<p>&gt;&gt; Telling the optimizer what not to do is a lot easier than telling it to do only what you want.</p>
<p>AMEN to that !!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
