high wait for
在測試資料庫的awr報告中發現大量的 dfs lock handle,引出這個文件作為參考
25個併發,每個併發持續執行一個並行度為24的查詢sql,在等待事件中 列出了等待時間最長的dfs lock handle
Information in this document applies to any platform.
25個併發,每個併發持續執行一個並行度為24的查詢sql,在等待事件中 列出了等待時間最長的dfs lock handle
APPLIES TO:
Oracle Database - Enterprise Edition - Version 11.1.0.6 to 12.1.0.2B1 [Release 11.1 to 12.1]Information in this document applies to any platform.
SYMPTOMS
Queries running slow with high waits for 'latch: query server process' and 'DFS lock handle'
Top 10 Foreground Events by Total Wait Time
Event | Waits | Total Wait Time (sec) | Wait Avg(ms) | % DB time | Wait Class |
---|---|---|---|---|---|
DFS lock handle | 1,336 | 29.4K | 22043 | 52.3 | Other |
latch free | 6,200 | 25.7K | 4137 | 45.5 | Other |
DB CPU | 463.3 | .8 |
Latch Activity
Latch Name | Get Requests | Pct Get Miss | Avg Slps /Miss | Wait Time (s) | NoWait Requests | Pct NoWait Miss |
---|
query server process | 80,297 | 4.01 | 2.68 | 25830 | 2,104 | 0.29 |
CHANGES
Table or index degree of parallelism has been altered.
CAUSE
Highly concurrent queries that normally take a fraction of a second to run started executing with a high degree or parallelism.
This leads to extreme contention for the 'latch: query server process' when spawning and cleaning up detached processes.
SOLUTION
Do not run highly concurrent queries in parallel.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21754115/viewspace-1380259/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- High "Resmgr:Cpu Quantum" Wait EventsAI
- High 'library cache lock' Wait Time Due to Invalid Login AttemptsAI
- Bug 14641937 : HIGH WAIT TIME ON "GCS DRM FREEZE IN ENTER SERVER MODE"AIGCServer
- 【WAIT】wait eventAI
- 【go語言】wait,wait for meGoAI
- HiSpider(Hitask) is a fast and high performance spider with high speedIDEASTORM
- fork waitAI
- oracle wait!OracleAI
- wait eventsAI
- wait() and notify()AI
- lowbit 與 highbit
- Subject: "class slave wait" is the top wait event on AWR snapshotAI
- FenceSyne, flush, waitAI
- enqueue wait event .ENQAI
- jobq slave waitAI
- KSV master waitASTAI
- wait() vs sleep()AI
- RestHighLevelClient查詢esRESTclient
- zt_關於wait events asynch descriptor resize_wait eventAI
- Golang CLOSE WAIT 分析GolangAI
- Oracle RAC Wait EventsOracleAI
- wait()和notify()、notifyAll()AI
- shell中的waitAI
- cpu+wait for cpuAI
- sys/wait.hAI
- buffer busy wait 解析AI
- Data Guard Wait EventsAI
- Parallel Query Wait EventsParallelAI
- V$SESSION_WAITSessionAI
- sleep & wait | notify | notifyAllAI
- wait for stopper event to be increasedAI
- Oracle wait interface -- sessionOracleAISession
- Oracle, History and the Wait InterfaceOracleAI
- Latch wait postingAI
- Highcharts的credits配置去掉或修改“Highcharts.com”連結標籤
- TCP埠狀態說明ESTABLISHED、TIME_WAIT、 CLOSE_WAITTCPAI
- wait event_Additional Statistics_that do not have corresponding wait eventsAI
- Performance and High-Availability OptionsORMAI