Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is it possible to push predicates all the way?

dsmoljanovicJun 16 2015 — edited Jun 16 2015

Let's say we have a view that consists of (in my case) 4 nested subqueries one inside the other. Is it possible to use push_pred hint or some other method to push the predicates all the way down to the lowest subquery. Are there some limitations to this? In my case only lowest subquery fetches data from table and the query would benefit hugely if predicate could be pushed to it.

Other upper queries don't filter or join any data but do analytic functions and minor transformations on numeric and date values. But the IDs of the main table are forwarded all the way from bottom to top of the view.

If needed i can show some lite example of what i have in mind since this view is pretty huge and i'd like to spare you the details if possible.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2015
Added on Jun 16 2015
3 comments
961 views