返回首页

gbase数据、南大通用产品文档:GBase8cPG_RUNNING_XACTS

更新日期:2024年09月11日

PG_RUNNING_XACTS 视图主要功能是显示当前节点运行事务的信息。
名称
类型
描述
handle
integer
事务对应的事务管理器中的槽位句柄,该值恒为-1。
gxid
xid
事务id 号。
state
tinyint
事务状态(3:prepared 或者0:starting)。
node
text
节点名称。
xmin
xid
节点上当前数据涉及的最小事务号xmin。
vacuum
Boolean
标志当前事务是否是lazy vacuum 事务。
t(true):表示是。
f(false):表示否。
timeline
bigint
标志数据库重启次数。
prepare_xid
xid
处于prepared 状态的事务的id 号,若不在prepared 状

GBase 8c V5 开发者手册
南大通用数据技术股份有限公司
883
名称
类型
描述
态,值为0。
pid
bigint
事务对应的线程id。
next_xid
xid
其余节点发送给当前节点的事务id,该值恒为0。

GBase 8s 产品符合各种标准。
基于 SQL 的 GBase 8s 产品完全兼容 SQL-92 入门级(发布为 ANSI X3.135-1992),这
与 ISO 9075:1992 完全相同。
另外,
GBase 8s 数据库服务器的许多功能都遵守 SQL-92 中
级和完全级别以及 X/Open SQL 公共应用程序环境 (CAE) 标准。

本示例中,导出数据文件为oracle 的文本格式时,设定数据中的空值为'\\N'。
$ ./db2to8a -D'test' -u'db2inst1' -p'db2inst1' -q"select * from t1"
-m'3' -e'|$|'
-n'\\N'
-f'data1.txt'
you machine is Little endian!
Connecting to test...
Connected to test.
--- unload [text file] mode ---
--- field="|$|" ---
0 rows exported at 2013-08-30 13:15:32
6 rows exported at 2013-08-30 13:15:32

GBase 8a MPP Cluster 产品手册
4 管理员指南
文档版本953(2022-04-10)
南大通用数据技术股份有限公司
576
output file t11.dat10 closed
export:
6 rows.
export:
4 columns.
export time: