But beware that for 8.1.7.4, histograms are ignored if you're using bind variables, either explicitly or via the infamous CURSOR_SHARING=FORCE init.ora parameter. Rich Rich Jesse System/Database Administrator rich.jesse@xxxxxxxxxxxxxxxxx QuadTech, Sussex, WI USA [terribly snipped] > From: Bobak, Mark [mailto:Mark.Bobak@xxxxxxxxxxxxxxx] > > WHY the CBO > thinks a particular plan is lower cost than another and then give the > CBO better information so that it can more accurately estimate plan > costs. > > Ways to do this may include: > - add histograms for some skewed columns ---------------------------------------------------------------- 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 -----------------------------------------------------------------