【Oracle】Master Note for Parallel Execution Wait Events

简介:
关于并行的等待事件汇总:

Scope

This is intended as a reference for anyone involved in database tuning.
This Note lists the wait events and points to Reference Note where a Note is available.
At the moment we consider the following PX wait events idle:
---PX Deq: Txn Recovery Start
---PX Deq: Txn Recovery Reply
---PX Deq: Metadata Update
---PX Deq: Index Merge Reply
---PX Deq: Index Merge Execute
---PX Deq: Index Merge Close
---PX Deq: kdcph_mai
---PX Deq: kdcphc_ack
---PX Deque wait
---PX Idle Wait
---PX Deq: Join ACK
---PX Deq Credit: need buffer
---PX Deq Credit: send blkd
---PX Deq: Msg Fragment
---PX Deq: Parse Reply
---PX Deq: Execute Reply
---PX Deq: Execution Msg
---PX Deq: Table Q Normal
---PX Deq: Table Q Sample
The full list of Parallel Execution wait events in 11.2.0.1
are documented here for completeness.
Master Note for Parallel Execution Wait Events
General Parallel Execution
Wait Event Name Wait Class 11.2.0.1 Wait Class 11.1.0.7 Wait Class 10.2.0.4 Reference Note
PX slave connection Other Other Other
PX slave release Other Other Other
PX Send Wait Other Other Other
PX qref latch Other Other Other Note:240145.1
PX create server Other Other Other
PX server shutdown Other Other Other Note:250357.1
PX signal server Other Other Other
PX Deq Credit: free buffer Other Other Other
PX Deq: Test for msg Other Other Other
PX Deq: Test for credi Other Other Other
PX Deq: Signal ACK EXT Other Other -------
PX Deq: Signal ACK RSG Other Other -------
PX Deq: Signal ACK ------- ------- Other Note:257594.1
PX Deq: reap credit Other Other Other
PX Nsq: PQ descriptor query Other Other Other
PX Nsq: PQ load info query Other Other Other
PX Deq Credit: Session Stats Other Other -------
PX Deq: Slave Session Stats Other Other -------
PX Deq: Slave Join Frag Other Other -------
PX Deq Credit: send blkd Idle Idle Other Note:271767.1
;PX Idle Wait Idle Idle Idle Note:257595.1
PX Deque wait Idle Idle Idle
PX Deq: Join ACK Idle Idle Idle Note:250960.1
PX Deq Credit: need buffer Idle Idle Idle Note:253912.1

























. Parallel Query
Wait Event Name Wait Class 11.2.0.1 Wait Class 11.1.0.7 Wait Class 10.2.0.4 Reference Note
PX Deq: Table Q qref Other Other Other
PX Deq: Table Q Get Keys Other Other Other
PX Deq: Table Q Close Other Other Other
PX Deq: Table Q Sample Idle Idle Idle
PX Deq: Table Q Normal Idle Idle Idle Note:270921.1
PX Deq: Execution Msg Idle Idle Idle
PX Deq: Execute Reply Idle Idle Idle Note:270916.1
PX Deq: Parse Reply Idle Idle Idle
PX Deq: Msg Fragment Idle Idle Idle











Parallel Recovery

Wait Event Name Wait Class 11.2.0.1 Wait Class 11.1.0.7 Wait Class 10.2.0.4 Reference Note
PX Deq: Txn Recovery Start Idle Idle Idle
PX Deq: Txn Recovery Reply Idle Idle Idle
PX Deq: Par Recov Reply ------- ------- Idle
PX Deq: Par Recov Execute ------- ------- Idle
PX Deq: Par Recov Change Vector ------- ------- Idle

Index Operations

Wait Event Name Wait Class 11.2.0.1 Wait Class 11.1.0.7 Wait Class 10.2.0.4 Reference Note
PX Deq: Merge Reply Idle Idle Idle
PX Deq: Index Merge Execute Idle Idle Idle
PX Deq: Index Merge Close Idle Idle Idle





OLAP Operations

Wait Event Name Wait Class 10.2.0.4 Wait Class 10.2.0.4 Wait Class 10.2.0.4 Reference Note
PX Deq: OLAP Update Close Other Other Other
PX Deq: OLAP Update Execute Other Other Other
PX Deq: OLAP Update Reply Other Other Other





Parallel Query Statement Queuing
Wait Event Name Wait Class 11.2.0.1 Wait Class 11.1.0.7 Wait Class 10.2.0.4 Reference Note
PX Queuing: statement queue Scheduler ------- -------
enq: JX - SQL statement queue Scheduler ------- -------






Miscellaneous

Wait Event Name Wait Class 11.2.0.1 Wait Class 11.1.0.7 Wait Class 10.2.0.4 Reference Note
PX Deq: kdcph_mai Idle Idle Idle
PX Deq: kdcphc_ack Idle Idle Idle
PX Deq: Metadata Update Idle ------- -------
PX hash elem being inserted Other ------- -------




相关文章
|
6月前
|
Oracle 关系型数据库
oracle wait event
oracle wait event
32 1
|
SQL 负载均衡 并行计算
Parallel SQL Execution in Oracle 10g 论文解读
这篇简短的paper从非常high level的角度描述了下Oracle 10g对于parallel query所做的重新设计和其中的一些优化,由于Oracle RAC特殊的share-disk架构,使其在并行计算上与普通的MPP数据库有一些不同,例如对于worker的调度和分配方式以及对于资源/数据的动态调整。
276 0
Parallel SQL Execution in Oracle 10g 论文解读
|
SQL Oracle 算法
Adaptive and Big Data Scale Parallel Execution in Oracle
在上篇文章中,主要讨论了SQL Server的MPP数仓系统PDW的分布式优化过程,PolarDB的并行优化从中有所借鉴,本篇文章主要看下这篇介绍Oracle并行执行策略的paper,因为在PolarDB的分布式执行策略中,有很多与其有所重叠。
222 0
Adaptive and Big Data Scale Parallel Execution in Oracle