跳转至

sc_distributed_log

sc_distributed_log

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

类型 参考 描述
sc_dbindex_id smallint sc_node_configuration.content 如果是Executor,则是其内容ID。Coordinator总是为-1(无内容)。
dbid smallint sc_node_configuration.dbid Executor实例的唯一ID。
distributed_xid xid 全局事务ID。
status text 分布式事务的状态(提交或者中止)。
local_transaction xid 本地事务ID。

Table 1. pg_catalog.sc_distributed_log