Skip to Main Content

Oracle Database Discussions

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

What is the purpose of "Materialized Hint"

gsrinivas.sriniApr 1 2014 — edited Apr 2 2014

What is the purpose of "Materialized Hint"

I have a select query with 2 tables(let us say Table x and Table y) joined with a equi-join and the query is performing very well.

Later I have added an exists clause to the initial query and then the query performance degraded.

Execution time went up to 10 minutes from the initial time of 3 seconds.

The table (Table z ) on which the exists condition is added has only 10000 records but there is a drastic degradation in the performance.

Based on some recomondations I have used the materialized hint with the "with" clause and I could see that my query is performing well with 3 seconds.

Can some please explain what does this Materialize hint does.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 30 2014
Added on Apr 1 2014
2 comments
1,457 views