wait과 wait이 발생하는 이유를 통하여 세션과 프로세스 정보를 제공하여 Wait Events를 수집한다.
다양한 이벤트는 V$EVENT_NAME 뷰를 통하여 조회할 수 있다.
System Statistics
예
Displaying Systemwide Statistics 1
SELECT name, class,VALUEFROM v$sysstat;
Displaying Systemwide Statistics 2
SELECT*FROM V$SYSTEM_WAIT_CLASS WHERE wait_class LIKE'%I/O%';
SGA Global Statistics
SELECT*FROM v$sgastat;
Displaying Session-Related Statistics
Troubleshooting and Tuning Views
Statistics Collection
통계정보 종류
Optimizer statistics
System statistics
통계수집 방법
– Automatically through GATHER_STATS_JOB
– Manually with the DBMS_STATS package
– By setting database initialization parameters
– Importing statistics from another database