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!

ORACLE Optimiser - really bad execution plan chosen

user5716448Nov 2 2018 — edited Nov 7 2018

Hi,

Using 11.2.0.3 version.

We have some sql which been no change to and no material changes in data volumes previously - sql concerned would run in under 20 secs and used an available index.

Today took over 2 hours - due to index not being used.

When put a hint in to use that index, performance back to normal.

Why would ORACLE decide to replace a plan which took secs with one that took hours?

Thought would never decide to replace one so and wonder if possible to configure something at database level to never replace a plan which so massively inferiror.

Thanks

Comments
Post Details
Added on Nov 2 2018
15 comments
1,382 views