SELECT on a Single Column (or Only a Few Columns) Does Not Partition Prune
Last updated on JULY 15, 2015
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
The number of columns in a select list seems to determine whether partition pruning is used or not, when all else stays the same.
Example: (Note: BUS_DTE is the partitioning key for table FACT_PERFORMANCE_SEC)
A. Here, a single column is being selected, which results in an FTS on all 481 partitions of FACT_PERFORMANCE_SEC.
The only thing in the query that changes is the number of columns in the select list.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms