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

相关推荐
JAVA不会写6 小时前
在Mybatis plus中如何使用自定义Sql
数据库·sql
IT 小阿姨(数据库)6 小时前
PgSQL监控死元组和自动清理状态的SQL语句执行报错ERROR: division by zero原因分析和解决方法
linux·运维·数据库·sql·postgresql·centos
小马学嵌入式~7 小时前
嵌入式 SQLite 数据库开发笔记
linux·c语言·数据库·笔记·sql·学习·sqlite
Monly218 小时前
人大金仓:merge sql error, dbType null, druid-1.2.20
数据库·sql
float_六七8 小时前
数据库连接池:性能优化的秘密武器
数据库·oracle·性能优化
码界奇点8 小时前
MongoDB vs MySQLNoSQL与SQL数据库的架构差异与选型指南
数据库·sql·mongodb·系统架构
IT 小阿姨(数据库)8 小时前
PgSQL中pg_stat_user_tables 和 pg_stat_user_objects参数详解
linux·运维·数据库·sql·postgresql·oracle
鸿乃江边鸟11 小时前
Flink中的 BinaryRowData 以及大小端
大数据·sql·flink
emma羊羊15 小时前
【 SQL注入漏洞靶场】第二关文件读写
sql·网络安全·靶场·sql注入
Chan1616 小时前
【智能协同云图库】基于统一接口架构构建多维度分析功能、结合 ECharts 可视化与权限校验实现用户 / 管理员图库统计、通过 SQL 优化与流式处理提升数据
java·spring boot·后端·sql·spring·intellij-idea·echarts