Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 从 mongo 到 tidb 都有什么迁移工具、方案?
There was a post introducing the migration from Mongo to TiDB before. Is there any update or supplement? Or new migration tools or considerations?
I have seen a Python script that implements the migration from MongoDB to MySQL before. I haven’t tried it, so I’m not sure if it works, but you can refer to it.
Noted, but is it appropriate to migrate Mongo to TiDB? Mongo stores non-relational data, and TiDB’s support for this type of data is generally average…
Yes, the issue with field types is significant, and very few people handle it this way.
I feel it’s safer to find a third-party vendor. It’s fine to migrate a few tables, but migrating the entire business is too risky.
Field types can drive people crazy; there are many that need to be converted.
Could you please elaborate? Is there an optimal solution for field mapping?
I tried using DataX to transfer data from MongoDB to MySQL. Later, I handed it over to third-party companies like Yingfang and DSG to handle it.