当前位置:网站首页>GBase 8c 事务ID和快照(一)
GBase 8c 事务ID和快照(一)
2022-07-27 23:56:00 【大壮十二】
内部事务ID类型(xid)是64位。这些函数使用的数据类型txid_snapshot,存储在特定时刻事务ID可见性的信息。其组件描述在表1。
表1 快照组件
名称 | 描述 |
xmin | 最早的事务ID(txid)仍然活动。所有较早事务将是已经提交可见的,或者是直接回滚。 |
xmax | 作为尚未分配的txid。所有大于或等于此txids的都是尚未开始的快照时间,因此不可见。 |
xip_list | 当前快照中活动的txids。这个列表只包含在xmin和xmax之间活动的txids;有可能活动的txids高于xmax。介于大于等于xmin、小于xmax,并且不在这个列表中的txid,在这个时间快照已经完成的,因此按照提交状态查看他是可见还是回滚。这个列表不包含子事务的txids。 |
txid_snapshot的文本表示为:xmin:xmax:xip_list。
示例:10:20:10,14,15意思为:xmin=10, xmax=20, xip_list=10, 14, 15。
边栏推荐
猜你喜欢

Can anime characters become "real people"? Paddegan helps you find the TA of "tear man"

BGP联邦实验

Zhi Huijun, Huawei's "genius youth", has made a new work, building a "customized" smart keyboard from scratch

N32L43x Flash读\写\擦除操作总结

Can ordinary equipment access TSN time sensitive network?

Article reproduction: super resolution network fsrcnn

Leetcode 2351. the first letter that appears twice

Real time synchronization and conversion of massive data based on Flink CDC

Introduction to QT drawing system

小散量化炒股记|量化系统中数据是源头,教你搭建一款普适的数据源框架
随机推荐
登录功能实现
qt 设置图标
小散量化炒股记|量化系统中数据是源头,教你搭建一款普适的数据源框架
阿门的故事
Realize OCR language recognition demo (II) - display and interaction of pictures and recognition content
现货白银如何计算盈亏
面试题 01.07. 旋转矩阵
路由策略简介
嵌入式经典通信协议
Login function implementation
Storage practices for high-performance computing scenarios, see here
Software test interview question: how to find problems related to the database?
How tormenting are weekly and monthly reports? Universal report template recommended collection! (template attached)
LeetCode 2341. 数组能形成多少数对
Docker builds MySQL master-slave locally
画刷和画笔
内容bypass分享
Software test interview question: what are the performance test indicators?
基于 Flink CDC 实现海量数据的实时同步和转换
GBase 8c 事务ID和快照(五)