重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1536|回复: 0
打印 上一主题 下一主题

[参考文档] ORA-445 and Heavy 'latch: shared pool' and 'row cache *' Waits; RAC may Hang

[复制链接]
跳转到指定楼层
楼主
发表于 2023-10-29 11:28:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现象:
The first symptoms of the problem may be seeing the following in the alert log, although there may also be messages about not being able to attach to an incoming connection, etc.  Eventually ORA-445 will be seen.

CLMN failed to acquire latch
ORA-00445: background process "<process name>" did not start after 120 seconds   <--- this might be any process

You may see high 'latch: shared pool' and/or 'row cache mutex' waits, and a RAC instance may hang.   If you have dynamic connection pooling configured and it's configured for more than 10 * <number of physical CPUs> on the node, you may also have a connection storm.

变动:
Upgrade to 19c, and often 19.17 or higher.

原因:
Per unpublished Bug "35346203 - ORA-00445 AND LIBRARY CACHE CAUSING INSTANCE AND RAC DATABASE HANG, which was opened explicitly for this issue, the causes are several:

- Unpublished Bug 34304965 - TRACKING BUG FOR KQR FIXES FOR 19.18 RU.                                                       <--- this is the main one
- Unpublished Bug 34106320 - SHARED POOL RESERVED MEMORY USED BY SMALL PERMANENT ALLOCATIONS
- Unpublished Bug 34832725  - ORA-4031 "KSU:STATS_FREELIST" AND "KGLSESHTTABLE" ERRORS IN 19C.


处理方法:
Apply patches for the following bugs:
  - Patch 34832725 - ORA-4031 "KSU:STATS_FREELIST" AND "KGLSESHTTABLE" ERRORS IN 19C (fix)
  - Patch 34304965 - TRACKING BUG FOR KQR FIXES FOR 19.18 RU (fix)
  - Patch 34106320 - SHARED POOL RESERVED MEMORY USED BY SMALL PERMANENT ALLOCATIONS (fix)
  - Patch 29768682 - AUTOMATICALLY TRIGGER 4031 SUMMARY REPORT ON LATCH CONTENTION (proactive diagnostic)
  - Patch 33780182 - IMPLEMENT MECHANISM TO BETTER TRACK USE OF RESERVED SHARED POOL (proactive diagnostic)
  - Patch 34958073 - IMPLEMENT A MECHANISM TO PROVIDE DETAILS ABOUT LRU SCAN EFFORT (proactive diagnostic)

Make sure your shared_pool_reserved_size is at least 10% of your shared_pool_size; adjust shared_pool_size if necessary to accommodate the increase (requires a bounce of the database).

Other actions recommended by Support:
- Change connection pooling to a static pool of no more than 10 * <number of physical CPUs> on each node to avoid connection storms:
  - Configure connection pooling (configure for PRCP)
  - Connection pooling -- programming requirements

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-25 04:24 , Processed in 0.104789 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表