SELECT on a Single Column (or Only a Few Columns) Does Not Partition Prune (Doc ID 2032295.1)

Last updated on JULY 15, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

 

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.

 

Changes

 The only thing in the query that changes is the number of columns in the select list.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms