Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How long are statistics good for

RE: How long are statistics good for

From: John Kanagaraj <john.kanagaraj_at_hds.com>
Date: Tue, 23 Oct 2001 16:36:13 -0700
Message-ID: <F001.003B28C8.20011023162021@fatcity.com>

Anand,  

Just curious : Is there some test or other observation that you can share with the list about dbms_stats using 10% as a boundary for staleness?  

John Kanagaraj  

Which version of Oracle are you using. In 8i you can set 'monitoring on' for the tables and use dbms_stats to analyze stale. (Though, I am getting error while using dbms_stats for the partitioned tables. So I have made a home made version to analyze stale). As per my calculations, package dbms_stats considers statistics stale if all DMLs affect more than 10% of number of rows.    

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: John Kanagaraj
  INET: john.kanagaraj_at_hds.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Oct 23 2001 - 18:36:13 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US