flush sqlid shared_pool

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

conn / as sysdba

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

or,

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

相关推荐
2401_897930061 小时前
什么是非关系型数据库
数据库·oracle
viperrrrrrrrrr74 小时前
大数据学习(112)-HIVE中的窗口函数
hive·sql·学习
小黑屋的黑小子9 小时前
【MySQL】MySQL索引与事务
数据库·mysql·oracle
艺杯羹12 小时前
JDBC之ORM思想及SQL注入
数据库·sql·jdbc·orm·sql注入
程序员不想YY啊15 小时前
MySQL元数据库完全指南:探秘数据背后的数据
数据库·mysql·oracle
博睿谷IT99_16 小时前
数据库证书可以选OCP认证吗?
数据库·oracle·开闭原则·ocp认证
我的golang之路果然有问题17 小时前
速成GO访问sql,个人笔记
经验分享·笔记·后端·sql·golang·go·database
秃头佛爷19 小时前
常用SQL整理
数据库·sql
浩浩测试一下20 小时前
SQL注入高级绕过手法汇总 重点
数据库·sql·安全·web安全·网络安全·oracle·安全架构