Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> ORA-4031 and Shared Pool Fragmentation

ORA-4031 and Shared Pool Fragmentation

From: Alan Molloy <alan_molloy_at_hotmail.com>
Date: Tue, 07 Nov 2000 11:19:44 GMT
Message-ID: <01c048ab$d24f8c50$617da8c0@opc097>

I'm sure this has been answered before, and I have had some interesting info from IXORA's website, but I'm still a bit confused. I've an ORACLE database that receives a lot of unbound/unparsed SQL. I can't really change that behaviour unfortunately, because the SQL is generated dynamically by a seperate production application. Am I right in saying that the symptoms of shared pool and library cache latch contention are pretty much expected in this situation? After this production application has been chugging away for a number of hours, I get a ORA-4031 error. I assume because the shared pool becomes progressively more and more fragmented. There is no big packages or PL/SQL or anything. Just these SQL statements being passed through via an oracle client. My question really is what steps(assuming I can't bind the SQL) can be taken to get the most out of this situation? 1 Can I stop the 4031 error where all the SQL coming in is different? Do I have to schedule a shared pool flush every few hours to stop this from happening?
2 Is there a way of cutting down the latch contention?

Regards,
Alan Received on Tue Nov 07 2000 - 05:19:44 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US