Data Migration between different Databases

January 30, 2019 687 views
MySQL Big Data Databases Debian NoSQL

I have about 1000 of tables in mysql databases, whole mysql DB data is about 100GB, I need to migrate it to Cassandra, also mysql data grows every second. I already tried to search the solution, but no luck. maybe I need to write some code in PHP or python which will check the log in mysql and then make the insert in Cassandra DB? I don’t know, waiting for your advice guys, thanks.

1 Answer

Hello,

I could suggest going through this presentation here on how to migrate from MySQL to Cassandra for millions of active users:

https://www.slideshare.net/AndreyPanasyuk2/migration-from-mysql-to-cassandra-for-millions-of-active-users

Another option would be to schedule some maintenance time, lock the database with read lock, migrate everything to Casandra, switch to the Casandara and finally shut down MySQL.

Regards,
Bobby

Have another answer? Share your knowledge.