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

相关推荐
一心赚狗粮的宇叔2 小时前
中级软件开发工程师2025年度总结
java·大数据·oracle·c#
Learn-Python3 小时前
MongoDB-only方法
python·sql
是小章啊3 小时前
MySQL 之SQL 执行规则及索引详解
数据库·sql·mysql
yangminlei3 小时前
集成Camunda到Spring Boot项目
数据库·oracle
齐 飞7 小时前
使用阿里云的MaxCompute查询sql时报错:DruidPooledPreparedStatement: getMaxFieldSize error
sql·阿里云·odps
Lonely丶墨轩8 小时前
从登录入口窥见架构:一个企业级双Token认证系统的深度拆解
java·数据库·sql
爱潜水的小L10 小时前
自学嵌入式day43,商城网页
数据库·oracle
周末吃鱼11 小时前
MySQL CTE:SQL查询新模式
数据库·sql·mysql
木风小助理11 小时前
解读 SQL 累加计算:从传统方法到窗口函数
大数据·数据库·sql
8号看台11 小时前
ORA-01017: 用户名/口令无效; 登录被拒绝
数据库·oracle