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

LOGSERVICE_PROCESSLIST

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-02-10 11:06:28

Function

INFORMATION_SCHEMA.LOGSERVICE_PROCESSLIST displays the replay progress per RG in log replay.

Field Description

Field Name
Type
Description
sid
bigint unsigned
Unique ID of the log service.
rep_group_id
bigint unsigned
ID of RG.
raft_log_index
bigint
The current index of the synchronized Raft log.
state
varchar(64)
Current status of RG synchronization.
is_unhealthy
smallint
Whether the current synchronization status is healthy.
min_commit_ts_not_send
bigint unsigned
The smallest commit_ts of the unreplayed log.
leader_ts
varchar(64)
Current timestamp of the RG leader.
last_index_in_checkpoint
bigint unsigned
The index of the last replayed log.
next_index_in_checkpoint
bigint unsigned
The index of the next log to be replayed.
unconsumed_count_in_checkpoint
bigint unsigned
The number of unreplayed logs.
backup_start_index
bigint
Obtain the starting index of the backup logs.
backup_end_index
bigint
Obtain the ending index of the backup logs.
backuped_index
bigint
The index of the backed-up logs.
last_leader_change_ts
varchar(64)
The last change time of the RG leader.
err_msg
longtext
Error messages during RG replay.

Examples

tdsql>select * from LOGSERVICE_PROCESSLIST\\G
*************************** 1. row ***************************
sid: 29057889255555076
rep_group_id: 256
raft_log_index: 797509
state: WaitRaftLog
is_unhealthy: 0
commit_ts_barrier: 29057889222000822
min_commit_ts_not_send: NULL
leader_ts: 2024-11-19 10:59:34
last_index_in_checkpoint: 797509
next_index_in_checkpoint: NULL
unconsumed_count_in_checkpoint: 0
backup_start_index: 0
backup_end_index: 0
backuped_index: 0
last_leader_change_ts: 2024-11-19 10:59:29
err_msg:
1 row in set (0.00 sec)

도움말 및 지원

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

피드백