Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
Usage specification recommendations
INFORMATION_SCHEMA.TDSTORE_LOCAL_METADATA_WRITE_FENCE is used to display the write fence information for each replication group in nodes.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.) |
tdsql3_sys_local@localhost [information_schema]> select * from TDSTORE_LOCAL_METADATA_WRITE_FENCE limit 3 \\G*************************** 1. row ***************************replication_group_id: 257schema_obj_id: 10001schema_obj_version: 3start_key: 0x00002711end_key: 0x00002712is_online_ddl: 0*************************** 2. row ***************************replication_group_id: 257schema_obj_id: 10002schema_obj_version: 1start_key: 0x00002712end_key: 0x00002713is_online_ddl: 0*************************** 3. row ***************************replication_group_id: 257schema_obj_id: 10003schema_obj_version: 1start_key: 0x00002713end_key: 0x00002714is_online_ddl: 0
피드백