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 -> Bind Variables and Partition Elimination

Bind Variables and Partition Elimination

From: Martin Pammer <mpammer_at_vrz.net>
Date: Thu, 14 Feb 2002 11:37:42 +0100
Message-ID: <g64n6ukv10ft3o5p74d7kp9f0efp5di363@4ax.com>


Hi all

I am trying to find some solid background information on using bind variables and partition elimination. The sparse information I found by querying the web is confusing me.

Some informations seem to indicate that partition elimination does not occur with the use of bind variables while others state the oposite.

For example on
http://www.ixora.com.au/tips/design/partitioning.htm the author writes:

"Partition Elimination
Another benefit of range partitioning, is automatic partition elimination during the formulation of query execution plans. The optimizer compares the WHERE clause predicates with the partitioning range for each partition and eliminates from the execution plan those partitions which can be guaranteed not to contain rows satisfying the query. Of course, partition elimination normally relies on not using bind variables, so that the optimizer can determine which partitions can be eliminated. However, in the case of equality predicates on the partitioning key, the optimizer is content in the knowledge that at most one partition will be required"

Can someone shed some light on this issue ?

With best regards

Martin Pammer
VRZ Informatik
Dornbirn
Austria
m p a m m e r <at> v r z . n e t Received on Thu Feb 14 2002 - 04:37:42 CST

Original text of this message

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