TDSQL Boundless TDSTORE_LOCAL_METADATA_WRITE_FENCE

INFORMATION_SCHEMA.TDSTORE_LOCAL_METADATA_WRITE_FENCE用于展示节点各个 replication group 的 write fence 信息。

相关产品
TDSQL Boundless 产品页,含版本规格、价格与购买入口。

一、字段说明

字段名 类型 描述
replication_group_id bigint unsigned write fence 所在的 replication group 的 ID。
schema_obj_id int unsigned write fence 的 ID。
schema_obj_version int unsigned write fence 的 version。
start_key varchar(128) write fence 的 start key。
end_key varchar(128) write fence 的 end_key。
is_online_ddl bigint unsigned 是否为 online ddl 创建的 write fence。(目前该字段已被废弃)

二、示例

tdsql3_sys_local@localhost [information_schema]> select * from TDSTORE_LOCAL_METADATA_WRITE_FENCE limit 3 \\G*************************** 1. row ***************************replication_group_id: 257 schema_obj_id: 10001 schema_obj_version: 3 start_key: 0x00002711 end_key: 0x00002712 is_online_ddl: 0*************************** 2. row ***************************replication_group_id: 257 schema_obj_id: 10002 schema_obj_version: 1 start_key: 0x00002712 end_key: 0x00002713 is_online_ddl: 0*************************** 3. row ***************************replication_group_id: 257 schema_obj_id: 10003 schema_obj_version: 1 start_key: 0x00002713 end_key: 0x00002714 is_online_ddl: 0

赞 (0)
上一篇 4天前
下一篇 4天前