Hi,
I have a to fetch records from one mysql server and update it in another server.
Since there are large no of records (about 500000), I am wondering what is the best way to do this? (i.e.cursors..)
MySQL Version is 5.0.37.
Can someone throw some light on this and point me in right direction possibly with some psudo code.
Thanks in advance.
I have a to fetch records from one mysql server and update it in another server.
Code:
connect to database1
retrieve records from a table (ID is primary key)
connect to database2
update the record in the table using ID
Since there are large no of records (about 500000), I am wondering what is the best way to do this? (i.e.cursors..)
MySQL Version is 5.0.37.
Can someone throw some light on this and point me in right direction possibly with some psudo code.
Thanks in advance.