Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
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: