Oracle 视图 V$SESSION_BLOCKERS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$SESSION_BLOCKERS含有当前会话的所有阻塞信息。它显示当前正阻塞此会话的其他会话及对象,和此会话已经被其他会话阻塞的信息。通过它可以了解当前特定的锁定状态。使用此视图,可以检视Oracle实例中,正处于锁定和等待状态的会话。
V$SESSION_BLOCKERS用于监控和检测阻塞。它能准确报告当前实例中由于资源竞争所引发的哪些数据库会话是被阻塞的,也可以对导致阻塞的会话进行排错。
使用此视图有两种方法:
(1)将它用于锁定和冲突解决,用于识别和解决冲突。
(2)将它用于检查正在阻塞多少会话的情况,当系统响应缓慢或用户反应时可以从中找到原因。
官方英文解释
V$SESSION_BLOCKERS
displays the blocker sessions for each blocked session. Each row represents a blocked and blocker session pair. If a session is blocked by multiple sessions there will be multiple rows for that blocked session. The maximum number of blocker sessions displayed for a single blocked session is 30. If a session is not blocked by other sessions, then there will be no row in this view for that session.
Column | Datatype | Description |
---|---|---|
|
|
Blocked session’s Oracle session identifier |
|
|
Blocked session’s Oracle session serial number |
|
|
A number identifying the wait for the blocked session |
|
|
Resource or event number for which the blocked session is waiting |
|
|
Resource or event for which the blocked session is waiting |
|
|
Blocker session’s instance identifier |
|
|
Blocker session’s Oracle session identifier |
|
|
Blocker session’s Oracle session serial number |
|
|
The ID of the container to which the data pertains. Possible values include:
|