sc_transaction_log
sc_transaction_log¶
sc_transaction_log
视图包含特定Executor的本地事务的状态信息。 此视图允许用户查看本地事务的状态。
列 | 类型 | 参考 | 描述 |
---|---|---|---|
sc_dbindex_id |
smallint | sc_node_configuration.content | 如果是Executor,则是内容ID。Coordinator总为-1 (没有内容)。 |
dbid |
smallint | sc_node_configuration.dbid | Executor实例的唯一ID。 |
transaction |
xid | 本地事务的ID。 | |
status |
text | 本地事务的状态(提交或者中止)。 |
Table 1. pg_catalog.sc_transaction_log