Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> how to partition pruning when joining tables

how to partition pruning when joining tables

From: linda <linglipeng_at_yahoo.com>
Date: 15 Jun 2005 08:22:33 -0700
Message-ID: <1118848953.570160.78770@g49g2000cwa.googlegroups.com>


Hi,

I found it that you need to hard-code the partition key values in the where clause for oracle to do partition pruning. If you join tables together and one of the table has the partition key values in it, oracle somehow won't prune partitions. Example:

select /*+ PARALLEL(lfs 16) */

   fncl_ast_id,ln_lpi_dt
from ln_fncl_st lfs
where lfs.pmt_cyl_st_id in (300638318, 300638330) ;

Do you ever experience the same? How can you make Oracle to prune partition when the values are in a table?

Thanks,
Linda Received on Wed Jun 15 2005 - 10:22:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US