TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
When synchronizing mysql to tidb using DM 8.1, I noticed that the "truncate table" statements executed in mysql were not executed in tidb.
When I execute the "truncte table xx" statement in upstream mysql, the data in tidb still exists, which causes me to get a Duplicate entry '1' for xx exception when I insert data into the table later
When synchronizing mysql to tidb using DM 8.1, I noticed that the "truncate table" statements executed in mysql were not executed in tidb. When I execute the "truncte table xx" statement in upstream mysql, the data in tidb still exists, which causes me to get a Duplicate entry '1' for xx exception when I insert data into the table later