OEM 13C表空间使用率监控项失效报错"ORA-1000 : Maximum Open Cursors Exceeded"
OEM 13C表空间使用率监控项失效报错"ORA-1000 : Maximum Open Cursors Exceeded"
前言
自从上了OEM 13C后,对所有数据库都做了表空间使用率的监控,监控阀值为超过90%就会发邮件报警。
最近发现有一个数据库表空间超过90%了还没有发邮件,登录oem网页管理端一看,会有如下报错:
原因
查看了当前打开的游标数量,离open_cursors还有很远,因此排除了游标数满了的情况。
select sid,count(*) from gv$open_cursor where user_name='DBSNMP' and sid in (select sid from gv$session where username='DBSNMP' and program='OMS') group by sid; SID COUNT(*) ---------- ---------- 2009 58 1777 67 878 65 1463 66 387 66 1554 70 920 21 708 66 684 69 186 22 1345 65 855 69 12 rows selected. Elapsed: 00:00:01.81 show parameter open_cursors NAME TYPE VALUE ------------------------------------ --------------------------------- ------------------------------ open_cursors integer 300
查看mos会发现一篇匹配情况的文档:EM 13c, EM 12c: Tablespaces Full Metric Evaluation for 11.2.0.4 Databases Fails with "ORA-1000 : Maximum Open Cursors Exceeded" (Doc ID 1940500.1),是由于bug引起的。
打上PSU就可以了。
This is fixed in the RDBMS Patch 20299013 - "DATABASE PATCH SET UPDATE 11.2.0.4.6 (INCLUDES CPUAPR2015)" or alternatively it is fixed by one-off Patch 18235390.
However, it is strongly advised to apply the PSU (Patch 20299013) rather than to apply the one-off fix for this bug. This is because applying the one off Patch 18235390 can introduce Bug 18723434 "INCORRECT VALUE IN TABLESPACE_SIZE OF DBA_TABLESPACE_USAGE_METRICS IN 11.2.0.4".
Both of these bugs are fixed in the PSU patch. For more details, refer to:
<Doc ID 17897511.8> : Bug 17897511 - ORA-1000 from query on DBA_TABLESPACE_USAGE_METRICS after upgrade to 11.2.0.4 - superseded.
For Windows environment, issue is fixed in 11.2.0.4 Bundle Patch 15. Refer the following note for bundle patch details:
Note 1454618.1 - Quick Reference to Patch Numbers for Database PSU, SPU(CPU), Bundle Patches and Patchsets
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?