SQL Performance (MOSC)

MOSC Banner

Why the query changed its plan , how is resc_cpu calculated

edited Jun 20, 2016 7:47PM in SQL Performance (MOSC) 4 commentsAnswered

Hi,

Problem: Change in execution plan(table accessed via different index) after stats were gathered. It hasnt happend in past for this sql. The new plan is taking few more gets/exec and 1.5 ms compared to earlier 0.2ms.

Objective: To understand what exactly is leading to change in execution plan.

Details:

We are seeing a change in execution plan of the sql . Below are the before and after plans.

Before plan------------------------------------------------------vs--------------------------new plan

When i run the 10053 i see below difference . Can anyone please help how resc_cpu is calculated and is this the reason why IND_ENTRY_TIME not getting picked up.

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