ORACLE 12c索引分裂引起的會話夯
最近維護的一套4節點12c資料庫出現會話操作響應緩慢的情況。
檢視問題時間段的awr,發現資料庫當時負載並不高:
進一步檢視問題時間段awr的top等待事件,發現有比較嚴重的gc index operation等待事件:
觀察問題時間段awr的sql部分,發現SQL語句dvr0q1vq2jwx4很怪異,一條簡單的insert SQL語句執行效率十分低下:
dvr0q1vq2jwx4:
insert into tsys_p
(piljybss,
ljhaoshi,
jiaoyzht,
plzxmosh,
plrwzdbz,
plrwtjsj,
plrwuyxj,
jyksshij,
kshishjc,
jyjsshij,
jshishjc,
xunijibs,
ipdizhii,
zhujimic,
shujuquu,
qslcbzha,
qszxxhao,
qspljyzu,
qsbuzhou,
cuowxinx,
cuowduiz,
fuwbiaoz,
zxtongbh,
xitongbs,
farendma)
values
(:10,
:11,
:12,
:13,
:14,
:15,
:16,
:17,
:18,
:19,
:20,
:21,
:22,
:23,
:24,
:25,
:26,
:27,
:28,
:29,
:30,
:31,
:32,
:33)
個人經驗而論像是oracle的bug,網上倒是發現了一個類似的問題文章:
https://www.cnblogs.com/cqdba/p/073afa55d272ee9ccb65c2102ba437e3.html 但是,進一步核實又不太一樣,
因為本次問題涉及的表並沒有blob/clob大欄位。針對本次問題,向oracle提起了sr請求進一步確認是否是oracle自身的
bug,得到了印證:
MOS文件28023081.8詳細內容:
Bug 28023081 Sessions Hang Due to Waits 'gc current split'/ 'gc index operation'
This note gives a brief overview of bug 28023081.
The content was last updated on: 20-OCT-2020
Click
here for details of each of the sections below.
Affects:
Product ( Component) Oracle Server (Rdbms) Range of versions believed to be affected Versions BELOW 19.1 Versions confirmed as being affected Platforms affected Generic (all / most platforms affected)
Fixed:
The fix for 28023081 is first included in
Interim patches may be available for earlier versions - click to check.
Symptoms: |
Related To: |
|
Description
This bug is only relevant when using Real Application Clusters (RAC)In a RAC environment the sessions may hang on 'gc current split'/ 'gc index operation' Rediscovery Notes Session hanging on 'gc current split'/ 'gc index operation' cycle, local DLM lock shows repeated message BAST being sent: GCS SHADOW 0x30661c288,256 resp[0x30e6efa18,0x39b6f.23] pkey 0.11.35289 ... KJBL history 0x84.0x84.0x84.0x84.0x84.0x84.0x84.0x84... Workaround _gc_fast_index_split_wait=0
Please note: The above is a summary description only. Actual symptoms can vary. Matching to any symptoms here does not confirm that you are encountering this problem. For questions about this bug please consult Oracle Support. |
References
(This link will only work for PUBLISHED bugs)
Note:245840.1 Information on the sections in this article
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29357786/viewspace-2778952/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle索引分裂(Index Block Split)Oracle索引IndexBloC
- 索引分裂的enq索引ENQ
- Oracle索引塊分裂split資訊彙總Oracle索引
- Oracle index索引塊分裂split資訊彙總OracleIndex索引
- 【ASK_ORACLE】關於Oracle索引分裂你需要知道的Oracle索引
- buffer busy waits引起的會話突增AI會話
- 【索引】反向索引引起排序索引排序
- oracle的會話如何自殺?Oracle會話
- 資料庫索引分裂 問題分析資料庫索引
- Oracle 會話(Session)Oracle會話Session
- oracle鎖會話Oracle會話
- 【ASK_ORACLE】由於索引分裂而產生的效能問題的解決方案Oracle索引
- 索引分裂造成的index contention等待事件的診斷索引Index事件
- oracle中會話的狀態Oracle會話
- oracle交換分割槽所引起的索引失效問題探究測試Oracle索引
- ORACLE 分割槽索引UNUSABLE導致的DML操作失敗引起的血案Oracle索引
- ?ORACLE會話超時Oracle會話
- Oracle跟蹤會話Oracle會話
- oracle 會話,連線Oracle會話
- Oracle 12c新特性之:使用高階索引壓縮建立索引Oracle索引
- 引起索引失效的原因和解決方法索引
- Oracle阻塞會話查詢Oracle會話
- oracle session(會話) 跟蹤OracleSession會話
- 【會話】Oracle kill session系列會話OracleSession
- oracle遭遇大量SNIPED會話Oracle會話
- ORACLE快速徹底Kill掉的會話Oracle會話
- 【Oracle】-【建立索引】-建立索引的操作原理與一些體會Oracle索引
- 關於insert操作造成索引葉節點分裂的驗證索引
- oracle 定期清理inactive會話Oracle會話
- PG 12-2 B-Tree 索引 分析 分裂 level = 1索引
- Oracle查詢當前會話的sidOracle會話
- Oracle 12C 新特性之表分割槽部分索引(Partial Indexes)Oracle索引Index
- 點陣圖索引導致的會話阻塞問題(p7)索引會話
- oracle實用sql(7)--單個會話或會話間statistics對比OracleSQL會話
- 六條幹貨幫你的MySQL索引起飛MySql索引
- 索引失效系列——繫結變數引起的peeking索引變數
- [20211105]索引分裂塊清除日誌增加(唯一索引).txt索引
- Oracle會話超時退出設定Oracle會話