Skip to content

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. WarehousePG'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.
distributed_idtextA system assigned ID for a distributed transaction.
statustextThe status of the distributed transaction (Committed or Aborted).
local_transactionxidThe local transaction ID.

Parent topic: System Catalogs Definitions