tencent cloud

TDSQL Boundless

Release Notes
Product Introduction
Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
Kernel Features
Kernel Overview
Kernel Version Release Notes
Functionality Features
Performance Features
Billing
Billing Overview
Purchase Method
Pricing Details
Renewal
Overdue Payments
Refund
Getting Started
Creating an Instance
Connect to Instances
User Guide
Data Migration
Data Subscription
Instance Management
Configuration Change
Parameter Configuration
Account Management
Security Group
Backup and Restoration
Database Auditing
Tag Management
Use Cases
Technical Evolution and Usage Practices of Online DDL
Lock Mechanism Analysis and Troubleshooting Practices
Data Intelligent Scheduling and Related Practices for Performance Optimization
TDSQL Boundless Selection Guide and Practical Tutorial
Developer Guide
Developer Guide (MySQL Compatibility Mode)
Developer Guide (HBase Compatibility Mode)
Performance Tuning
Performance Tuning Overview
SQL Tuning
DDL Tuning
Performance White Paper
Performance Overview
TPC-C Test
Sysbench Test
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Security Group APIs
Task APIs
Backup APIs
Rollback APIs
Parameter APIs
Database APIs
Data Types
Error Codes
General Reference
System Architecture
SQL Reference
Database Parameter Description
TPC-H benchmark data model reference
Error Code Information
Security and Compliance
FAQs
Agreements
Service Level Agreement
Terms of Service
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

META_CLUSTER_NODES

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 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)

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백