행위

"Wait event"의 두 판 사이의 차이

DB CAFE

1번째 줄: 1번째 줄:
Wait Events
+
= Wait Events =
Wait events are statistics that are incremented by a server process/thread to indicate that it had to wait for an event to complete before being able to continue processing. Wait event data reveals various symptoms of problems that might be impacting performance, such as latch contention, buffer contention, and I/O contention.
+
Wait 이벤트는 처리를 계속하기 전에 이벤트가 완료 될 때까지 기다려야한다는 것을 나타 내기 위해 서버 프로세스 / 스레드에 의해 증가되는 통계입니다.
  
To enable easier high-level analysis of the wait events, the events are grouped into classes. The wait event classes include: Administrative, Application, Cluster, Commit, Concurrency, Configuration, Idle, Network, Other, Scheduler, System I/O, and User I/O.
+
Wait 이벤트 데이터는 래치 경합, 버퍼 경합 및 I/O 경합과 같이 성능에 영향을 줄 수있는 다양한 문제 증상을 보여줍니다.  
 +
Wait 이벤트를보다 쉽게 ​​고수준으로 분석 할 수 있도록 이벤트가 클래스로 그룹화됩니다.
 +
Wait 이벤트 클래스에는 Administrative, Application, Cluster, Commit, Concurrency, Configuration, Idle, Network, Other, Scheduler, System I/O, and User I/O가 포함됩니다.  
  
The wait classes are based on a common solution that usually applies to fixing a problem with the wait event. For example, exclusive TX locks are generally an application level issue and HW locks are generally a configuration issue.
+
Wait 클래스는 일반적으로 Wait 이벤트의 문제점을 수정하는 데 적용되는 공통 솔루션을 기반으로합니다.  
  
The following list includes common examples of the waits in some of the classes:
+
예를 들어 exclusive TX LOCK은 일반적으로 응용 프로그램 수준 문제이고 HW LOCK은 일반적으로 환경 문제입니다.
  
Application: locks waits caused by row level locking or explicit lock commands
+
다음 목록에는 일부 클래스의 대기에 대한 일반적인 예가 포함되어 있습니다.
  
Commit: waits for redo log write confirmation after a commit
+
APPLICATION : row level locking  또는 명시적 lock 명령으로 인한 잠금 대기
 +
COMMIT : 커밋 유휴 후 REDO LOG WRITE 확인
 +
IDLE : 세션이 비활성임을 나타내는 대기 이벤트, 클라이언트의 SQL * Net 메시지 같은
 +
NETWORK : 네트워크를 통해 데이터가 전송 될 때까지 WAIT
 +
USER I/O : 디스크에서 블록을 읽을 때까지 WAIT 인스턴스의 대기 이벤트 통계에는 백그라운드 및 포 그라운드 프로세스에 대한 통계가 포함됩니다.
  
Idle: wait events that signify the session is inactive, such as SQL*Net message from client
+
일반적으로 포 그라운드 활동 튜닝에 노력을 집중하기 때문에 튜닝을 용이하게하기 위해 전체 인스턴스 활동이 관련 V$VIEW에서 FORGROUND 및 백그라운드 통계로 분류됩니다.
  
Network: waits for data to be sent over the network
+
* V$SYSTEM_EVENT VIEW는 인스턴스의 FOREGROUND 활동에 대한 대기 이벤트 통계 및 인스턴스에 대한 대기 이벤트 통계를 전체적으로 제공합니다.
 +
* V$SYSTEM_WAIT_CLASS VIEW는 WAIT클래스로 집계 한 후 대기 이벤트 통계 (전경 및 인스턴스 통계)를 제공합니다.
 +
* V$SESSION_EVENT 및 V$ SYSTEM_WAIT_CLASS 뷰는 세션 레벨에서 대기 이벤트 및 대기 클래스 통계를 제공합니다.
  
User I/O: wait for blocks to be read off a disk
 
 
Wait event statistics for an instance include statistics for both background and foreground processes. Because you would typically focus your effort in tuning foreground activities, overall instance activity is broken down into foreground and background statistics in the relevant V$ views to facilitate tuning.
 
 
The V$SYSTEM_EVENT view provides wait event statistics for the foreground activities of an instance and the wait event statistics for the instance as a whole. The V$SYSTEM_WAIT_CLASS view provides these wait event statistics (foreground and instance statistics) after aggregating to wait classes.
 
 
The V$SESSION_EVENT and V$SYSTEM_WAIT_CLASS views provide wait event and wait class statistics at session level.
 
  
 
[[Category:oracle]]
 
[[Category:oracle]]

2020년 1월 18일 (토) 00:26 판

thumb_up 추천메뉴 바로가기


Wait Events[편집]

Wait 이벤트는 처리를 계속하기 전에 이벤트가 완료 될 때까지 기다려야한다는 것을 나타 내기 위해 서버 프로세스 / 스레드에 의해 증가되는 통계입니다.

Wait 이벤트 데이터는 래치 경합, 버퍼 경합 및 I/O 경합과 같이 성능에 영향을 줄 수있는 다양한 문제 증상을 보여줍니다. Wait 이벤트를보다 쉽게 ​​고수준으로 분석 할 수 있도록 이벤트가 클래스로 그룹화됩니다. Wait 이벤트 클래스에는 Administrative, Application, Cluster, Commit, Concurrency, Configuration, Idle, Network, Other, Scheduler, System I/O, and User I/O가 포함됩니다.

Wait 클래스는 일반적으로 Wait 이벤트의 문제점을 수정하는 데 적용되는 공통 솔루션을 기반으로합니다.

예를 들어 exclusive TX LOCK은 일반적으로 응용 프로그램 수준 문제이고 HW LOCK은 일반적으로 환경 문제입니다.

다음 목록에는 일부 클래스의 대기에 대한 일반적인 예가 포함되어 있습니다.

APPLICATION : row level locking 또는 명시적 lock 명령으로 인한 잠금 대기 COMMIT : 커밋 유휴 후 REDO LOG WRITE 확인 IDLE : 세션이 비활성임을 나타내는 대기 이벤트, 클라이언트의 SQL * Net 메시지 같은 NETWORK : 네트워크를 통해 데이터가 전송 될 때까지 WAIT USER I/O : 디스크에서 블록을 읽을 때까지 WAIT 인스턴스의 대기 이벤트 통계에는 백그라운드 및 포 그라운드 프로세스에 대한 통계가 포함됩니다.

일반적으로 포 그라운드 활동 튜닝에 노력을 집중하기 때문에 튜닝을 용이하게하기 위해 전체 인스턴스 활동이 관련 V$VIEW에서 FORGROUND 및 백그라운드 통계로 분류됩니다.

  • V$SYSTEM_EVENT VIEW는 인스턴스의 FOREGROUND 활동에 대한 대기 이벤트 통계 및 인스턴스에 대한 대기 이벤트 통계를 전체적으로 제공합니다.
  • V$SYSTEM_WAIT_CLASS VIEW는 WAIT클래스로 집계 한 후 대기 이벤트 통계 (전경 및 인스턴스 통계)를 제공합니다.
  • V$SESSION_EVENT 및 V$ SYSTEM_WAIT_CLASS 뷰는 세션 레벨에서 대기 이벤트 및 대기 클래스 통계를 제공합니다.