tencent cloud

TDSQL Boundless

ROUTE_CACHE_REPLICATION_GROUP

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-04-03 16:03:23

Function

ROUTE_CACHE_REPLICATION_GROUP view is used to query the routing cache information of the replication group (REPLICATION GROUP) cached by the current HyperNode, including details such as names and RPC addresses. This view displays only the local routing cache of the HyperNode to which the client is connected.

Field Description

Field Name
Type
Description
bucket
varchar(21)
The bucket label of the bucketed routing cache.
rep_group_id
bigint unsigned
The ID of the replication group.
rep_group_meta_version
bigint unsigned
The metadata version number of the replication group. This version number is incremented when the topology of the replication group changes, such as during split (Split) or merge (Merge) operations of the replication group, or during the creation, deletion, splitting, or merging of data shards (Regions) within the group.
Usage recommendations: This field is primarily used by the Tencent Cloud technical support team during in-depth troubleshooting. In daily Ops monitoring, you do not need to pay attention to the specific values of this field.
rep_group_member_version
bigint unsigned
The member version number of the replication group. This version number is incremented when the members of the replication group change (such as adding, removing, promoting, or demoting members).
Usage recommendations: This field is primarily used by the Tencent Cloud technical support team during in-depth troubleshooting. In daily Ops monitoring, you do not need to pay attention to the specific values of this field.
rep_group_key_range_version
bigint unsigned
The key range version number of the replication group. This version number is incremented when the replication group undergoes split or merge operations, or when data shards within the group are created or deleted.
Usage recommendations: This field is primarily used by the Tencent Cloud technical support team during in-depth troubleshooting. No special attention is required during daily Ops.
rep_group_key_range_shrink_version
bigint unsigned
The key range compaction version number of the replication group. This version number is incremented when the replication group undergoes split operations or when data shards within the group are deleted.
Usage recommendations: This field is primarily used by the Tencent Cloud technical support team during in-depth troubleshooting. No special attention is required during daily Ops.
data_space_type
varchar(4)
The data space type of the replication group. Options include
SYS: System data space.
USR: User data space.
node_id
bigint unsigned
The node ID where the replication group resides.
node_name
varchar(128)
The node name where the replication group resides.
node_rpc_addr
varchar(32)
The RPC address of the node where the replication group resides.

Examples

tdsql > SELECT * FROM INFORMATION_SCHEMA.ROUTE_CACHE_REPLICATION_GROUP\\G
*************************** 1. row ***************************
bucket: Global
rep_group_id: 768
rep_group_meta_version: 37
rep_group_member_version: 0
rep_group_key_range_version: 37
rep_group_key_range_shrink_version: 0
data_space_type: SYS
node_id: 1
node_name: node-******-1-001
node_rpc_addr: 10.10.10.10:9999
*************************** 2. row ***************************
bucket: 5
rep_group_id: 768
rep_group_meta_version: 37
rep_group_member_version: 0
rep_group_key_range_version: 37
rep_group_key_range_shrink_version: 0
data_space_type: SYS
node_id: 1
node_name: node-******-1-001
node_rpc_addr: 10.10.10.10:9999

Ajuda e Suporte

Esta página foi útil?

comentários