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!

Is there a way to remove the execution plan and cached blocks of a query ?

Y.RamletSep 15 2016 — edited Sep 23 2016

DB version: 11.2.0.4

Platform : Oracle Linux 6.4

In production environment, I am testing the performance of a custom query.

I have made few minor changes to the Original SQL by re-writing it. Before I run the revised version of this SQL , I want to flush out the blocks in the DB Buffer cache which are there from the previous execution . I do not want to issue ALTER SYSTEM FLUSH BUFFER_CACHE just for this requirement as this is a production DB.

Similarly , is there a way to flush out the parsed version (hash version) of previous SQL from Library cache as well without issuing ALTER SYSTEM FLUSH SHARED POOL ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 21 2016
Added on Sep 15 2016
8 comments
14,016 views