Question

Data Migration between different Databases

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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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