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.

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.

×
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

Submit an Answer