Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » oracle-l »

Re: Oracle CBO question

K Gopalakrishnan

2007-06-07

Replies:

Jared,

N factorial permutations for N tables are theoretical limit. However
in practice the number of combinations are optimized (read: limited)
to a much smaller number than the thousands. If you start examining
all the thousands of combinations the parse time itself will run for
minutes and to avoid that there are limits defined for everywhere.
There is an 'optimizer_search_limit' and also
'_new_initial_join_orders' limits the number of permutations .


--
Best Regards,
K Gopalakrishnan
Co-Author: Oracle Wait Interface, Oracle Press 2004
http://www.amazon.com/exec/obidos/tg/detail/-/007222729X/

Author: Oracle Database 10g RAC Handbook, Oracle Press 2006
http://www.amazon.com/gp/product/007146509X/
--
http://www.freelists.org/webpage/oracle-l


©2008 dba.5341.com - Jax Systems, LLC, U.S.A.