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

相关推荐
漂着的圆木3 天前
Agent 功能参与度:Copilot 怎么算
sql·数据分析·agent·githubcopilot·度量
lbb 小魔仙3 天前
OpenClaw + cpolar 实战:远程 NAS、分享小游戏、RDP,再配置公网 AI 入口
数据库·人工智能·redis·oracle·prometheus
旺仔不是程序员3 天前
LIMIT 1:PostgreSQL 只取一行的高效查询姿势
数据库·后端·sql
小刘在重生~3 天前
Oracle_day2 单行函数|组函数|分组|伪列|子查询|分页|多表连接
笔记·oracle·面试
NineData3 天前
NineData 与统信服务器操作系统完成兼容认证
数据库·oracle·操作系统·软件·数据库管理工具·ninedata·统信
山岚的运维笔记4 天前
mysql 专业笔记 -- 第 36 章:MySQL 管理
运维·数据库·笔记·后端·mysql·oracle·dba
知识的搬运工旺仔4 天前
唯一索引与 NULL 值:PostgreSQL 主键约束与 NULLS NOT DISTINCT
数据库·后端·sql·postgresql
geovindu4 天前
sql: Transaction & Concurrency Patterns using Oracel 21c
oracle·数据库开发·数据库架构
jnrjian4 天前
DRG-50857 ORA-30576 drixmd.PurgeKGL CTXSYS
数据库·oracle