PG_RUNNING_XACTS
PG_RUNNING_XACTS displays information about running transactions on the current node.
Name |
Type |
Description |
---|---|---|
handle |
integer |
Handle corresponding to the transaction in GTM. |
gxid |
xid |
Transaction ID. |
state |
tinyint |
Transaction status.
|
node |
text |
Node name. |
xmin |
xid |
Minimum transaction ID on the node. |
vacuum |
Boolean |
Specifies whether the current transaction is lazy vacuum.
|
timeline |
bigint |
Number of database restarts. |
prepare_xid |
xid |
ID of the transaction in the prepared state; otherwise, the value is 0. |
pid |
bigint |
Thread ID corresponding to the transaction. |
next_xid |
xid |
Minimum CSN of a local active transaction. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.