<?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: Ignoring hints</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2011/01/16/ignoring-hints-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2011/01/16/ignoring-hints-4/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Fri, 17 May 2013 13:58:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Valentin Nikotin</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/16/ignoring-hints-4/#comment-44806</link>
		<dc:creator><![CDATA[Valentin Nikotin]]></dc:creator>
		<pubDate>Tue, 31 Jan 2012 14:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5562#comment-44806</guid>
		<description><![CDATA[Here is a little note about the hinting: http://valentinnikotin.com/2012/01/31/comments-in-hint/]]></description>
		<content:encoded><![CDATA[<p>Here is a little note about the hinting: <a href="http://valentinnikotin.com/2012/01/31/comments-in-hint/" rel="nofollow">http://valentinnikotin.com/2012/01/31/comments-in-hint/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Preiss</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/16/ignoring-hints-4/#comment-39225</link>
		<dc:creator><![CDATA[Martin Preiss]]></dc:creator>
		<pubDate>Wed, 19 Jan 2011 08:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5562#comment-39225</guid>
		<description><![CDATA[Jonathan,
in his comment to Charles Hooper&#039;s post Kerry Osborne gives the advice to separate hints from other comments - and this sounds convincing to me. On the other side I remember that Randolf Geist recently explained that &quot;there are cases/environments where comments are stripped prior to execution&quot; (with the example of PL/SQL). Do think it&#039;s a good idea to separate hints from other comments? Or do you think it is save to add comments inside a hint (after the hint-Keywords)?]]></description>
		<content:encoded><![CDATA[<p>Jonathan,<br />
in his comment to Charles Hooper&#8217;s post Kerry Osborne gives the advice to separate hints from other comments &#8211; and this sounds convincing to me. On the other side I remember that Randolf Geist recently explained that &#8220;there are cases/environments where comments are stripped prior to execution&#8221; (with the example of PL/SQL). Do think it&#8217;s a good idea to separate hints from other comments? Or do you think it is save to add comments inside a hint (after the hint-Keywords)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Preiss</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/16/ignoring-hints-4/#comment-39224</link>
		<dc:creator><![CDATA[Martin Preiss]]></dc:creator>
		<pubDate>Wed, 19 Jan 2011 08:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5562#comment-39224</guid>
		<description><![CDATA[Todor,
the MOS-Bug is indeed named &quot;Bug 8432870: NOLOGGING HINT IN 10G CAUSES HINTS AFTER IT TO BE IGNORED&quot; - and there is an example similar to the one you provide.]]></description>
		<content:encoded><![CDATA[<p>Todor,<br />
the MOS-Bug is indeed named &#8220;Bug 8432870: NOLOGGING HINT IN 10G CAUSES HINTS AFTER IT TO BE IGNORED&#8221; &#8211; and there is an example similar to the one you provide.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Aldridge</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/16/ignoring-hints-4/#comment-39202</link>
		<dc:creator><![CDATA[David Aldridge]]></dc:creator>
		<pubDate>Mon, 17 Jan 2011 11:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5562#comment-39202</guid>
		<description><![CDATA[It&#039;s getting difficult to avoid using SQL keywords. With 1,144 to choose from in 10.2.0.4 you could have a pretty good game of Scrabble with them.

&quot;SQL Keyword Scrabble&quot; would be a pretty good team game for a conference. &quot;Blank&quot;,A,B,E,N,M,Q ... anyone?]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s getting difficult to avoid using SQL keywords. With 1,144 to choose from in 10.2.0.4 you could have a pretty good game of Scrabble with them.</p>
<p>&#8220;SQL Keyword Scrabble&#8221; would be a pretty good team game for a conference. &#8220;Blank&#8221;,A,B,E,N,M,Q &#8230; anyone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todor Botev</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/16/ignoring-hints-4/#comment-39201</link>
		<dc:creator><![CDATA[Todor Botev]]></dc:creator>
		<pubDate>Mon, 17 Jan 2011 09:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5562#comment-39201</guid>
		<description><![CDATA[Could it be that only the hints AFTER the SQL keyword get ignored? I made the following quick example inserting the word NOLOGGING to different places in the hint:
[sourcecode gutter=&quot;false&quot;]
09:34:16 SQL&gt; create table t1 (n number);

Tabelle wurde erstellt.

09:34:33 SQL&gt; create table t2 (n number);

Tabelle wurde erstellt.

09:34:42 SQL&gt; set autotrace traceonly explain

09:34:54 SQL&gt; select /*+ NOLOGGING parallel(t1,4) parallel(t2,4) */ * from t1, t2;

Ausführungsplan
----------------------------------------------------------
Plan hash value: 787647388

-----------------------------------------------------------------------------
&#124; Id  &#124; Operation            &#124; Name &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
-----------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT     &#124;      &#124;     1 &#124;    26 &#124;     4   (0)&#124; 00:00:01 &#124;
&#124;   1 &#124;  MERGE JOIN CARTESIAN&#124;      &#124;     1 &#124;    26 &#124;     4   (0)&#124; 00:00:01 &#124;
&#124;   2 &#124;   TABLE ACCESS FULL  &#124; T1   &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;
&#124;   3 &#124;   BUFFER SORT        &#124;      &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;
&#124;   4 &#124;    TABLE ACCESS FULL &#124; T2   &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;
-----------------------------------------------------------------------------


09:37:51 SQL&gt; select /*+ parallel(t1,4) NOLOGGING parallel(t2,4) */ * from t1, t2;

Ausführungsplan
----------------------------------------------------------
Plan hash value: 3248347947

------------------------------------------------------------------------------------------------------------------
&#124; Id  &#124; Operation                &#124; Name     &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;    TQ  &#124;IN-OUT&#124; PQ Distrib &#124;
------------------------------------------------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT         &#124;          &#124;     1 &#124;    26 &#124;     5   (0)&#124; 00:00:01 &#124;        &#124;      &#124;            &#124;
&#124;   1 &#124;  PX COORDINATOR          &#124;          &#124;       &#124;       &#124;            &#124;          &#124;        &#124;      &#124;            &#124;
&#124;   2 &#124;   PX SEND QC (RANDOM)    &#124; :TQ10001 &#124;     1 &#124;    26 &#124;     5   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; P-&gt;S &#124; QC (RAND)  &#124;
&#124;   3 &#124;    MERGE JOIN CARTESIAN  &#124;          &#124;     1 &#124;    26 &#124;     5   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; PCWP &#124;            &#124;
&#124;   4 &#124;     SORT JOIN            &#124;          &#124;       &#124;       &#124;            &#124;          &#124;  Q1,01 &#124; PCWP &#124;            &#124;
&#124;   5 &#124;      PX BLOCK ITERATOR   &#124;          &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; PCWC &#124;            &#124;
&#124;   6 &#124;       TABLE ACCESS FULL  &#124; T1       &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; PCWP &#124;            &#124;
&#124;   7 &#124;     BUFFER SORT          &#124;          &#124;     1 &#124;    13 &#124;     3   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; PCWP &#124;            &#124;
&#124;   8 &#124;      BUFFER SORT         &#124;          &#124;       &#124;       &#124;            &#124;          &#124;  Q1,01 &#124; PCWC &#124;            &#124;
&#124;   9 &#124;       PX RECEIVE         &#124;          &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; PCWP &#124;            &#124;
&#124;  10 &#124;        PX SEND BROADCAST &#124; :TQ10000 &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;        &#124; S-&gt;P &#124; BROADCAST  &#124;
&#124;  11 &#124;         TABLE ACCESS FULL&#124; T2       &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;        &#124;      &#124;            &#124;
------------------------------------------------------------------------------------------------------------------

09:37:53 SQL&gt; select /*+ parallel(t1,4) parallel(t2,4) NOLOGGING */ * from t1, t2;

Ausführungsplan
----------------------------------------------------------
Plan hash value: 1997482048

------------------------------------------------------------------------------------------------------------------
&#124; Id  &#124; Operation                &#124; Name     &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;    TQ  &#124;IN-OUT&#124; PQ Distrib &#124;
------------------------------------------------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT         &#124;          &#124;     1 &#124;    26 &#124;     5   (0)&#124; 00:00:01 &#124;        &#124;      &#124;            &#124;
&#124;   1 &#124;  PX COORDINATOR          &#124;          &#124;       &#124;       &#124;            &#124;          &#124;        &#124;      &#124;            &#124;
&#124;   2 &#124;   PX SEND QC (RANDOM)    &#124; :TQ10001 &#124;     1 &#124;    26 &#124;     5   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; P-&gt;S &#124; QC (RAND)  &#124;
&#124;   3 &#124;    MERGE JOIN CARTESIAN  &#124;          &#124;     1 &#124;    26 &#124;     5   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; PCWP &#124;            &#124;
&#124;   4 &#124;     SORT JOIN            &#124;          &#124;       &#124;       &#124;            &#124;          &#124;  Q1,01 &#124; PCWP &#124;            &#124;
&#124;   5 &#124;      PX RECEIVE          &#124;          &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; PCWP &#124;            &#124;
&#124;   6 &#124;       PX SEND BROADCAST  &#124; :TQ10000 &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;  Q1,00 &#124; P-&gt;P &#124; BROADCAST  &#124;
&#124;   7 &#124;        PX BLOCK ITERATOR &#124;          &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;  Q1,00 &#124; PCWC &#124;            &#124;
&#124;   8 &#124;         TABLE ACCESS FULL&#124; T1       &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;  Q1,00 &#124; PCWP &#124;            &#124;
&#124;   9 &#124;     BUFFER SORT          &#124;          &#124;     1 &#124;    13 &#124;     3   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; PCWP &#124;            &#124;
&#124;  10 &#124;      PX BLOCK ITERATOR   &#124;          &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; PCWC &#124;            &#124;
&#124;  11 &#124;       TABLE ACCESS FULL  &#124; T2       &#124;     1 &#124;    13 &#124;     2   (0)&#124; 00:00:01 &#124;  Q1,01 &#124; PCWP &#124;            &#124;
------------------------------------------------------------------------------------------------------------------

09:38:08 SQL&gt;
[/sourcecode]]]></description>
		<content:encoded><![CDATA[<p>Could it be that only the hints AFTER the SQL keyword get ignored? I made the following quick example inserting the word NOLOGGING to different places in the hint:</p>
<pre class="brush: plain; gutter: false; title: ; notranslate">
09:34:16 SQL&gt; create table t1 (n number);

Tabelle wurde erstellt.

09:34:33 SQL&gt; create table t2 (n number);

Tabelle wurde erstellt.

09:34:42 SQL&gt; set autotrace traceonly explain

09:34:54 SQL&gt; select /*+ NOLOGGING parallel(t1,4) parallel(t2,4) */ * from t1, t2;

Ausführungsplan
----------------------------------------------------------
Plan hash value: 787647388

-----------------------------------------------------------------------------
| Id  | Operation            | Name | Rows  | Bytes | Cost (%CPU)| Time     |
-----------------------------------------------------------------------------
|   0 | SELECT STATEMENT     |      |     1 |    26 |     4   (0)| 00:00:01 |
|   1 |  MERGE JOIN CARTESIAN|      |     1 |    26 |     4   (0)| 00:00:01 |
|   2 |   TABLE ACCESS FULL  | T1   |     1 |    13 |     2   (0)| 00:00:01 |
|   3 |   BUFFER SORT        |      |     1 |    13 |     2   (0)| 00:00:01 |
|   4 |    TABLE ACCESS FULL | T2   |     1 |    13 |     2   (0)| 00:00:01 |
-----------------------------------------------------------------------------


09:37:51 SQL&gt; select /*+ parallel(t1,4) NOLOGGING parallel(t2,4) */ * from t1, t2;

Ausführungsplan
----------------------------------------------------------
Plan hash value: 3248347947

------------------------------------------------------------------------------------------------------------------
| Id  | Operation                | Name     | Rows  | Bytes | Cost (%CPU)| Time     |    TQ  |IN-OUT| PQ Distrib |
------------------------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT         |          |     1 |    26 |     5   (0)| 00:00:01 |        |      |            |
|   1 |  PX COORDINATOR          |          |       |       |            |          |        |      |            |
|   2 |   PX SEND QC (RANDOM)    | :TQ10001 |     1 |    26 |     5   (0)| 00:00:01 |  Q1,01 | P-&gt;S | QC (RAND)  |
|   3 |    MERGE JOIN CARTESIAN  |          |     1 |    26 |     5   (0)| 00:00:01 |  Q1,01 | PCWP |            |
|   4 |     SORT JOIN            |          |       |       |            |          |  Q1,01 | PCWP |            |
|   5 |      PX BLOCK ITERATOR   |          |     1 |    13 |     2   (0)| 00:00:01 |  Q1,01 | PCWC |            |
|   6 |       TABLE ACCESS FULL  | T1       |     1 |    13 |     2   (0)| 00:00:01 |  Q1,01 | PCWP |            |
|   7 |     BUFFER SORT          |          |     1 |    13 |     3   (0)| 00:00:01 |  Q1,01 | PCWP |            |
|   8 |      BUFFER SORT         |          |       |       |            |          |  Q1,01 | PCWC |            |
|   9 |       PX RECEIVE         |          |     1 |    13 |     2   (0)| 00:00:01 |  Q1,01 | PCWP |            |
|  10 |        PX SEND BROADCAST | :TQ10000 |     1 |    13 |     2   (0)| 00:00:01 |        | S-&gt;P | BROADCAST  |
|  11 |         TABLE ACCESS FULL| T2       |     1 |    13 |     2   (0)| 00:00:01 |        |      |            |
------------------------------------------------------------------------------------------------------------------

09:37:53 SQL&gt; select /*+ parallel(t1,4) parallel(t2,4) NOLOGGING */ * from t1, t2;

Ausführungsplan
----------------------------------------------------------
Plan hash value: 1997482048

------------------------------------------------------------------------------------------------------------------
| Id  | Operation                | Name     | Rows  | Bytes | Cost (%CPU)| Time     |    TQ  |IN-OUT| PQ Distrib |
------------------------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT         |          |     1 |    26 |     5   (0)| 00:00:01 |        |      |            |
|   1 |  PX COORDINATOR          |          |       |       |            |          |        |      |            |
|   2 |   PX SEND QC (RANDOM)    | :TQ10001 |     1 |    26 |     5   (0)| 00:00:01 |  Q1,01 | P-&gt;S | QC (RAND)  |
|   3 |    MERGE JOIN CARTESIAN  |          |     1 |    26 |     5   (0)| 00:00:01 |  Q1,01 | PCWP |            |
|   4 |     SORT JOIN            |          |       |       |            |          |  Q1,01 | PCWP |            |
|   5 |      PX RECEIVE          |          |     1 |    13 |     2   (0)| 00:00:01 |  Q1,01 | PCWP |            |
|   6 |       PX SEND BROADCAST  | :TQ10000 |     1 |    13 |     2   (0)| 00:00:01 |  Q1,00 | P-&gt;P | BROADCAST  |
|   7 |        PX BLOCK ITERATOR |          |     1 |    13 |     2   (0)| 00:00:01 |  Q1,00 | PCWC |            |
|   8 |         TABLE ACCESS FULL| T1       |     1 |    13 |     2   (0)| 00:00:01 |  Q1,00 | PCWP |            |
|   9 |     BUFFER SORT          |          |     1 |    13 |     3   (0)| 00:00:01 |  Q1,01 | PCWP |            |
|  10 |      PX BLOCK ITERATOR   |          |     1 |    13 |     2   (0)| 00:00:01 |  Q1,01 | PCWC |            |
|  11 |       TABLE ACCESS FULL  | T2       |     1 |    13 |     2   (0)| 00:00:01 |  Q1,01 | PCWP |            |
------------------------------------------------------------------------------------------------------------------

09:38:08 SQL&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/16/ignoring-hints-4/#comment-39196</link>
		<dc:creator><![CDATA[Gary]]></dc:creator>
		<pubDate>Sun, 16 Jan 2011 22:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5562#comment-39196</guid>
		<description><![CDATA[Thanks for the highlight. Worth adding that, although it has a bug number, it has been deemed to be &quot;Not a Bug&quot;.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the highlight. Worth adding that, although it has a bug number, it has been deemed to be &#8220;Not a Bug&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
