Range partition skip check
Posted
by user289429
on Stack Overflow
See other posts from Stack Overflow
or by user289429
Published on 2010-03-29T05:15:16Z
Indexed on
2010/03/29
5:23 UTC
Read the original article
Hit count: 302
We have large amount of data partitioned on year value using range partition in oracle. We have used range partition but each partition contains data only for one year. When we write a query targeting a specific year, oracle fetches the information from that partition but still checks if the year is what we have specified. Since this year column is not part of the index it fetches the year from table and compares it. We have seen that any time the query goes to fetch table data it is getting too slow.
Can we somehow avoid oracle comparing the year values since we for sure know that the partition contains information for only one year.
© Stack Overflow or respective owner