【等待事件】global cache cr request/gc current request
global cache cr request/gc current request
The session is waiting for all pending lock operations on the lock elements (le) attached to a lock context to complete. The session sits in a loop until all requests are complete, and this wait event is effectively a poll interval while waiting.
The event is waited for when a session is looking for a consistent read version of a block but cannot find it in its local cache. The wait implies that the current block is not cached locally. The wait ends when either a block or a grant arrives for all queued requests. Depending on whether the remote instance has the block cached or not, the requesting instance receives:
A CR block, resulting in the statistic "global cache cr block received" being incremented
A grant, resulting in the statistic "global cache gets" being incremented
A current block, resulting in the statistic "global cache current blocks received" being incremented.
In the second case, the global cache cr request wait completion is followed by a read I/O because a current block version must be read from disk. An example of this is a global cache CR request wait followed by a "db file sequential read" wait for the same block (P1 and P2 are the same) . If a remote instance has a CR version or a CURRENT version, it will in most cases ship the block. If the block is not cached anywhere else, the requestor will read the block from disk.
Parameters:
P1 = file#
P2 = block#
P3 = lenum
Reducing Waits / Wait times:
The average wait time for this event should be low because a CR request should not be blocked and therefore be bounded only by processing time and network latencies. In the event of high wait times and user response time complaints, the actions to be taken are:
Identify the session and SQL causing the CR requests and tune the SQL
Determine whether the cause is a small buffer cache by monitoring I/O rates on files and objects
Monitor statistics in <> to determine whether there are many CR reads of undo segment and/or violations of the lightweight rule (remote instances cannot produce a CR buffer because too much work is involved, such as reading data or undo from disk).
Distribute a workload more evenly to achieve better locality of access
Set the fairness threshold to 1 if blocks are more often read than modified
The session is waiting for all pending lock operations on the lock elements (le) attached to a lock context to complete. The session sits in a loop until all requests are complete, and this wait event is effectively a poll interval while waiting.
The event is waited for when a session is looking for a consistent read version of a block but cannot find it in its local cache. The wait implies that the current block is not cached locally. The wait ends when either a block or a grant arrives for all queued requests. Depending on whether the remote instance has the block cached or not, the requesting instance receives:
A CR block, resulting in the statistic "global cache cr block received" being incremented
A grant, resulting in the statistic "global cache gets" being incremented
A current block, resulting in the statistic "global cache current blocks received" being incremented.
In the second case, the global cache cr request wait completion is followed by a read I/O because a current block version must be read from disk. An example of this is a global cache CR request wait followed by a "db file sequential read" wait for the same block (P1 and P2 are the same) . If a remote instance has a CR version or a CURRENT version, it will in most cases ship the block. If the block is not cached anywhere else, the requestor will read the block from disk.
Parameters:
P1 = file#
P2 = block#
P3 = lenum
Reducing Waits / Wait times:
The average wait time for this event should be low because a CR request should not be blocked and therefore be bounded only by processing time and network latencies. In the event of high wait times and user response time complaints, the actions to be taken are:
Identify the session and SQL causing the CR requests and tune the SQL
Determine whether the cause is a small buffer cache by monitoring I/O rates on files and objects
Monitor statistics in <
Distribute a workload more evenly to achieve better locality of access
Set the fairness threshold to 1 if blocks are more often read than modified
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-1068658/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- gc cr request等待事件GC事件
- 解決gc current request等待事件GC事件
- gc current/cr block busy等待事件GCBloC事件
- gc current request等待時間處理GC
- 儲存過程遇到gc cr request等待儲存過程GC
- gc cr request 'gcs log flush sync'GC
- gc current request等待事件,介紹p1,p2,p3轉換方法GC事件
- gc current request 引起長期鎖表的故障GC
- 【等待事件】virtual circuit next request事件UI
- 如何診斷RAC系統中的'gc cr multi block request'?GCBloC
- oracle 10.2.0.1 rac發現sql查詢hang之gc cr requestOracleSQLGC
- 那些你眼熟的global cache等待事件是如何被觸發的(一)事件
- On AIX RAC中global cache cr rquest的的處理方法AI
- gc 等相關等待事件描述GC事件
- 【等待事件】library cache pin事件
- 等待事件之Row Cache Lock事件
- 等待事件--library cache pin事件
- LIBRARY CACHE LOCK 等待事件事件
- library cache pin 等待事件事件
- Cache Buffer Chain Latch等待事件AI事件
- FND_REQUEST.SUBMIT_REQUEST和 FND_CONCURRENT.WAIT_FOR_REQUESTMITAI
- [異常等待事件latch undo global data]分析事件
- gc current block pin time gc current block flush time 疑惑GCBloC
- latch:library cache lock等待事件事件
- cache buffer lru chain latch等待事件AI事件
- Request物件物件
- 關於FND_REQUEST.SUBMIT_REQUEST和 FND_CONCURRENT.WAIT_FOR_REQUESTMITAI
- request.getRequestURI 與request.getServletPath() 區別Servlet
- 解決library cache pin等待事件事件
- enq:Library cache lock/pin等待事件ENQ事件
- ORACLE等待事件latch: cache buffers chainsOracle事件AI
- 等待事件_cache_buffers_chains_latch事件AI
- 等待事件_cache_buffers_lru_chain_latch事件AI
- oracle 'row cache objects' 等待事件解釋OracleObject事件
- Git Fork Pull Request(PR)和Merge Request(MR)Git
- ABAP 辨析ON INPUT|REQUEST|CHAIN-INPUT|CHAIN-REQUESTAI
- Django中的request.GET和request.POSTDjango
- urllib.request.Request物件封裝請求物件封裝