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: dbms_stats broken

RE: dbms_stats broken

From: Jankovic, Djordje <Djordje.Jankovic_at_attcanada.com>
Date: Thu, 29 May 2003 07:29:45 -0800
Message-ID: <F001.005A594B.20030529072945@fatcity.com>


I haven't used it, but here is what we are doing: we created a simple package which loops through dba_tab_modifications and finds itself (the same way as oracle would) which tables are stale: where the sum of inserts, updates and deletes is more than 10% of the number of rows, and than run dbms_stats for those only. That way you have a bit more flexibility (you can for example exclude some tables), make estimate or calculate decisions on the table basis, etc.  

Djordje
-----Original Message-----
Sent: Wednesday, May 28, 2003 10:25 PM
To: Multiple recipients of list ORACLE-L

Hello everyone,  

Is anyone using dbms_stats and gather stale or gather auto in 9.2? I'm trying to use dbms_stats gather schema stats with the stale option and it just isn't working in 8.1.7.4. This is documented on Metalink. I'd love to hear from someone else if this is fixed in 9.2 and if it can be reliably used.  

Thank you
Lisa Monkey.    

--

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

Author: Jankovic, Djordje
  INET: Djordje.Jankovic_at_attcanada.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Thu May 29 2003 - 10:29:45 CDT

Original text of this message

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