Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Partition Pruning
You partitioned the MANAGER table by MGRID, not by EMPID. Oracle can't
perform pruning unless your query is referencing the partition-key column.
on 5/4/04 10:46 AM, Sanjay Mishra at smishra_97_at_yahoo.com wrote:
> and another table manager which is also range
> partitioned on mgrid,dtpromotion
>
> I am running query
>
> select ....
> from emp a , manager b
> where a.empid=b.empid
> and a.created > sysdate -1 and a.created < sysdate -0
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Tue May 04 2004 - 12:51:05 CDT
![]() |
![]() |