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
Shared mode에서 GDISPATCHER가 request를 enqueue하는 시간이다. Parameter: None
ENQUEUE: SHARED-SERVER RESPONSE
Shared mode에서 shared server가 request를 dequeue하는 시간이다. Parameter: None
DEQUEUE: SHARED-SERVER REQUEST
Shared mode에서 shared server가 request를 dequeue하는 시간이다. Parameter: None
DEQUEUE: GDISPATCHER RESPONSE
Shared mode에서 GDISPATCHER가 response를 dequeue하는 시간이다. Parameter: None
SEND: DEDICATE-SERVER SPOOLED RESPONSE
Dedicate mode에서 dedicate server가 spool 된 response를 client로 send하는 시간이다.
Parameter | Description |
|---|---|
send data size | Send 할 data byte |
SEND: DEDICATE-SERVER RESPONSE
Dedicate mode에서 dedicate server가 response를 client로 send하는 시간이다.
Parameter | 설명 |
|---|---|
send data size | Send 할 data byte |
RECV: DEDICATE-SERVER REQUEST
Dedicate mode에서 dedicate server가 client의 request를 receive하는 시간이다. Parameter: None
SEND: GDISPATCHER RESPONSE
Shared mode에서 GDISPATCHER가 response를 client로 send하는 시간이다.
Parameter | 설명 |
|---|---|
send data size | Send 할 data byte |
RECV: GDISPATCHER REQUEST
Shared mode에서 GDISPATCHER가 client의 request를 receive하는 시간이다. Parameter: None
ENQUEUE: CLUSTER REQUEST
Cluster의 request를 enqueue하는 시간이다. Parameter: None
ENQUEUE: CLUSTER BROADCAST REQUEST
Cluster의 broadcast request를 enqueue하는 시간이다. Parameter: None
DEQUEUE: CLUSTER RESPONSE
Cluster의 response를 dequeue하는 시간이다. Parameter: None
SEND: CDISPATCHER
Cluster CDISPATCHER에서 send하는 시간이다. Parameter: None
RECV: CDISPATCHER
Cluster CDISPATCHER에서 receive 하는 시간이다. Parameter: None
GMASTER: ARCHIVE LOG
gmaster에서 archive log를 처리하는 시간이다. Parameter: None
GMASTER: CHECKPOINT
gmaster에서 checkpoint를 처리하는 시간이다. Parameter: None
GMASTER: IO SLAVE
gmaster에서 IO slave를 처리하는 시간이다. Parameter: None
GMASTER: LOG FLUSH
gmaster에서 archive log를 처리하는 시간이다. Parameter: None
GMASTER: PAGE FLUSH
gmaster에서 page flush를 처리하는 시간이다. Parameter: None
WRITE: TRACE LOG
Trace log를 write하는 시간이다. Parameter: None
WRITE: COPY ARCHIVING LOG
Archiving log를 복사하는 시간이다. Parameter: None
WRITE: BACKUP CTRL FILE
Control file을 백업하는 시간이다. Parameter: None
WRITE: RESTORE CTRL FILE
Control file을 restore하는 시간이다. Parameter: None
READ: ARCHIVE LOG
Archive log file을 read하는 시간이다. Parameter: None
READ: CTRL FILE
Control file을 read하는 시간이다. Parameter: None
WRITE: LOG FILE
Log file을 write하는 시간이다. Parameter: None
WRITE: PAGE FILE
Page file을 write하는 시간이다. Parameter: None
WRITE: CTRL FILE
Control file을 write하는 시간이다. Parameter: None
WRITE: REMOVE DATA FILE
Data file을 삭제하는 시간이다. Parameter: None
WRITE: JOURNAL BUFFER
Journal buffer를 write하는 시간이다. Parameter: None
READ: JOURNAL BUFFER
Journal buffer를 read하는 시간이다. Parameter: None
WAIT TRANSACTION
Transaction을 wait하는 시간이다.
Parameter | 설명 |
|---|---|
wait transaction id | 기다릴 transaction id |
WAIT OTHER TRANSACTION
다른 transaction이 종료되기를 wait하는 시간이다.
Parameter | 설명 |
|---|---|
wait transaction id | 기다리는 transaction id |
target transaction id | 종료 대상 transaction id |
WAIT ENABLE LOGGING
Logging이 가능할 때까지 wait하는 시간이다. Parameter: None
WAIT LOG FLUSHER
Log flusher를 wait하는 시간이다.
Parameter | 설명 |
|---|---|
send data size | Send 할 data byte |
WAIT PAGE FLUSHER
Page flusher를 wait하는 시간이다.
Parameter | 설명 |
|---|---|
send data size | Send 할 data byte |
WAIT XA CONTEXT
XA context를 wait하는 시간이다. 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 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 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 TRANS
Allocate transaction 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: 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
Dict hash element 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
Dict hash related 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 handle 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
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 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
Attack shared 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: BACKUP TBS
Backup tablespacce 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: DATABASE COMPONENT
Database component 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
Backup database 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 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
Record 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: DEADLOCK
Deadlock 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 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 STREAM
Log stream 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
Build 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 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
Allocate 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 GLOBALX
Sequence global latch X를 기다리는 시간이다.
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 GLOBALY
Sequence global latch Y를 기다리는 시간이다.
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 |