sql - Transfering data from MySQL to Mongo -
I need to transfer some data from MySQL to mongoDB from time to time MySQL data is increasing and soon TB will occur; The way I am planning to do this is using a standalone Java application that reads using data * from the table * and then I'm planning to add an entry in the Mongo collection for each line .
Is there any better way to do this?
OK, you should try to limit the selection of at least new data, for example For using Timestamp or similar and remember the last export date, so you will have to go through all the data again.
Comments
Post a Comment