<?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 hint oracle in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hint-oracle/m-p/3566894#M858409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when is the time to use HINT commend and when not &lt;/P&gt;&lt;P&gt;and what is the benefit of using this commend,&lt;/P&gt;&lt;P&gt;i see example like :&lt;/P&gt;&lt;P&gt; %_HINTS ORACLE 'TABLE catsdb ABINDEX(~1)'.&lt;/P&gt;&lt;P&gt;what is  ABINDEX(~1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Mar 2008 07:55:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-16T07:55:58Z</dc:date>
    <item>
      <title>hint oracle</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hint-oracle/m-p/3566894#M858409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when is the time to use HINT commend and when not &lt;/P&gt;&lt;P&gt;and what is the benefit of using this commend,&lt;/P&gt;&lt;P&gt;i see example like :&lt;/P&gt;&lt;P&gt; %_HINTS ORACLE 'TABLE catsdb ABINDEX(~1)'.&lt;/P&gt;&lt;P&gt;what is  ABINDEX(~1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2008 07:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hint-oracle/m-p/3566894#M858409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-16T07:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: hint oracle</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hint-oracle/m-p/3566895#M858410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shnya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link which tell abouts HINTS statement in Oracle. I hope this may help you up to some extent.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.adp-gmbh.ch/ora/sql/hints/index.html" target="test_blank"&gt;http://www.adp-gmbh.ch/ora/sql/hints/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2008 08:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hint-oracle/m-p/3566895#M858410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-16T08:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: hint oracle</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hint-oracle/m-p/3566896#M858411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hints should only be used in exceptional cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The optimzer should in principle be able to find out, what is the best index. Sometimes this does not work,&lt;/P&gt;&lt;P&gt;for example when there are several indexes and your where condition has fields from several indexes,&lt;/P&gt;&lt;P&gt;then the selectivity estimation can be wrong. The optimzer thinks index 2 is the best, actually index 1 is better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore:&lt;/P&gt;&lt;P&gt;Check SQL trace and explain first, try to optimzie where condition, if nothing works use a hint (for your actual &lt;/P&gt;&lt;P&gt;database !!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your example shows a hints, which tells the database to use index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 08:35:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hint-oracle/m-p/3566896#M858411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-17T08:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: hint oracle</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hint-oracle/m-p/3566897#M858412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;always keep your table statistics up-to-date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that the statistics should reflect the current data volume of your table(s). Normally the Basis is running statistics on a daily basis on the tables that need new statistics. &lt;/P&gt;&lt;P&gt;The decision if a table gets analyzed comes from a monitoring of DML (Insert, Update, Deletes) against that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statistics are a MUST for a proper execution plan. If you have good statistics you will rarely need hints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With using hints you try  to be more clever than the Optimizer of the database.&lt;/P&gt;&lt;P&gt;The danger of using hints is, that changes in data volume  can cause big performance issues because the hint is not appropriate anymore. Furthermore you  may hiding a flaw in your data model design (i.e. wrong or missing indexes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use hints only when special features requiring them (i.e. PARALLEL  hints on SQL statements).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 12:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hint-oracle/m-p/3566897#M858412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-17T12:35:25Z</dc:date>
    </item>
  </channel>
</rss>

