Oracle 视图 V$SYSTEM_EVENT 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$SYSTEM_EVENT主要用于查看系统进行事件监控,它可显示对系统当前事件的总体状况,包括服务请求,等待资源,延迟重试以及相关事件的当前状态。
可以使用以下语句来查看V$SYSTEM_EVENT的视图:
SELECT * FROM V$SYSTEM_EVENT;
这个视图可以用来检查服务器的等待事件,并识别与系统性能相关的问题。如果某些等待事件的事件名消耗的时间很多,则可以代表服务器的瓶颈,此时应该采取措施来优化性能,以提高服务器的性能。
官方英文解释
V$SYSTEM_EVENT
displays information on total waits for an event. Note that the TIME_WAITED
and AVERAGE_WAIT
columns will contain a value of zero on those platforms that do not support a fast timing mechanism. If you are running on one of these platforms and you want this column to reflect true wait times, then you must set TIMED_STATISTICS
to TRUE
in the parameter file; doing this will have a small negative effect on system performance.
See Also:
“TIMED_STATISTICS”
Column | Datatype | Description |
---|---|---|
|
|
Name of the wait event; derived statistic name from See Also: “Oracle Wait Events” |
|
|
Total number of waits for the event |
|
|
Total number of timeouts for the event |
|
|
Total amount of time waited for the event (in hundredths of a second) |
|
|
Average amount of time waited for the event (in hundredths of a second) |
|
|
Total amount of time waited for the event (in microseconds) |
|
|
Total amount of CPU time consumed while implementing the wait event itself (in microseconds) |
|
|
Total number of waits for the event, from foreground sessions |
|
|
Total number of timeouts for the event, from foreground sessions |
|
|
Total amount of time waited for the event, from foreground sessions (in hundredths of a second) |
|
|
Average amount of time waited for the event, from foreground sessions (in hundredths of a second) |
|
|
Total amount of time waited for the event, from foreground sessions (in microseconds) |
|
|
Total amount of CPU time consumed while implementing the wait event itself, from foreground sessions (in microseconds) |
|
|
Identifier of the wait event |
|
|
Identifier of the wait class of the wait event |
|
|
Number of the wait class of the wait event |
|
|
Name of the wait class of the wait event |
|
|
The ID of the container to which the data pertains. Possible values include:
|
Note:
This view returns instance-wide data and a value of 0
in the CON_ID
column when queried from the root of a CDB.