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: VLDBA's: gather stats on a large table

Re: VLDBA's: gather stats on a large table

From: Connor McDonald <hamcdc_at_yahoo.co.uk>
Date: Tue, 12 Apr 2005 13:40:17 +0100 (BST)
Message-ID: <20050412124017.95363.qmail@web86908.mail.ukl.yahoo.com>


Couple of ideas...

  1. all the stats gathering facilities do a *lot* of sorting. See if you can drop your 20hours by tinkering with the various pga parameters and/or parallel.
  2. but mostly when it comes to bigger tables, I'm a fan of "when in doubt, cheat"...If *you* have got a good idea of the stats, just use set_..._stats. If you don't have a decent starting point, sacrifice (say) 60 hours on a weekend to get the best stats you can, and then use them as base for subsequent "cheating". Every few months/years/etc, take some stats - see how they compare to your cheats and adjust accordingly.

hth
connor

Connor McDonald
Co-author: "Mastering Oracle PL/SQL - Practical Solutions" Co-author: "Oracle Insight - Tales of the OakTable"

web: http://www.oracledba.co.uk
web: http://www.oaktable.net
email: connor_mcdonald_at_yahoo.com

"GIVE a man a fish and he will eat for a day. But TEACH him how to fish, and...he will sit in a boat and drink beer all day"


                

Do you Yahoo!?
Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Apr 12 2005 - 08:44:16 CDT

Original text of this message

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