High Undo Space Usage Due to Query 0rc4km05kgzb9 (文档 ID 2584684.1) 转到底部
________________________________________
In this Document
Symptoms
Changes
Cause
Solution
________________________________________
APPLIES TO:
Oracle Database - Enterprise Edition - Version 11.1.0.6 to 18.1.0.0.0 [Release 11.1 to 18]
Information in this document applies to any platform.
SYMPTOMS
High Undo Space usage is reported due to the query - "select 1 from obj$ where name='DBA_QUEUE_SCHEDULES'".
Status Total Extents
--------- -------------
UNEXPIRED 2,189
ACTIVE 1
EXPIRED 3
############## Historical V$UNDOSTAT (Last 2 Days) ##############
Query
Maximum Undo # of Tuned Retention
Date/Time Minutes SqlID TBS Blocks Trans # of Unexpired # of Expired (Minutes)
------------------ -------- ------------- -------- ------------ ------------ -------------- ------------ ---------------
23-14:12 30 0rc4km05kgzb9 2 61 1,719 233,888 3,584 19,906
23-14:22 20 0rc4km05kgzb9 2 65 1,587 233,888 3,584 19,993
23-14:32 10 0rc4km05kgzb9 2 59 1,653 233,888 3,584 20,081
...
23-10:32 0rc4km05kgzb9 4z6jfdhm5uxr7 9 Runaway Query-Active 0
23-10:42 0rc4km05kgzb9 4z6jfdhm5uxr7 9 Runaway Query-Active 0
23-10:52 0rc4km05kgzb9 4z6jfdhm5uxr7 9 Runaway Query-Active 0
CHANGES
Because of this problem, customers have to resort to hidden init.ora parameters to keep undo retention time in control, essentially negating the benefit of automatic undo tuning.
CAUSE
You could be affected by:
Bug 26833932 : OCIRELEASESTMT TO PUT THE CURSORS IN CURBOUND STATE WHEN PLACING THEM IN CACHE
SOLUTION
You can set workarounds below, however the issue will still persist:
- set _smu_debug_mode=33554432
- set _undo_autotune=false
- set _HIGHTHRESHOLD_UNDORETENTION
Solution is to apply the fix below:
Bug 26833932 : OCIRELEASESTMT TO PUT THE CURSORS IN CURBOUND STATE WHEN PLACING THEM IN CACHE
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
【专家有话说第五期】在不同年龄段,DBA应该怎样规划自己的职业发展?
墨天轮编辑部
1327次阅读
2025-03-13 11:40:53
Oracle RAC ASM 磁盘组满了,无法扩容怎么在线处理?
Lucifer三思而后行
803次阅读
2025-03-17 11:33:53
Oracle+Deepseek+Dify 实现数据库数据实时分析
bicewow
729次阅读
2025-03-06 09:41:49
2月“墨力原创作者计划”获奖名单公布
墨天轮编辑部
469次阅读
2025-03-13 14:38:19
Oracle 如何修改 db_unique_name?强迫症福音!
Lucifer三思而后行
365次阅读
2025-03-12 21:27:56
Oracle DataGuard高可用性解决方案详解
孙莹
318次阅读
2025-03-26 23:27:33
Oracle分区和执行计划相关的几个问题
听见风的声音
311次阅读
2025-03-07 08:51:42
数据库管理-第299期 数据库是否需要定期重启(20250306)
胖头鱼的鱼缸
254次阅读
2025-03-06 09:09:35
切换Oracle归档路径后,不能正常删除原归档路径上的归档文件
dbaking
252次阅读
2025-03-19 14:41:51
风口浪尖!诚通证券扩容采购Oracle 793万...
Roger的数据库专栏
247次阅读
2025-03-24 09:42:53