tencent cloud

TDSQL Boundless

TDSTORE_LOCAL_METADATA_WRITE_FENCE

PDF
Focus Mode
Font Size
Last updated: 2026-02-10 11:06:32

Function

INFORMATION_SCHEMA.TDSTORE_LOCAL_METADATA_WRITE_FENCE is used to display the write fence information for each replication group in nodes.

Field Description

Field Name
Type
Description
replication_group_id
bigint unsigned
ID of the replication group for the write fence.
schema_obj_id
int unsigned
ID of the write fence.
schema_obj_version
int unsigned
version of the write fence.
start_key
varchar(128)
start key of the write fence.
end_key
varchar(128)
end_key of the write fence.
is_online_ddl
bigint unsigned
Whether it is a write fence created for online ddl. (This field is currently deprecated.)

Examples

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

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback