Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: DBMS_STATS compared to the analyze command: weird!
Rick Denoire wrote:
> Mark Bole <makbo_at_pacbell.net> wrote:
[...]
>
>>exec DBMS_STATS.GATHER_SCHEMA_STATS(ownname => upper('schema_owner'), - >> degree => DBMS_STATS.DEFAULT_DEGREE, - >> cascade => true, - >> estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE );
I have examined "EXPLAIN PLAN" output (via OEM stand-alone client) while this command is running (ver 9.2 under Solaris) and it is clear that internal tables are being updated. I decided I didn't really want to know about them at the column and row level... ;-)
It is my impression that Oracle cost-based optmizer statistics have changed quite a bit, with each major version, over the last [n] number of years, since the decision to retire the RBO was made in the previous century. I heard that in 10g, there are two separate solutions for two separate problems:
--Mark Bole Received on Fri Feb 27 2004 - 19:47:18 CST