tencent cloud

TDSQL Boundless

LOGSERVICE_WAITS

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-03-06 18:48:08

Function

INFORMATION_SCHEMA.LOGSERVICE_WAITS is used to display the wait relationships of each replication group (Replication Group, abbreviated as RG) in the Log Handler layer in disaster recovery mode.

Field Description

Field Name
Type
Description
sid
bigint unsigned
the unique identifier of LogService
rep_group_id
bigint unsigned
Replication Group ID
parent_rep_group_id
bigint unsigned
the RG ID of the parent RG that needs to be waited for
parent_rep_group_split_index
bigint
The split point index to which the current RG must wait for the parent RG to replay. Only after the parent RG replays to this split point can the current RG start replaying. If it is NULL, it indicates that there is no specific split point waiting requirement.

Examples

tdsql > SELECT * FROM INFORMATION_SCHEMA.LOGSERVICE_WAITS LIMIT 1\\G
*************************** 1. row ***************************
sid: 29629282460369180
rep_group_id: 257
parent_rep_group_id: NULL
parent_rep_group_split_index: NULL
1 row in set (0.00 sec)
This result indicates that the replication group with ID 257 currently does not depend on any parent replication group and can replay data independently.

Ajuda e Suporte

Esta página foi útil?

comentários