Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: DBMS_STATS [resend chomped version]
Agree completely - it's a bit of a luxury to have the time, and hard to get the correct information, but every (complex) system needs a table-driven stats gathering process to minimize the work done, and maximise the return on effort.
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/seminar.html Optimising Oracle Seminar - schedule updated May 1st
All,
> A few columns need histograms - designed to highlight the skewed
> data pattern.
Seems to be the day I use Oracle Apps 11i as a whipping boy! (positive in the case below):
Apps 11i maintains a separate table named FND_HISTOGRAM_COLS which stores column names that are good candidates for Histogram collection. Stats is then collected via an Apps specific FND_STATS package that wraps around DBMS_STATS. The data in FND_HISTOGRAM_COLS is seeded, but there should be no reason you cannot add to this if required. The point is that one could borrow this idea to roll-your-own MY_OWN_GEN_STATS package...
John Kanagaraj <><
DB Soft Inc
Phone: 408-970-7002 (W)
-- 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 Jun 18 2004 - 17:54:30 CDT
![]() |
![]() |