SQL Performance (MOSC)

MOSC Banner

Oracle_optimizer changes plan when CPU is highly loaded

edited Oct 17, 2016 11:33AM in SQL Performance (MOSC) 12 commentsAnswered ✓

We are using Oracle 12.1.0.1/12.1.0.2 SE2 and in some circumstances Oracle is suddenly changing the execution plan.

What we do:

There are permanently telegrams arriving from automated systems. Processing of one of this telegrams will take around 3-5 seconds. That's ok, a lot of work has to be done.

When CPU is highly loaded (all 6 cores are used as a lot of other applications are running on the same physical box), the optimizer obviously tries to substitute CPU with I/O and changes the execution plan. This results in an execution time of > 2000 seconds for the next telegram. The telegram after that long-lasting one could be processed normally, depending of current CPU load.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center