tencent cloud

TDSQL Boundless

META_CLUSTER_NODES

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-02-10 11:06:29

Function

INFORMATION_SCHEMA.META_CLUSTER_NODES displays metadata of nodes within the instance.

Field Description

Field Name
Type
Description
node_id
bigint unsigned
Node ID.
node_name
varchar(64)
Node Name.
conn_id
int unsigned
ID of the Node Connection.
rpc_addr
varchar(64)
RPC Address.
sql_addr
varchar(64)
SQL Address.
node_term
bigint unsigned
Node Term.
node_version
varchar(64)
Version Number of the Node
node_state
varchar(64)
Node status.
capacity
bigint unsigned
Node capacity.
available
bigint unsigned
Available amount of the node.
leader_count
int
Number of Leader Nodes.
learner_count
int
Number of Learner Nodes.
rep_group_count
int
Number of Node RGs.
leader_size
bigint
Space Used by Leader-Type Replicas.
learner_size
bigint
Space Used by Learner-Type Replicas.
rep_group_size
bigint
Space Used by All Types of Replicas.
last_report_time
varchar(64)
Last reported time of TDStore heartbeat on the node.
global_earliest_snapshot
bigint unsigned
Earliest time of global snapshot.
local_earliest_snapshot
bigint unsigned
Earliest time of TDStore snapshot on this node.
engine_local_earliest_snapshot
bigint unsigned
Earliest time of SQLEngine snapshot on this node.
engine_last_report_time
varchar(64)
Last reported time of SQLEngine heartbeat on the node.
leader_weight
double
Leader Weight.
replica_weight
double
Replica Weight.
node_labels
longblob
Node Tag.

Examples

tdsql>select * from information_schema.meta_cluster_nodes limit 1\\G
*************************** 1. row ***************************
node_id: 1
node_name: node-tdsql3-86ea1ffe-001
conn_id: 1
rpc_addr: 10.0.36.9:6005
sql_addr: 10.0.36.9:6008
node_term: 28924771945152603
node_version: sqlengine-18.1.0
node_state: NODE_STATE_UP
capacity: 21474836480
available: 8415584256
leader_count: 0
learner_count: 0
rep_group_count: 2
leader_size: 0
learner_size: 0
rep_group_size: 9730233
last_report_time: 2024-08-19 17:10:46.312314
global_earliest_snapshot: 28924903780515894
local_earliest_snapshot: 28924904048951464
engine_local_earliest_snapshot: 28924904048951460
engine_last_report_time: 2024-08-19 17:10:45.042880
leader_weight: 1
replica_weight: 1
node_labels: key: "tdsql-migrate-node-task-dst-node"
1 row in set (0.01 sec)

Ajuda e Suporte

Esta página foi útil?

comentários