博客
关于我
ORACLE Active dataguard 一个latch: row cache objects BUG
阅读量:793 次
发布时间:2023-02-24

本文共 2670 字,大约阅读时间需要 8 分钟。

17608518: "row cache objects" Latch Contention in Oracle Data Guard

Problem Description

A critical issue (ID 17608518) has been identified in Oracle Data Guard, specifically in Active Standby (ADG) environments. This problem manifests as high row cache objects latch contention, characterized by wait events such as "latch: row cache objects" or "Child row cache objects". The issue primarily affects dc_rollback_segments, leading to performance degradation in read-intensive environments like Active Data Guard.

Affected Environments

  • Product/Component: Oracle Server (RDBMS)
  • Affected Versions: Versions BELOW 12.1 are believed to be affected.
  • Confirmed Affected Versions: No specific versions confirmed yet.
  • Platforms Affected: Generic, affecting all or most platforms.

Fix and Implementation

The provided fix introduces a latchless enhancement to alleviate row cache objects latch contention on dc_rollback_segments. This enhancement is specifically designed for read-only environments such as Active Data Guard, where row cache lookups are primarily for read operations. However, it is crucial to use this enhancement with caution in read-write environments, as latchless lookups may fail and revert to the latching mechanism, increasing overhead.

Enabling the Fix

  • In PFILE: Add the following line to enable the fix:
    event='17608518 trace name context forever, level 3'
  • In SPFILE: Use the following SQL command to enable the fix:
    ALTER SYSTEM SET event = '17608518 trace name context forever, level 3' SCOPE=spfileSID='*';

    Restart the standby database for the changes to take effect.

  • Technical Insights

    The issue is closely related to Oracle Note ID 1550722.1, which provides detailed insights into the problem and its resolution. The problem is often diagnosed through monitoring tools that track latch wait events and contention metrics on dc_rollback_segments.

    Key Observations

    • High Contention: The issue is characterized by high row cache objects latch contention, indicating that the database is frequently accessing row cache objects, leading to contention.
    • Impact on Operations: The problem can significantly impact the performance of data guard environments, particularly during peak read operations.
    • Workaround: In cases where the fix cannot be applied immediately, consider monitoring the dc_rollback_segments and adjusting their configuration to reduce contention.

    Conclusion

    This fix addresses a critical performance issue in Oracle Data Guard environments. Proper implementation and configuration are essential to ensure optimal performance post-deployment. For further details and support, consult Oracle Support or refer to the provided reference note.

    转载地址:http://fppfk.baihongyu.com/

    你可能感兴趣的文章
    OpenCV与AI深度学习 | SAM2(Segment Anything Model 2)新一代分割一切大模型介绍与使用(步骤 + 代码)
    查看>>
    OpenCV与AI深度学习 | YOLO11介绍及五大任务推理演示(目标检测,图像分割,图像分类,姿态检测,带方向目标检测)
    查看>>
    OpenCV与AI深度学习 | YOLOv11来了:将重新定义AI的可能性
    查看>>
    OpenCV与AI深度学习 | YOLOv8自定义数据集训练实现火焰和烟雾检测(代码+数据集!)
    查看>>
    OpenCV与AI深度学习 | YOLOv8重磅升级,新增旋转目标检测,又该学习了!
    查看>>
    OpenCV与AI深度学习 | 一文带你读懂YOLOv1~YOLOv11(建议收藏!)
    查看>>
    OpenCV与AI深度学习 | 五分钟快速搭建一个实时人脸口罩检测系统(OpenCV+PaddleHub 含源码)
    查看>>
    OpenCV与AI深度学习 | 低对比度缺陷检测应用实例--LCD屏幕脏污检测
    查看>>
    OpenCV与AI深度学习 | 使用 OpenCV 创建自定义图像滤镜
    查看>>
    OpenCV与AI深度学习 | 使用OpenCV图像修复技术去除眩光
    查看>>
    OpenCV与AI深度学习 | 使用OpenCV检测并计算直线角度
    查看>>
    OpenCV与AI深度学习 | 使用OpenCV轮廓检测提取图像前景
    查看>>
    OpenCV与AI深度学习 | 使用Python和OpenCV实现火焰检测(附源码)
    查看>>
    OpenCV与AI深度学习 | 使用PyTorch进行小样本学习的图像分类
    查看>>
    OpenCV与AI深度学习 | 使用YOLO11实现区域内目标跟踪
    查看>>
    OpenCV与AI深度学习 | 使用YOLOv8做目标检测、实例分割和图像分类(包含实例操作代码)
    查看>>
    OpenCV与AI深度学习 | 使用单相机对已知物体进行3D位置估计
    查看>>
    OpenCV与AI深度学习 | 初学者指南 -- 什么是迁移学习?
    查看>>
    OpenCV与AI深度学习 | 十分钟掌握Pytorch搭建神经网络的流程
    查看>>
    OpenCV与AI深度学习 | 基于GAN的零缺陷样本产品表面缺陷检测
    查看>>