产品概述
应用场景
产品架构
实例类型
兼容性说明
LOGSERVICE_DUMP_PROCESSLIST 视图用于监控 Binlog Dump 层中每个复制组(Replication Group,RG)的数据回放进度和内存使用情况。通过该视图可以实时查看各 RG 的同步状态、持久化进度以及资源分配,帮助运维人员掌握 Binlog 生成的实时运行状态。字段名 | 类型 | 描述 |
sid | bigint unsigned | LogService 唯一标识 |
rep_group_id | bigint unsigned | Replication Group ID |
dump_curr_ts_barrier | bigint unsigned | Binlog Dump RG 当前内存中的 commit ts barrier |
curr_ts_barrier_persisted | bigint unsigned | Binlog Dump RG 当前持久化的 commit ts barrier |
unpersisted_sql_min_commit_ts | bigint unsigned | RG 当前未持久化事务最小的 commit ts |
max_alloc_size | bigint unsigned | 该 RG 分配的最大内存 |
used_mem_size | bigint unsigned | 该 RG 已经使用的内存 |
unpersisted_sql_min_commit_ts 反映了尚未持久化的最早事务时间戳。tdsql > SELECT * FROM INFORMATION_SCHEMA.LOGSERVICE_DUMP_PROCESSLIST LIMIT 1\\G*************************** 1. row ***************************sid: 29635447583932561rep_group_id: 257dump_curr_ts_barrier: 29635448859000901curr_ts_barrier_persisted: 29635448859000901unpersisted_sql_min_commit_ts: NULLmax_alloc_size: 10485760used_mem_size: 01 row in set (0.00 sec)
unpersisted_sql_min_commit_ts 为 NULL,表示没有未持久化的事务。文档反馈