DBA may need to flush the shared pool or the cursor of the query.

conn / as sysdba

1)

alter system flush shared_pool;  --- not recommend during the peak hours of the prod..

or,

2)

select sql_text,address, hash_value, executions from v$sqlarea where sql_id = '&sqlid';
exec sys.dbms_shared_pool.purge('&address, &hash_value','c');

-- passing the address and hash_value from the previous query

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部