Quantcast
Channel: SCRIPTS – ORACLE-HELP
Viewing all articles
Browse latest Browse all 27

How to Flush Single SQL Plan out of Shared Pool in Oracle

$
0
0

Todays let ‘s have look at the query which we use to resolve this issue ” How to Flush Single SQL Plan out of Shared Pool”. 

 

 

Find the address and the hash value

SQL> select ADDRESS, HASH_VALUE from V$SQLAREA where SQL_ID='495fdyn7cd34r';

ADDRESS HASH_VALUE

---------------- ----------

00000005ODJD9BC0 247122679

Execute the purge procedure

SQL> exec DBMS_SHARED_POOL.PURGE ('00000005ODJD9BC0,247122679','C');

PL/SQL procedure successfully completed.

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Telegram Channel: https://t.me/helporacle

Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/

Joel Perez’s LinkedIn: Joel Perez’s Profile

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

The post How to Flush Single SQL Plan out of Shared Pool in Oracle appeared first on ORACLE-HELP.


Viewing all articles
Browse latest Browse all 27

Trending Articles