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 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 ----- Original Message ----- From: "John Kanagaraj" <john.kanagaraj@xxxxxxx> To: <oracle-l@xxxxxxxxxxxxx> Sent: Friday, June 18, 2004 11:12 PM Subject: RE: DBMS_STATS [resend chomped version] 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) ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------