gp_transaction_log

gp_transaction_log视图包含特定Segment的本地事务的状态信息。 此视图允许用户查看本地事务的状态。

Table 1. pgcatalog.gp_transaction_log
类型参考描述
segment_idsmallintgp_segment configuration.content如果是Segment,则是内容ID。Master总为-1 (没有内容)。
dbidsmallintgpsegment configuration.dbidSegment实例的唯一ID。
transactionxid 本地事务的ID。
statustext 本地事务的状态(提交或者中止)。

Parent topic: 系统目录定义