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: cost based optimizer vs rule based optimizer

Re: cost based optimizer vs rule based optimizer

From: Simon Griffiths <s.griffiths_at_virgin.net>
Date: 1998/06/25
Message-ID: <3592BF7F.94BE65DE@virgin.net>#1/1

Vic Arcabos wrote:

> For large tables, you can save time by analyzing just a percentage of the table:
>
> example: analyze table XXXXX estimate statistics sample 10 percent;
>
> This should provide good statistics for CBO without taking the time to analyze the
> whole table.
>

absolutely !

but also...
We have tables of 5Gb + and so even 10% is too much. We tend to use "sample 5000 rows" or such like and get reasonably good stats.

Simon. Received on Thu Jun 25 1998 - 00:00:00 CDT

Original text of this message

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