随笔分类 -  debezium

摘要:java读取mysql的binlog日志 [debezium 源码分析] BinlogReader和SnapshotReader [debezium 源码分析] MySqlConnectorTask 启动和拉取数据过程分析 阅读全文
posted @ 2021-11-04 19:47 cknds 阅读(582) 评论(0) 推荐(0)
摘要:1 使用系统定义的变量 语法: SELECT @@server_id 2.使用SHOW VARIABLES命令 show variables like 'server_id'; 3.查看Mater数据有哪些slave,使用命令: select * from information_schema.pr 阅读全文
posted @ 2021-11-03 14:12 cknds 阅读(2567) 评论(0) 推荐(0)
摘要:mysql> select * from information_schema.processlist as p where p.command = 'Binlog Dump'; 或 mysql> show slave hosts;(此方法需要在从服务启动时指定--report-host=HOSTN 阅读全文
posted @ 2021-11-02 14:46 cknds 阅读(477) 评论(0) 推荐(0)