Oracle 视图 V$GES_ENQUEUE 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$GES_ENQUEUE可以用于查看系统正在保持的Global Enqueue Services(GES)锁信息。有时也可以使用它来调试GES锁相关问题或检查锁竞争状况。
要使用此视图,可以使用下面一条SQL语句:
SELECT * FROM V$GES_ENQUEUE;
这条语句将会显示系统中所有当前正在保持的GES锁信息,其中包括请求锁的实例ID,锁的类型,请求的模式,以及锁是否已被授予等内容。
官方英文解释
V$GES_ENQUEUE
describes all locks currently known to lock manager. This is an Oracle Real Application Clusters view.
See Also:
“V$GES_BLOCKING_ENQUEUE” for a description of all such locks that are currently blocking or being blocked
Column | Datatype | Description |
---|---|---|
|
|
Lock pointer |
|
|
Granted level of the lock |
|
|
Requested level of the lock |
|
|
Resource name for the lock |
|
|
Resource name for the lock |
|
|
Process identifier which holds the lock |
|
|
Lower 4 bytes of the transaction identifier to which the lock belongs |
|
|
Upper 4 bytes of the transaction identifier to which the lock belongs |
|
|
Group identifier for the lock |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Which queue the lock is currently located. |
|
|
State of the lock as the owner sees it |
|
|
Last AST event |
|
|
Node identifier |
|
|
|
|
|
|
|
|
The ID of the container to which the data pertains. Possible values include:
|