Wait Event
Wait event와 관련된 performance view는 다음과 같다.
v$system_event V$SYSTEM_EVENT
v$session_event V$SESSION_EVENT
v$session_wait V$SESSION_WAIT
v$wait_event_name V$WAIT_EVENT_NAME
v$wait_event_class_name V$WAIT_EVENT_CLASS_NAME
Wait Event의 Class
Administrative: Waits resulting from DBA commands that cause users to wait (for example, an index rebuild)
Application: Waits resulting from user application code (for example, lock waits caused by row level locking or explicit lock commands)
Cluster: Waits related to cluster resources (for example, global cache resources )
Commit: This wait class only comprises one wait event - wait for redo log write confirmation after a commit (that is, 'log file sync')
Concurrency: Waits for internal database resources (for example, latches)
Configuration: Waits caused by inadequate configuration of database or instance resources (for example, undersized log file sizes, shared pool size)
Idle: Waits that signify the session is inactive, waiting for work (for example, 'gsql message from client')
Network: Waits related to network messaging
Other: Waits which should not typically occur on a system
Scheduler: Resource manager related waits
System IO: Waits for background process IO
User IO: Waits for user IO
Wait Event 항목
ENQUEUE: GDISPATCHER REQUEST
GDISPATCHER가 shared server에게 request를 보낼 때 queue에서 대기하는 시간이다. Parameter: None
ENQUEUE: SHARED-SERVER RESPONSE
Shared server가 GDISPATCHER에게 response를 보낼 때 queue에서 대기하는 시간이다. Parameter: None
DEQUEUE: SHARED-SERVER REQUEST
Shared server가 GDISPATCHER로부터 request를 받을 때 queue에서 대기하는 시간이다. Parameter: None
DEQUEUE: GDISPATCHER RESPONSE
GDISPATCHER가 shared server로부터 response를 받을 때 queue에서 대기하는 시간이다. Parameter: None
SEND: DEDICATE-SERVER SPOOLED RESPONSE
Dedicate server가 spool 된 response를 client로 보낼 때 socket 또는 ipc에서 대기하는 시간이다.
Parameter | Description |
|---|---|
send data size | Send 할 data byte |
SEND: DEDICATE-SERVER RESPONSE
Dedicate server가 response를 client로 보낼 때 socket 또는 ipc에서 대기하는 시간이다.
Parameter | 설명 |
|---|---|
send data size | Send 할 data byte |
RECV: DEDICATE-SERVER REQUEST
Dedicate server가 client로부터 request를 받을 때 socket 또는 ipc에서 대기하는 시간이다. Parameter: None
SEND: GDISPATCHER RESPONSE
GDISPATCHER가 client로 response를 보낼 때 socket에서 대기하는 시간이다.
Parameter | 설명 |
|---|---|
send data size | Send 할 data byte |
RECV: GDISPATCHER REQUEST
GDISPATCHER가 client로부터 request를 받을 때 socket에서 대기하는 시간이다. Parameter: None
ENQUEUE: CLUSTER REQUEST
Cluster에서 원격으로 request를 보낼 때 queue에서 대기하는 시간이다. Parameter: None
ENQUEUE: CLUSTER BROADCAST REQUEST
Cluster에서 원격으로 broadcast request를 보낼 때 queue에서 대기하는 시간이다. Parameter: None
DEQUEUE: CLUSTER RESPONSE
Cluster에서 원격으로부터 response를 받을 때 queue에서 대기하는 시간이다. Parameter: None
SEND: CDISPATCHER
CDISPATCHER가 원격으로 메시지를 보낼 때 socket에서 대기하는 시간이다. Parameter: None
RECV: CDISPATCHER
CDISPATCHER가 원격으로 메시지를 받을 때 socket에서 대기하는 시간이다. Parameter: None
WAIT TRANSACTION
특정 transaction이 종료하기를 기다리는 시간이다.
Parameter | 설명 |
|---|---|
wait transaction id | 기다릴 transaction id |
WAIT OTHER TRANSACTION
다른 transaction이 lock 되어 있는 동안 기다리는 시간이다. 예를 들어 A 트랜잭션이 B 트랜잭션의 종료를 기다릴 경우, A의 대기 시간을 의미한다.
Parameter | 설명 |
|---|---|
wait transaction id | 기다리는 transaction id |
target transaction id | 종료 대상 transaction id |
WAIT ENABLE LOGGING
Logging을 허용할 때까지 기다리는 시간이다. Parameter: None
WAIT LOG FLUSHER
Log flusher가 log를 디스크에 기록할 때까지 세션이 대기하는 시간이다.
Parameter | 설명 |
|---|---|
send data size | Send 할 data byte |
WAIT XA CONTEXT
XA context를 다른 세션에서 사용 중일 때 세션이 대기하는 시간이다. Parameter: None
LATCH: LOG BUFFER
Log buffer의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: PROCESS MANAGER
Process manager의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: ENV MGR
Env manager의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: SESSION ENV MGR
Session env manager의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: PCH
Page Control Header (PCH)의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: PAGE
Page layer의 latch를 획득하기 위해서 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: PENDING LOG
Pending log buffer에 log를 기록하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: ALLOC TRANS
Transaction slot을 할당하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: UNDO SEGMENT
Undo segment의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: CLUSTER LOCATION
Cluster location의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: DICT HASH ELEMENT AGING
삭제된 dictionary cache를 aging 할 때 latch에 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: DICT HASH RELATED AGING
삭제된 related dictionary cache를 aging 할 때 latch에 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: FILE MANAGER
File manager의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: TRACE LOG
Trace log의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: STATIC HASH
Static hash의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: STATIC HASH BUCKET
Static hash의 bucket latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: SQL HANDLE
SQL cache manager의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: XA CONTEXT HASH
Xa context hash의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: PLAN CLOCK
SQL plan의 clock latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: XA CONTEXT
XA context의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: MEM CONTROLLER
Memory controller의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: DYNAMIC MEM
Dynamic memory의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: PROPERTY
Property manager의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: ATTACH SHM
Shared memory segment의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: BACKUP TBS
Tablespace backup manager의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: DATAFILE COMPONENT
Datafile manager의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: TABLESPACE
Tablespace의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: BACKUP DATABASE
Database backup manager의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: JOURNAL BUFFER
Journal buffer manager의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: JOURNAL BUFFER ENTRY
Journal buffer entry의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: JOURNAL WRITE BUFFER
Journal write buffer의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: LOCK ITEM
Lock item의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: RECORD HASH
Lock record hash의 bucket latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: SEQUENCE
Sequence object의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: LOG FILE
Redo logfile의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: BUILD AGABLE SCN
Agable scn 구축을 위한 latch에 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: TRANSACTION TABLE
Transaction table의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: SESSION LINK HASH
Session link hash의 bucket latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: ALLOC XA CONTEXT
XA context를 할당하기 위해 latch에 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: SEQUENCE GLOBAL_X
Global sequence의 X latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: SEQUENCE GLOBAL_Y
Global sequence의 Y latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: TRANSACTION LOG FILE
Transaction logfile의 latch를 획득하기 위해 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
ASYNC RESPONSE
원격 노드로부터 비동기 명령어에 대한 응답을 기다리는 시간이다. Parameter: None
ASYNC TRANSACTION
원격 노드로부터 비동기 COMMIT 명령에 대한 응답을 기다리는 시간이다. Parameter: None
LATCH: DISK BUFFER HASH BUCKET
Disk buffer cache를 위한 hash의 bucket latch에 대기하는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
WRITE: CHANGE TRACKING FILE
Change tracking file의 latch를 획득하기 위해 대기하는 시간이다. Parameter: None
WAIT FREE BUFFER
Clean 상태의 disk buffer를 찾을 때까지 대기하는 시간이다. Parameter: None
GLOBAL SEQUENCE: LOCK AND QUERY
Global sequence 동기화에 대한 latch를 기다리는 시간이다. Parameter: None
GLOBAL SEQUENCE: SYNC
Global sequence 동기화가 완료될 때까지 대기하는 시간이다. Parameter: None
LATCH: SEQUENCE GLOBAL NEXT
Sequence nextval에 대한 latch를 기다리는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
LATCH: BUFFER LRU LIST
Disk buffer의 LRU list에 대한 latch를 기다리는 시간이다.
Parameter | 설명 |
|---|---|
address | The address of the latch for which the process is waiting |
tries | A count of the number of times the process tried to get the latch |
WAIT DIRTY PAGE LIMIT
Disk buffer의 dirty page 수가 BUFFER_DIRTY_PAGE_LIMIT 프로퍼티보다 작아질 때까지 대기하는 시간이다. Parameter: None
WAIT BUFFER READ COMPLETE
Disk read 중인 disk buffer page에 접근할 때 read가 완료될 때까지 대기하는 시간이다. Parameter: None
WAIT ENV EVENT
Env event가 종료되기를 기다리는 시간이다.
Parameter | 설명 |
|---|---|
event id | Event 아이디 |
WAIT FREE APPEND EXTENT
Append insert를 위해 할당 받은 extent가 buffer에서 free 되기를 기다리는 시간이다. Parameter: None