|This class is not useful, because when you have to migrate database to other server, usually they can't see each other. Database servers usually listening only on 127.0.0.1 address. This is the most basic protection.|
Secondly if you have many records in table you should do split records to max 10 000 values i one query.
If you have remonte access to both database servers, the best idea is use sqlYog program: http://code.google.com/p/sqlyog/. It is very userfriendly.