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
本站资源均来自互联网,仅供研究学习,禁止违法使用和商用,产生法律纠纷本站概不负责!如果侵犯了您的权益请与我们联系!
转载请注明出处: 免费源码网-免费的源码资源网站 » flush sqlid shared_pool
发表评论 取消回复