“This area is for non-technical exchanges. TiDB 5.3.1 has 30TB of data to dump. What is a good way to migrate to TiDB 7.1 online without long business downtime? TiCDC can only handle incremental data, and dumping + recovery takes too long.”
Thank you. The proposed solution is to install version 5.3 on both sides, migrate using BR+TiCDC, then upgrade the new TiDB to version 7.1, or use TiCDC with multiple synchronization tasks for each database, migrating one database at a time.
Is your final goal to upgrade the database or to migrate the database and upgrade to a higher version at the same time? If it’s within the same data center, you can add new nodes to the new server and then remove the old node servers to achieve migration. After that, you can also perform a database upgrade.
Setting up TiDB on a new server, migrating and upgrading data. The old server is on the government cloud, not in the same data center. The service cannot be down for an extended period.