I am trying to test a migration of data from a mySQL database to a Cassandra database.

What would be a good approach to do that and is there any tool to make my life easier?


It's not a difficult problem, as long as you have an OLEDB or ADO.net connector to both your database and Cassandra, then you can write queries on both your source (mySQL) and your target (Cassandra using e.g. Intellisoft's Oledb provider).

Then you can pull data into a database technology of your choice.

Then you will need to use either

  • a data comparison tool (like Redgate Data Compare) or,
  • write your own using a customer written data comparison. Personally, I have created hashes of the keys and data for very comparison then compared the hashes.

Note: I do not work for, or am connected with Intellisoft or Redgate.


This question is way bigger than a simple Q & A format.

You're asking the equivalent of asking a question like "I'm moving all my data from Excel to a database, what do I need to do?" In other words, this isn't a simple migration, you're completely changing the underlying datastore.

You'll likely have to work closely with your data folks to figure out what their plan is, how they're going to juggle relationships, data types, etc, and then you can start figuring out what you'll need to do to validate . . .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.