Oracle 11G 2.
Will Oracle do "partition wise" pruning from a table partition to an index partition?
Scenario.
Table A
Partition Range a_date
Subpartition Hash (a_id) -- primary key
Table B
Partition Hash (a_id) -- primary key same as table A.
Table C
Partition Range c_date
Subpartition Hash (c_id) -- primary key
Table D
Partition Hash (c_id) -- primary key
Try.
Global partitioned index on Table C
Partition Hash(a_id)
We have tested this between table, but not index.
Table A joined to Table B
Where Clause a_date between x and y.
Oracle partition prunes on a_date and "partition wise" prunes a_id, and the same thing happens between Table C and Table D.
Question.
If I put the same hash partition on an index on Table C, will Oracle "partition wise" prune between Table A and Table C?
There are times when we will
Table A joined to Table C
Where Clause a_date between x and y.
The hope is we can get the benefits of "partition wise" pruning through the index partitions in this later case.
Anybody?
Will Oracle do "partition wise" pruning from a table partition to an index partition?
Scenario.
Table A
Partition Range a_date
Subpartition Hash (a_id) -- primary key
Table B
Partition Hash (a_id) -- primary key same as table A.
Table C
Partition Range c_date
Subpartition Hash (c_id) -- primary key
Table D
Partition Hash (c_id) -- primary key
Try.
Global partitioned index on Table C
Partition Hash(a_id)
We have tested this between table, but not index.
Table A joined to Table B
Where Clause a_date between x and y.
Oracle partition prunes on a_date and "partition wise" prunes a_id, and the same thing happens between Table C and Table D.
Question.
If I put the same hash partition on an index on Table C, will Oracle "partition wise" prune between Table A and Table C?
There are times when we will
Table A joined to Table C
Where Clause a_date between x and y.
The hope is we can get the benefits of "partition wise" pruning through the index partitions in this later case.
Anybody?