Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
Usage specification recommendations
INFORMATION_SCHEMA.TDSTORE_COMMON_EVENT_INFO is used to query the execution results of common tasks at the TDStore layer, including:transfer leaderadd/remove replicapromote leaderpromote_demote leaderField 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. |
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 | / |
tdsql>select * from TDSTORE_COMMON_EVENT_INFO limit 1\\G*************************** 1. row ***************************node_name: node-Module13-180-5-004job_description: transfer leaderjob_id: 20010rep_group_id: 70695common_column1: node-Module13-180-5-002common_column2: TDMember[node_name:node-Module13-180-5-004 uuid:0 ]common_column3: 0event_type: TD_EVENT_TRANSFER_LEADERbegin_time: 2024-11-04 20:20:56 330cost_us: 993detailed_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>]
피드백