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: Statistics for CBO

Re: Statistics for CBO

From: joel garry <joel-garry_at_home.com>
Date: 20 Oct 2006 14:06:46 -0700
Message-ID: <1161378406.823838.140550@b28g2000cwb.googlegroups.com>

Andrea wrote:
> hi,
>
> sorry for my questions, but i need to understand these concepts.
>
> I've read that on oracle 10g with "analyze" command and DBMS_STATS package
> i can get the statistics that are use for Cost-base-Optimizer (CBO)
> for increase DML statements. DBMS_STATS further on oracle 10g it runs
> automatic schedule from 10 PM to 6 AM every days.
>
> but after run, where statistics are stored?? maybe in DBA_TABLES and DBA_INDEX?
>
> thanks very much
>
> bye
> andrew

DBA_TABLES just shows when they were run.

See $ORACLE_HOME/rdbms/admin/dbmsstat.sql - they are in the dictionary.

Also see catost.sql.

jg

--
@home.com is bogus.
"Sorry, but would you mind putting your feet down?  We can't hear." -
Miss Manners
Received on Fri Oct 20 2006 - 16:06:46 CDT

Original text of this message

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