MV_ BLOCKED_ QUERIES
On this page
This view shows which queries are waiting, and what they are waiting for.
Column name |
Description |
---|---|
|
ID of the node running the blocked query. |
|
ID of the blocked query. |
|
The text of the blocked query. |
|
ID of the node that is running the blocking query. |
|
ID of the blocking query. |
|
Information on the type of block. |
|
The text of the blocking query, or a description of the connection. |
Example mv_ blocked_ queries Results
NODE_ |
ID |
QUERY_ |
BLOCKING_ |
BLOCKING_ |
BLOCKING_ |
BLOCKING_ |
---|---|---|---|---|---|---|
1 |
42 |
insert into t values (1) |
1 |
17 |
user transaction |
open idle transaction |
Both id
and blocking_
refer to the id
from information_
.information_
with information_
to get more detail about the blocked or blocking process.
Once you know the query or connection responsible for blocking, you can use KILLALL QUERIES or KILL CONNECTION and KILL QUERY to unblock your process.
Last modified: September 9, 2023