Illustration Image

Export Cassandra database to MySQL database [migrated]

We have an application that we use for Network Monitoring and it uses a Cassandra database. Our Program is ending and the customer wants us to save our trending database for a period of time after the contract ends. I doubt the customer has any DBAs and I am the only software person on the program. My thought for ease of data retention and if the customer should want the data is to export the Cassandra keyspace and then import it to MySQL which may be an easier database for the poor shlap that gets tasked with using the data. So far I have been able to export the data into JSON files using cassandra-exporter. But when I try to import the JSON files (>1 GB) Mysql workbench crashes. I am not a DBA, just google a lot haha. Is there a better way to get the import the data to mysql? Should I even try this path? Should I just leave it as JSON? Or should I leave the data in Cassandra and just turn over the database file(s?) for the customer to deal with?

Tried Cassandra-exporter to get the tables into JSON files. Tried importing using MySQL Workbench but application crashes on large files.

Become part of our
growing community!
Welcome to Planet Cassandra, a community for Apache Cassandra®! We're a passionate and dedicated group of users, developers, and enthusiasts who are working together to make Cassandra the best it can be. Whether you're just getting started with Cassandra or you're an experienced user, there's a place for you in our community.
A dinosaur
Planet Cassandra is a service for the Apache Cassandra® user community to share with each other. From tutorials and guides, to discussions and updates, we're here to help you get the most out of Cassandra. Connect with us and become part of our growing community today.
© 2009-2023 The Apache Software Foundation under the terms of the Apache License 2.0. Apache, the Apache feather logo, Apache Cassandra, Cassandra, and the Cassandra logo, are either registered trademarks or trademarks of The Apache Software Foundation. Sponsored by Anant Corporation and Datastax, and Developed by Anant Corporation.

Get Involved with Planet Cassandra!

We believe that the power of the Planet Cassandra community lies in the contributions of its members. Do you have content, articles, videos, or use cases you want to share with the world?