Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Hints in Practice
"Robert Klemme" <shortcutter_at_googlemail.com> wrote in message
news:4l0scsFe4upiU1_at_individual.net...
>
> All,
>
> from what I read and from my limited personal experience, hints are
> superfluous most of the time. The general recommendation seems to be
> "make sure your schema is properly done, create appropriate indexes, make
> sure statistics are up to date and let the CBO do its work". Hints seem
> to be useful only in very rare cases (bugs?) where the CBO doesn't come up
> with an appropriate plan. Is this a correct summary of the situation or
> did I miss something?
>
> Thanks
>
> robert
That is correct. Oracle is about the only database I know uses explicit hints. That is not really a vote of confidence in their optimizer.
I would do anything to avoid using those hints. They are not portable and do not conform to any standard. It is almost always possible to build good performing queries without hints. Received on Tue Aug 22 2006 - 19:41:57 CDT
![]() |
![]() |