RE: Long execute phase for SELECT query

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: "Stefan Knecht" <knecht.stefan@xxxxxxxxx>
  • Date: Mon, 3 Jul 2006 23:55:48 -0700

Yes, they do have stats and I've even tried setting
optimizer_dynamic_sampling=0 and that didn't help so that doesn't seem
to be the problem.  Good idea though.
 
Thanks,
Brandon

________________________________

From: Stefan Knecht [mailto:knecht.stefan@xxxxxxxxx] 

Do your tables have statistics on them ? If not Oracle will use dynamic
sampling to gather a sample of them, that can take time


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: