I have to migrate a table from MSSQL Server to MySql. The problem is that the table is quite big (65 millions records) and the whole process takes too much time. Does anyone have any idea how to speed things up ? Any useful tools that could improve this?
Share
you could export the data to text and then use the mysql load statement:
load data local infile
'/somefolder/text_file_with_data.txt'into table some_table fields terminated by'\t'lines terminated by'\n'or if you put the data file on the mysql server you can:
load data infile
'/somefolder_on_the_mysql_server/text_file_with_data.txt'into table some_table fields terminated by'\t'lines terminated by'\n'I am not sure what the syntax for mssql is to export
You can always export in sets of 10,000 or 100,000.