SQL Performance (MOSC)

MOSC Banner

How to keep execution plan after DB restart?

edited Mar 17, 2020 1:50AM in SQL Performance (MOSC) 4 commentsAnswered

Hello,

I can pinn e.g. a cursor in the shared-pool using dbms_shared_pool.keep( 'v$sql.address, v$sql.hash_value', 'C').

But after bouncing the database it is gone.

How can I keep the execution plan even after restarting the database?

regards

HoB

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center