暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

High Undo Space Usage Due to Query 0rc4km05kgzb9 (文档 ID 2584684.1)

原创 手机用户021 2023-02-28
689

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进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论