Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: 9i Analyze Behavior (DBMS_STATS)
On Thu, 27 Feb 2003 20:51:42 +0000, Buck Turgidson wrote:
> I guess I thought that since the table was not monitored, when I ran
> dbms_stats, it would update the statistics of the table since it could not
> tell if the statistics were stale or not.
>
> Is my logic backwards?
Yup. Gather_stale (which is part of what gather_auto is doing) only calculates statistics when it knows the statistics are stale.
Regards
HJR
Received on Fri Feb 28 2003 - 03:33:39 CST