<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Oracle: Does anyone know the syntax of the &amp;quot;NOINDEX&amp;quot; hint? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653744#M804528</link>
    <description>John,&lt;BR /&gt;&lt;BR /&gt;The easiest way I know is to modify the column in the where clause.  For example&lt;BR /&gt;you have an index on emp_id (assume number column)&lt;BR /&gt;&lt;BR /&gt;select * from emp&lt;BR /&gt;where emp_id+0 = &lt;BR /&gt;&lt;BR /&gt;If emp_id is a varchar the&lt;BR /&gt;emp_id||''  &lt;BR /&gt;&lt;BR /&gt;Applying a function to the column will disable use of the index.  (unless you have a function based index of course.)&lt;BR /&gt;&lt;BR /&gt;It's an old trick from the RBO days, but it still works.&lt;BR /&gt;&lt;BR /&gt;Patti</description>
    <pubDate>Thu, 20 Oct 2005 10:01:58 GMT</pubDate>
    <dc:creator>Patti Johnson</dc:creator>
    <dc:date>2005-10-20T10:01:58Z</dc:date>
    <item>
      <title>Oracle: Does anyone know the syntax of the "NOINDEX" hint?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653736#M804519</link>
      <description>I've been doing some tuning and testing with the /*+ INDEX... */ hint in Oracle. &lt;BR /&gt;&lt;BR /&gt;Ex. &lt;BR /&gt;Select /*+ INDEX(ta,ta_N99) */ &lt;BR /&gt;a,b,c&lt;BR /&gt;from tablea ta&lt;BR /&gt;where ta.a = 3 &lt;BR /&gt;and ta.b = 'Joe';&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to TURN off an index?  This would greatly simplify testing for comparison (rather than having to drop the index and recreate to test it both ways).&lt;BR /&gt;&lt;BR /&gt;I'd like something like:&lt;BR /&gt;Select /*+ NOINDEX(ta) */ &lt;BR /&gt;a,b,c&lt;BR /&gt;from tablea ta&lt;BR /&gt;where ta.a = 3 &lt;BR /&gt;and ta.b = 'Joe';&lt;BR /&gt;&lt;BR /&gt;I've tried the above, and it doesn't work.&lt;BR /&gt;&lt;BR /&gt;Can anyone help with this?&lt;BR /&gt;&lt;BR /&gt;While I'm at it - does anyone know where I can get a somewhat complete list of the hints available within SQLPlus/PLSql ?&lt;BR /&gt;&lt;BR /&gt;Any help appreciated.&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Oct 2005 08:11:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653736#M804519</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-10-20T08:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Does anyone know the syntax of the "NOINDEX" hint?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653737#M804520</link>
      <description>This link may help you, &lt;A href="http://www.adp-gmbh.ch/ora/sql/hints.html" target="_blank"&gt;http://www.adp-gmbh.ch/ora/sql/hints.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(NO_INDEX ???  Haven't tried anything with that.)&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 20 Oct 2005 08:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653737#M804520</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-20T08:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Does anyone know the syntax of the "NOINDEX" hint?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653738#M804521</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;The hints I know are (until Oracle 8i):&lt;BR /&gt;&lt;BR /&gt;FULL &lt;BR /&gt;ROWID &lt;BR /&gt;CLUSTER &lt;BR /&gt;HASH &lt;BR /&gt;HASH_AJ &lt;BR /&gt;INDEX &lt;BR /&gt;INDEX_ASC &lt;BR /&gt;INDEX_COMBINE &lt;BR /&gt;INDEX_DESC &lt;BR /&gt;INDEX_FFS &lt;BR /&gt;MERGE_AJ &lt;BR /&gt;AND_EQUAL &lt;BR /&gt;USE_CONCAT &lt;BR /&gt;&lt;BR /&gt;If you use the FULL one it passes the index...&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Oct 2005 08:23:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653738#M804521</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-10-20T08:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Does anyone know the syntax of the "NOINDEX" hint?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653739#M804522</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;the right sintax &lt;BR /&gt;is &lt;BR /&gt;/*+ NO_INDEX tablename indexname */ &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Oct 2005 08:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653739#M804522</guid>
      <dc:creator>Piergiacomo Perini</dc:creator>
      <dc:date>2005-10-20T08:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Does anyone know the syntax of the "NOINDEX" hint?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653740#M804523</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;doucmentation :&lt;BR /&gt;&lt;A href="http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements006.htm#sthref654" target="_blank"&gt;http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements006.htm#sthref654&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Thu, 20 Oct 2005 08:46:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653740#M804523</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2005-10-20T08:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Does anyone know the syntax of the "NOINDEX" hint?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653741#M804524</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;RBO is dead! beware, with newer versions of Oracle we only have CBO.&lt;BR /&gt;&lt;BR /&gt;read metalink note: 189702.1&lt;BR /&gt;Subject: Rule Based Optimizer is to be Desupported in Oracle10g&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 20 Oct 2005 09:00:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653741#M804524</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-10-20T09:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Does anyone know the syntax of the "NOINDEX" hint?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653742#M804525</link>
      <description>&lt;A href="http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10759/toc.htm" target="_blank"&gt;http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10759/toc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 20 Oct 2005 09:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653742#M804525</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-20T09:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Does anyone know the syntax of the "NOINDEX" hint?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653743#M804526</link>
      <description>Arun great links, thanks much.&lt;BR /&gt;Eric, appreciate the info, and FULL works too.&lt;BR /&gt;Piergiacomo, thanks I got it with a little tweaking:&lt;BR /&gt;Select /*+ NO_INDEX(ta,ta_N99) */&lt;BR /&gt;worked great.&lt;BR /&gt;&lt;BR /&gt;Eric and Piergiacomo, it is interesting to note the difference between NO_INDEX and FULL.  NO_INDEX tells the system not to use a particular index(in the example above, ta_N99), but the cost optimizer is still free to use the next best index the cost opimtimizer chooses.  FULL tells the optimizer not to pick any index, perform a FULL table scan.&lt;BR /&gt;Both are great options, thanks much.&lt;BR /&gt;&lt;BR /&gt;Jean-Luc thanks for the link.&lt;BR /&gt;&lt;BR /&gt;Yogeeraj, thanks for reinforcing that RBO is leaving us, I must admit at times I liked managing somethings w/o statistics - in particular some tables that experience 100% change-outs every day.  In some of those cases, many times it was just as fast and easier to force a RULE when you already knew what the execution plan should be.</description>
      <pubDate>Thu, 20 Oct 2005 10:00:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653743#M804526</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-10-20T10:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Does anyone know the syntax of the "NOINDEX" hint?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653744#M804528</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;The easiest way I know is to modify the column in the where clause.  For example&lt;BR /&gt;you have an index on emp_id (assume number column)&lt;BR /&gt;&lt;BR /&gt;select * from emp&lt;BR /&gt;where emp_id+0 = &lt;BR /&gt;&lt;BR /&gt;If emp_id is a varchar the&lt;BR /&gt;emp_id||''  &lt;BR /&gt;&lt;BR /&gt;Applying a function to the column will disable use of the index.  (unless you have a function based index of course.)&lt;BR /&gt;&lt;BR /&gt;It's an old trick from the RBO days, but it still works.&lt;BR /&gt;&lt;BR /&gt;Patti</description>
      <pubDate>Thu, 20 Oct 2005 10:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653744#M804528</guid>
      <dc:creator>Patti Johnson</dc:creator>
      <dc:date>2005-10-20T10:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Does anyone know the syntax of the "NOINDEX" hint?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653745#M804534</link>
      <description>Patti, &lt;BR /&gt;I hadn't thought of using that one, although I was aware that function changes to columns as part of a where clause would knock out the use of an index, and have to fight that one often.  Just didn't think to use it as a way to purposely turn off the use of an index.  Thanks much.</description>
      <pubDate>Thu, 20 Oct 2005 10:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-does-anyone-know-the-syntax-of-the-quot-noindex-quot-hint/m-p/3653745#M804534</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-10-20T10:13:20Z</dc:date>
    </item>
  </channel>
</rss>

