Old environment: TiDB 3.0
New environment: TiDB 6.1
Question: There is a table (700 million rows of data) in the old environment that needs to be migrated to the new environment. Is there any way to achieve real-time data synchronization first, and then modify the connection domain name once to complete the migration operation?
It’s too difficult to rely entirely on tools for seamless switching;
Our previous approach was to first import historical data offline into 6.1, then dual-write to both clusters, and switch to the new cluster after data synchronization.
I want to try using dumpling + lightning now. First, dump all the current historical data and import it into the new environment. Then, when switching, do another incremental dump (based on the update time column). Is this feasible?
How should binlog be configured? Set up a binlog in the old TiDB, and then directly synchronize it to the new TiDB? Can I synchronize just a single table? What are the specific steps?