Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using First_rows hints change the sql plan

Kok AikJan 20 2009 — edited Jan 22 2009
Dear All,

I have a query with a first_rows hint and this causing it to used sub-optimal plan by choosing the wrong indexes.
Besides, its applied a conversion function to the where clause condition compared if the case if it is using the right plan.

Appreciate if you can throw some light on using the first_rows hint

Thanks

Rgds
Ung
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 19 2009
Added on Jan 20 2009
16 comments
2,508 views