Skip to Main Content

SQL & PL/SQL

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!

Same Explain Plan but different execution times at different runs

Sreekanth MunagalaJul 14 2010 — edited Sep 6 2010
Hi Friends,

I have a query which is taking different time to complete on each run and also on each instance.
In Dev instance 
first time when i run, it takes around 8 mins to complete
second time it takes around 20 mins and different time in the third run
When i run in a different instance, it takes even longer to complete.
There should not be a considerable difference for each run when we are running the same query right?
Also i am running the query in the same session itself.So from the second time onwards, there should be a soft parse only.
When i see the explain plan, it is same in all the cases.
What are the possible reasons for this and how can this be corrected?

Regards,
Sreekanth Munagala
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 1 2010
Added on Jul 14 2010
18 comments
7,406 views