Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: GATHER_SCHEMA_STATS always gathers histograms..!
> Perhaps the following is of interest >>
> GATHER AUTO: Gathers all necessary statistics automatically. Oracle
> implicitly determines which objects need new statistics, and determines
> how to gather those statistics. When GATHER AUTO is specified, the only
> additional valid parameters are ownname, stattab, statid, objlist and
> statown; all other parameter settings are ignored. Returns a list of
> processed objects.
> <<
Aha....! That makes sense - I need to re-read the docs...
I thought GATHER AUTO would gather stats for tables with STALE and EMPTY stats.
I will try GATHER STALE instead...
Thanks
Matt Received on Wed Nov 15 2006 - 09:54:54 CST