tencent cloud

TDSQL Boundless

TDSTORE_LOCAL_METADATA_DESTROY_REPLICA

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

Function

INFORMATION_SCHEMA.TDSTORE_LOCAL_METADATA_DESTROY_REPLICA is used to record information about ongoing physical data deletion. When physical data deletion is triggered (including deletion of replicas, replication groups, or key range regions), corresponding records are written into the table. Upon completion of data deletion, these records are removed from the table.

Field Description

Field Name
Type
Description
REPLICATION_GROUP_ID
BIGINT UNSIGNED
The ID of the replication group to which the deleted data belongs.
JOB_ID
BIGINT UNSIGNED
job ID for performing the deletion operation.
CLEAN_TASK_TYPE
INT
The job type for performing deletion operations. Possible values include:
0: Indicates deletion of a replication group.
1: Indicates deletion of a region of key range.
DATA_SPACE_TYPE
INT
type of data space. Possible values include:
1: Indicates a data space of the system.
2: Indicates a data space of the user.
META_VERSION
BIGINT
version of the replication group metadata.
MEMBER_VERSION
BIGINT
version of the raft group membership change in the replication group.
DATA_REGION_RAFT_LOG_INDEX
BIGINT
The raft log index of the replication group during deletion execution.
REGION_LIST
VARCHAR(1024)
The list of deleted regions.
TABLE_ID_LIST
VARCHAR(1024)
The list of data object IDs involved in deletion.

Examples

tdsql3_sys_local@localhost [information_schema]> select * from TDSTORE_LOCAL_METADATA_DESTROY_REPLICA \\G
*************************** 1. row ***************************
replication_group_id: 257
job_id: 1507
clean_task_type: 1
data_space_type: 2
meta_version: 0
member_version: 0
data_region_raft_log_index: 6203
region_list: regions { rep_group_id: 257 region_id: 1503 start_key: "\\000\\000\\'/" end_key: "\\000\\000\\'0" data_space_type: DATA_SPACE_TYPE_USER }
table_id_list:

Help and Support

Was this page helpful?

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

Feedback