Monday, March 9, 2015

Hard Parse

Purge cursor value from shared_pool

Okay, please use the following steps to purge the cursor from the shared pool and then see what occurs from there.

select address, hash_value from v$sqlarea where sql_id = '&sql_id';

ADDRESS HASH_VALUE
-------- ----------
2671F27C 3599690174 <<<< Example Output>> !! You will need to use the above query to get the proper address and hash_values !!

SQL> exec dbms_shared_pool.purge('&address,&hash_value','C')



you can add any hint to sql annd execute it to hard parse

like

/*+ hint heyhey */

No comments:

Post a Comment

Featured Post

Apply Patch 22191577 latest GI PSU to RAC and DB homes using Opatch auto or manual steps

Patch 22191577: GRID INFRASTRUCTURE PATCH SET UPDATE 11.2.0.4.160119 (JAN2016) Unzip the patch 22191577 Unzip latest Opatch Version in or...