• enq: HW


    Database hang with gc index operation while doing DML on LOB object (Doc ID 2441744.1)  

    APPLIES TO:Oracle Database - Enterprise Edition - Version 12.2.0.1 and later


    Information in this document applies to any platform.

    SYMPTOMS

    Database hangs while doing DMLs on LOB objects .

    }
    and is blocked by
    => Oracle session identified by:
    {
    instance: 2 (xxxxxxxx.xxxxxxx2)
    os id: 28836042
    process id: 106, oracle@xxxxxx06
    session id: 4545
    session serial #: 50133
    }
    which is waiting for 'gc index operation' with wait info:
    {
    p1: 'usn#'=0x6
    p2: 'slot#'=0x1b
    p3: 'seq#'=0x2484
    time in wait: 0.012699 sec
    timeout after: 0.087301 sec
    wait id: 233929
    blocking: 16 sessions
    current sql: MERGE INTO FBNK_STMT_PRINTED USING DUAL ON (RECID = :RECID) WHEN MATCHED THEN UPDATE SET XMLRECORD=:XMLRECORD WHEN NOT MATCHED THEN INSERT (XMLRECORD ,RECID) VALUES(:XMLRECORD ,:RECID)
    short stack: ksedsts()+432<-ksdxfstk()+68<-ksdxcb()+892<-sspuser()+220<-__sighandler()<-thread_wait()+556<-sskgpwwait()+56<-skgpwwait()+268<-IPRA.$ksliwat()+1936<-kslwaitctx()+200<-kclsplitwait()+1228<-kcbgcur()+18212<-ktbgcur()+128<-kdifind()+600<-kdimod0()+1248<-IPRA.$kdlfkd()+2580<-kdlxgsd()+720<-IPRA.$ktsplbfmb_reclaim()+1916<-ktsplbfmb()+2808<-ktsplbrecl()+1020<-ktspgsp_main()+3492<-IPRA.$kdlgsp_init()+1400<-kdl_write1()+6528<-kdl_copy()+1676<-kdlf_copy()+656<-IPRA.$kokl_pdbaware_kdlf_copy()+396<-IPRA.$kokliclo()+644<-kok
    wait history:
    * time between current wait and wait #1: 0.001052 sec
    1. event: 'gc current split'
    time waited: 0.001972 sec
    wait id: 233928 p1: ''=0xc
    p2: ''=0x214b
    p3: ''=0x1000001
    * time between wait #1 and #2: 0.000553 sec
    2. event: 'gc index operation'
    time waited: 0.099095 sec
    wait id: 233927 p1: 'usn#'=0x6
    p2: 'slot#'=0x1b
    p3: 'seq#'=0x2484
    * time between wait #2 and #3: 0.000194 sec
    3. event: 'gc current split'
    time waited: 0.003181 sec
    wait id: 233926 p1: ''=0xc
    p2: ''=0x214b
    p3: ''=0x1000001
    }

    Chain 1 Signature: 'gc index operation'<='enq: HW - contention'
    Chain 1 Signature Hash: 0x99872a5a
    -------------------------------------------------------------------------------

     

    CHANGES

     

    CAUSE


    Bug 27657712 - ENQ: HW - CONTENTION ON BASICFILE LOBS AFTER UPGRADING TO 12.2 FROM 11.2
     

    SOLUTION

    set below parameter at database level as a workaournd.

    SQL> alter system set "_gc_fast_index_split_wait"=0 scope=spfile sid='*';

    NOTE:: This is a non-rolling change ,need complete downtime.

    + Apply fix 27657712 on Database _home as per read me of the patch.
     

  • 相关阅读:
    CSS 按类查看的常用样式属性
    html5前端准备资料
    编译和链接一些错误和警告
    [转]assert()函数用法总结
    [转]C++ 函数模板特化导致的多重定义链接错误
    [转]退出线程的几种方法
    [总结]编程中遇到的vc提示的一些警告
    [转]__declspec(dllexport) 和 __declspec(dllimport)
    [转]PROCESS_INFOMATION
    [转载] STARTUPINFO结构体
  • 原文地址:https://www.cnblogs.com/cqdba/p/073afa55d272ee9ccb65c2102ba437e3.html
Copyright © 2020-2023  润新知