Partition Pruning Not Happening If A View Is Created With UNION ALL

(Doc ID 2343615.1)

Last updated on JANUARY 02, 2018

Applies to:

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

Symptoms

If a View is created with UNION ALL, then Partition Pruning is not happening.
The following sample testcase demonstrates the issue:



 

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