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!

Does Oracle provides caching for Corelated Sub-queries?

user8492264Jun 13 2016 — edited Jun 14 2016

Does Oracle provides caching for Corelated Sub-queries?

So let's say I have a query like -

SELECT ..

     , NVL (( SELECT a FROM b WHERE a.a = m.a)

          , ( SELECT c FROM d WHERE c.a = m.a)

           )

     , (SELECT e FROM f WHERE e.a = m.a)

FROM m

WHERE ...;

Say there are 100 Million rows and 100 possible values for (m.a). Will Oracle cache these queries for the same run? Will this caching be available across sessions?

Or Oracle does not cache co-related subqueries?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 12 2016
Added on Jun 13 2016
9 comments
1,972 views