Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: db file scattered read
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_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]
On Behalf Of Mladen Gogala
Sent: Friday, August 06, 2004 8:01 PM
To: oracle-l_at_freelists.org
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_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://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_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri Aug 06 2004 - 21:21:03 CDT
![]() |
![]() |