gp_distributed_log

gp_distributed_log视图包含有关分布式事务及其关联的本地事务的状态信息。分布式事务是涉及修改Segment实例上数据的事务。Greenplum的分布式事务管理器确保了这些Segment保持同步。 此视图允许用户查看分布式事务的状态。

表 1. pg_catalog.gp_distributed_log

类型 引用 描述
segment_id smallint gp_segment_ configuration.content 如果是Segment,则是其内容ID。Master总是为-1(无内容)。
dbid small_int gp_segment_ configuration.dbid Segment实例的唯一ID。
distributed_xid xid 全局事务ID。
distributed_id text 分布式事务的系统分配ID。
status text 分布式事务的状态(提交或者中止)。
local_transaction xid 本地事务ID。

上级主题: 系统目录定义

当前内容版权归GreenPlum和翻译组所有,若有侵权请联系删除下架 修订时间: 2024-09-15 21:48:05

results matching ""

    No results matching ""