tencent cloud

TDSQL Boundless

TDSTORE_COMMON_EVENT_INFO

PDF
Focus Mode
Font Size
Last updated: 2026-02-10 11:06:31

Function

INFORMATION_SCHEMA.TDSTORE_COMMON_EVENT_INFO is used to query the execution results of common tasks at the TDStore layer, including:
transfer leader
add/remove replica
promote leader
promote_demote leader

Field Description

TDSTORE_COMMON_EVENT_INFO Field Reference

Field Name
Type
Description
node_name
varchar(64)
Node name.
job_description
text
Task description.
job_id
bigint unsigned
Task ID
rep_group_id
bigint unsigned
RG ID.
common_column1
text
The general-purpose column, which has different meanings for different tasks, as detailed in the description of the common_column column.
common_column2
text
The general-purpose column, which has different meanings for different tasks, as detailed in the description of the common_column column.
common_column3
text
The general-purpose column, which has different meanings for different tasks, as detailed in the description of the common_column column.
event_type
varchar(64)
Task type.
begin_time
varchar(64)
Task start time.
cost_us
bigint unsigned
Task duration, in microseconds.
detailed_info
text
Time consumption for each step of tasks and subtasks.

Description of the Fields in the common_column Column

job
common_column1
common_column2
common_column3
CleanupDataTasks
Task type
/
/
AddOneReplica
Replica node information
/
/
TransferLeader
Original Leader address.
New Leader address
Whether it is mandatory
TransferLeaderByLeader
Original Leader address.
New Leader address
Whether it is mandatory
SaveRaftSnapshotForSplit
Log location during Region split
/
/
RemoveReplica
Name of the deleted replica node
/
/
TryPromoteToLeader
Name of the promoted node
/
/
PromoteDemote
Information of all promoted nodes
Information of all demoted nodes
/

Examples

tdsql>select * from TDSTORE_COMMON_EVENT_INFO limit 1\\G
*************************** 1. row ***************************
node_name: node-Module13-180-5-004
job_description: transfer leader
job_id: 20010
rep_group_id: 70695
common_column1: node-Module13-180-5-002
common_column2: TDMember[node_name:node-Module13-180-5-004 uuid:0 ]
common_column3: 0
event_type: TD_EVENT_TRANSFER_LEADER
begin_time: 2024-11-04 20:20:56 330
cost_us: 993
detailed_info: [TRANSFER_LEADER: <BEGIN: 4us>, <SEND_TRANSFER_LEADERSHIP_RPC: 989us>, <WAIT_TRANS: 0us>, <CHECK_REPLICA_EXIST: 0us>, <EXECUTE: 0us>, <REVOKE_LEASE: 0us>, <SWITCH_LEADER: 0us>, <END_REGION_JOB: 0us>]

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback