Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
INFORMATION_SCHEMA.META_CLUSTER_NODES displays metadata of nodes within the instance.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. |
tdsql>select * from information_schema.meta_cluster_nodes limit 1\\G*************************** 1. row ***************************node_id: 1node_name: node-tdsql3-86ea1ffe-001conn_id: 1rpc_addr: 10.0.36.9:6005sql_addr: 10.0.36.9:6008node_term: 28924771945152603node_version: sqlengine-18.1.0node_state: NODE_STATE_UPcapacity: 21474836480available: 8415584256leader_count: 0learner_count: 0rep_group_count: 2leader_size: 0learner_size: 0rep_group_size: 9730233last_report_time: 2024-08-19 17:10:46.312314global_earliest_snapshot: 28924903780515894local_earliest_snapshot: 28924904048951464engine_local_earliest_snapshot: 28924904048951460engine_last_report_time: 2024-08-19 17:10:45.042880leader_weight: 1replica_weight: 1node_labels: key: "tdsql-migrate-node-task-dst-node"1 row in set (0.01 sec)
피드백