Partition Pruning Not Working Through View With Cast Functions
(Doc ID 341807.1)
Last updated on FEBRUARY 03, 2020
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 to 220.127.116.11 [Release 9.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
A simple select against a partitioned table produces an execution plan that
exhibits partition pruning. But if a view is created using cast functions,
then the same query against the view produces an execution plan that hits all
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document