V$SESSION.STATUS='ACTIVE'表示当前会话正在执行SQL语句。
WAIT_EVENT='Idle'表示服务器进程处于空闲等待状态。
Idle这类事件属于空闲等待类型,服务器进程没有工作可做,正在等待新的工作。通常情况,如果这类等待事件是瓶颈所在,那么瓶颈不在数据库资源上。当调整的时候,大多数空闲事件可以被忽略,因为这类等待时间不意味着传统的性能瓶颈。一些空闲事件能用于表示没有瓶颈,例如,这类型的事件通常会遇到空闲等待事件'SQL Net message from client',下表列出了空闲等待事件:
Idle Wait Events
| Wait Name | Background Process Idle Event | User Process Idle Event | Parallel Query Idle Event | Shared Server Idle Event | Oracle Real Application Clusters Idle Event |
|---|---|---|---|---|---|
|
dispatcher timer |
. |
. |
. |
X |
. |
|
pipe get |
. |
X |
. |
. |
. |
|
pmon timer |
X |
. |
. |
. |
. |
|
PX Idle Wait |
. |
. |
X |
. |
. |
|
PX Deq Credit: need buffer |
. |
. |
X |
. |
. |
|
rdbms ipc message |
X |
. |
. |
. |
. |
|
smon timer |
X |
. |
. |
. |
. |
|
SQL*Net message from client |
. |
X |
. |
. |
. |
|
virtual circuit status |
. |
. |
. |
X |
. |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23135684/viewspace-710459/ ,如需转载,请注明出处,否则将追究法律责任。