Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Pinning/keeping plans in shared pool
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.
Regards,
Brandon
-----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_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of ramick
So, you're at 10.2.0.2 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.
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Jul 10 2006 - 12:42:12 CDT
![]() |
![]() |