Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Fwd: Re: Really deleting system statistics?
Well, I see different costs in 10g, when I have no system statistics and switch optimizer models.
For example: do a full table scan with select count(object_id) from big_table (table from Tom Kyte's Effective Oracle by Design) - with IO model costs=5630, with CPU model costs = 13065 Peter
amit poddar <amit.poddar_at_yale.edu> wrote: I thought Oracle would use the IO model in absence of system statistics (default behaviour in 9i) ?
thanks
amit
Peter Alteheld wrote:
>Hi,
>
>I wanted to learn about the cpu model behaviour when no system statistics are available. That is different from the io model.
>
>Peter
>amit poddar wrote:
>How about settting
>
>_optimizer_cost_model to *io
>
>SQL> alter session set "_optimizer_cost_model"=abc;
>ERROR:
>ORA-00096: invalid value ABC for parameter _optimizer_cost_model, must
>be from
>among choose, io, cpu
>
>
>
>---------------------------------
>Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher
>
>--
>http://www.freelists.org/webpage/oracle-l
>
>
>
-- http://www.freelists.org/webpage/oracle-lReceived on Thu May 12 2005 - 02:51:39 CDT
![]() |
![]() |