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 -> Re: 10g optimizer and dynamic sampling

Re: 10g optimizer and dynamic sampling

From: Mladen Gogala <gogala_at_sbcglobal.net>
Date: Fri, 02 Jun 2006 19:37:31 GMT
Message-ID: <%r0gg.123671$F_3.92535@newssvr29.news.prodigy.net>


p.santos000_at_gmail.com wrote:
> Well that's a good point, but here is the difficult thing about this
> system. Our customers
> upload data anytime they want at any point of the day. So in the
> morning COL1='X' could
> return 100 rows, but the same query in the evenning could yield a
> million rows.
>
> Most of the queries executed on our system take anywhere from 5 minutes
> to 30-45 minutes, so a couple of extra seconds is for the sampling is
> insignificant.
>
> -peter
>

Peter, if that is Oracle 9i you can set tables to "MONITORING", in which case DBA_TAB_MODIFICATIONS will be populated and statistics scanned dynamically only for the tables with more then 10% of changed rows.

-- 
Mladen Gogala
http://www.mgogala.com
Received on Fri Jun 02 2006 - 14:37:31 CDT

Original text of this message

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