RE: Pinning/keeping plans in shared pool

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: <ramick@xxxxxxxxxxx>
  • Date: Mon, 10 Jul 2006 10:42:12 -0700

I removed all histograms on all 26 tables of the query, but the
optimization time (parse/execute phase depending on bind variable
peeking) still takes 14 seconds.


-----Original Message-----
From: Allen, Brandon 

Yes, there are certainly histograms involved here since I'm running the
gather_stats_job, so I think I will take your advice and try removing
all the histograms (by running gather_table_stats with method_opt=>'FOR
ALL COLUMNS SIZE 1') and see if that makes a significant difference in
the parse time.

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of ramick

So, you're at on AIX 5.3 from 8.0.6.  You have a couple of
queries joining 20+ tables which performs OK on 806 and has a very long
parse time with 10gR2.

Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.


Other related posts: