可以是可以,但是会有一些问题,比如 1,binlog 是拿不到已经写入的数据的,需要在写入开始前就部署好 binlog。 2,binlog 会导致 tidb 一些优化失效,比如能提高写入吞吐的 async commit 和 1pc 功能。
参考 TiDB Binlog 简介 | PingCAP Docs