RAC 環境中分區表建立index hang(row cache lock)

來源:互聯網
上載者:User

RAC 環境中分區表建立index hang(row cache lock)

今天在一張大表(分區表)上建立bitmap 索引,執行一段時間後就hang在那裡 等待事件為row cache lock

查詢得知:


SQL>

select event,p1 from v$session a where a.username is not null and a.status='ACTIVE'

EVENT                                                                    P1

---------------------------------------------------------------- ----------

row cache lock                                                            2

查詢v$rowcache

 SQL> select parameter from v$rowcache where cache#=7;

 

PARAMETER

--------------------------------

dc_segments

dc_segments

dc_segments

查詢mos得知是一個bug


Bug 8417354 10.2.0.4 RDBMS 10.2.0.4 DICTIONARY PRODID-5 PORTID-226 6004916
 Abstract: CREATE BITMAP INDEX HANG ON "ROW CACHE LOCK"
 
Bug 6321551 10.2.0.2 RDBMS 10.2.0.2 RAC PRODID-5 PORTID-226 6004916
 Abstract: CREATE INDEX ON PART. TABLE NOT FINISHING W/ ROW CACHE LOCK
 
Base Bug 6004916 11.0.0.0 RDBMS 11.0.0.0 ROW CACHE PRODID-5 PORTID-46
 Abstract: REFPART:LNX:WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK
 
When creating a local index on partitioned table is not finishing on a two node RAC. Also, ORA-4021 error could be reported after a while.

 

該bug出現的情境及癥狀

1 It has not been possible to create an index on a partitioned table.
 2 Error ORA-04021 may be reported after a while.
 3 The table contain huge number of partitions and sub-partitions.
 4 This is a 2-node RAC environment.
 5 Index creation waits on 'row cache lock'.
 6 The blocker process is not recorded in the system state dumps.

解決方案

應用補丁 Patch 6004916.

或
 關閉RAC除本節點的其他節點執行個體,建立索引,建立後開啟其他節點執行個體

--------------------------------------------------------------------------------

Linux-6-64下安裝Oracle 12C筆記

在CentOS 6.4下安裝Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虛擬機器中安裝步驟

Debian 下 安裝 Oracle 11g XE R2

--------------------------------------------------------------------------------

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.