Skip to main content
Version: 2.x

gp_distributed_log

The gp_distributed_log view contains status information about distributed transactions and their associated local transactions. A distributed transaction is a transaction that involves modifying data on the segment instances. Apache Cloudberry's distributed transaction manager ensures that the segments stay in synch. This view allows you to see the status of distributed transactions.

columntypereferencesdescription
segment_idsmallintgp_segment_configuration.contentThe content id of the segment. The coordinator is always -1 (no content).
dbidsmallintgp_segment_configuration.dbidThe unique id of the segment instance.
distributed_xidxidThe global transaction id.
statustextThe status of the distributed transaction (Committed or Aborted).
local_transactionxidThe local transaction ID.