I believe that MONITORING instructs Oracle to keep a rough count of the number of rows in a table that have changed since the last time statistics were gathered, so that when you gather statistics next, if you specify GATHER STALE, Oracle will know which tables it actually needs to gather statistics on. I don't believe that MONITORING instructs Oracle to update the statistics automatically. Justin Cave Distributed Database Consulting, Inc. http://www.ddbcinc.com/askDDBC -----Original Message----- From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Mladen Gogala Sent: Friday, August 06, 2004 8:01 PM To: oracle-l@xxxxxxxxxxxxx Subject: Re: db file scattered read On 08/06/2004 08:19:49 PM, Lyndon Tiu wrote: > > I have to analyze manually all the time? In 9i you sen set table to "MONITORING", and Oracle will collect statistics automatically. In 9i you can set dynamic sampling to 4 and Oracle will collect statistics during parse. -- Mladen Gogala Oracle DBA ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------