PGA / WORKAREA_SIZE_POLICY / SYSTEM_STATS & Optimzer Influence during HEAVY load

From: <Christopher.Taylor2_at_parallon.net>
Date: Sat, 13 Oct 2012 11:49:00 -0500
Message-ID: <F05D8DF1FB25F44085DB74CB916678E88562533103_at_NADCWPMSGCMS10.hca.corpad.net>



This is more of a curiosity question really. If the database is under high load (many sessions, lots of IO, multiple statements accessing the same tables) would it be reasonable to think that the optimizer might choose a different execution plan based on how the workload area is being used versus when the database is under light load?

I have a particular query (same query I've been working on the last 3 days) that runs well when I test it, but at night its running like a dog.

Some of the concurrent processing we have running at the same time is:

a.) Expdp (UDE) (node 1)
b.) Batch Processing running across multiple sessions (all/most on node1)
c.) Batch processing generates a lot of IO

It appears (and I'm having trouble verifying) that this particular insert statement (from SELECT) is choosing a poor plan at night but runs well when I examine it.

I've run it with and without tracing (to rule out tracing giving me a better plan).

Chris

--
http://www.freelists.org/webpage/oracle-l
Received on Sat Oct 13 2012 - 18:49:00 CEST

Original text of this message