第5章 系统目录参考-gp_distributed_log和gp_distributed_xacts
来源:互联网 发布:软件license开发 编辑:程序博客网 时间:2024/06/12 21:00
gp_distributed_log
The gp_distributed_iog view contains status information aboutdistributed transactions and their associated local transactions. A distributedtransaction is a transaction that involves modifying data on the segmentinstances. Greenplum's distributed transaction manager ensures that thesegments stay in synch. This view allows you to see the status of distributedtransactions.
gp_distributed_log视图包含有关分布式事务及其关联的本地事务的状态信息。 分布式事务是涉及修改段实例的数据的事务。 Greenplum的分布式事务管理器确保分段保持同步。 此视图允许您查看分布式事务的状态。
Table 12: pg_catalog.gp_distributed_log
column
type
references
描述
segment id
smallint
gp_segment_configuration.content
如果是segment则就是内容的ID,如果是master则ID是-1
(无任何内容).
dbid
small_int
gp_segment_configuration.dbid
段示例的唯一ID
distributed_xid
xid
全局事务ID
distributed_id
text
为分布式事务分配的系统ID
status
text
分布式事务的状态(已提交或已中止)。
local transaction
xid
本地事务ID。
gp_distributed_xacts
The gp_distributed_xactsview containsinformation about Greenplum Database distributed transactions. A distributedtransaction is a transaction that involves modifying data on the segmentinstances. Greenplum's distributed transaction manager ensures that thesegments stay in synch. This view allows you to see the currently activesessions and their associated distributed transactions.
gp_distributed_xacts视图包含有关Greenplum数据库分布式事务的信息。 分布式事务是涉及修改段实例的数据的事务。 Greenplum的分布式事务管理器确保分段保持同步。 该视图允许您查看当前活动的会话及其关联的分布式事务。
Table 13: pg_catalog.gp_distributed_xacts
column
type
references
描述
distributed_xid
xid
Greenplum数据库阵列中分布式事务使用的事务ID。
distributed_id
text
分布式事务标识符。 它有2个部分 - 唯一的时间戳和分布式事务处理号码。
state
text
本次会话关于分布式事务的现状。
gp session id
int
与此事务关联的Greenplum数据库会话的ID号。
xmin distributed snapshot
xid
在此事务开始时,在所有正在执行的事务中找到的最小分布式事务号码。 它用于MVCC分布式快照目的。
- 第5章 系统目录参考-gp_distributed_log和gp_distributed_xacts
- 第5章 系统目录参考-gp_configuration_history
- 第5章 系统目录参考-gp_distribution_policy
- 第5章 系统目录参考-gp_fastsequence
- Microsoft API 和参考目录
- Microsoft API 和参考目录
- Linux系统架构与目录解析读书笔记_第5至第6章
- APUE 第4章 文件和目录
- 第4章:文件和目录
- 第4章 文件和目录
- apue 第4章 文件和目录
- 第5章 Spring 4.0增强和新功能 III -- Spring4.3.8参考文档中文版
- Java2 参考大全:第10章 异常处理 (5)
- Linux系统架构与目录解析读书笔记_第1至第4章
- Python3.5标准库中文版目录参考
- 第5章 目录配置规范
- 第4章目录
- 获取系统目录和Windows目录
- 蒟蒻的NOIP2017游记
- hdu u Calculate e
- POJ 2253 最小生成树的变形
- 部署 LAMP
- HUD-4925-Apple Tree
- 第5章 系统目录参考-gp_distributed_log和gp_distributed_xacts
- java笔记之类和类之间的关系
- Swif-UIButton
- sqlserver的timestamp在类型转换y杜鳌这个问的一些小问题
- 栈的应用之括号的匹配
- [LeetCode] Second Minimum Node In a Binary Tree
- 【最优化】黄金分割法与Fibonacci法
- 优先队列之堆排序((二)升级版)
- android 开发入门书籍推荐