Notes in-line Regards Jonathan Lewis http://www.jlcomp.demon.co.uk The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html March 2004 Hotsos Symposium - The Burden of Proof Dynamic Sampling - an investigation March 2004 Charlotte OUG (www.cltoug.org) CBO Tutorial April 2004 Iceland June 2004 UK - Optimising Oracle Seminar ----- Original Message ----- From: "Wolfgang Breitling" <breitliw@xxxxxxxxxxxxx> : That is how I interpret it too, which is why I prefer using system_stats : over changing o_i_c_a. There is a subtle difference between the way o_i_c_a : and system_stats achieve the apparently same goal: : o_i_c_a lowers the cost of index accesses compared to the baseline : whereas : system_stats increase the cost of full scans compared to the baseline Very good point : : I have not figured out yet if that can lead to differences in plan : compositions or if it is guaranteed that the relative costs of all plan : components remain the same when comparing a plan stemming from having : o_i_c_a=25 (i.e. single reads cost are 1/4 of multi read costs) vs. having : system statistics where mreadtim = 4*sreadtim. : In theory it might - It would depend on how Oracle handles the the "plus 1" for tablescans in the new calculation. ---------------------------------------------------------------- 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 -----------------------------------------------------------------