首页 > 数据库 > Oracle > high wait for
Queries running slow with high waits for 'latch: query server process' and 'DFS lock handle'
| 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 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 |
Table or index degree of parallelism has been altered.
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.
Do not run highly concurrent queries in parallel.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21754115/viewspace-1380259/ ,如需转载,请注明出处,否则将追究法律责任。