forums › forums › SQLyog › Sync tools, Migration, Scheduled Backup and Notifications › Sqlyog For Very Large Db Migration
- This topic is empty.
-
AuthorPosts
-
-
February 1, 2011 at 11:31 pm #12246PtolemyMember
Hi,
We're considering using SQLyog for large SQL Server -> MySql migration.
Customers table contains about 3M rows. Biggest customer data table contains about 20M rows.
The migration is a one-time job, but it needs to be very reliable.
We're wondering if SQLyog is the right tool for the job?
As a side note, we tried the tool with a small record set but observed a strange anomaly. SQLyog manages to insert rows that violate FK in the MySQL. It seems like the tool is dropping the FK for migration. Is there any way to disable it?
Thanks,
Philopator.
-
February 2, 2011 at 6:30 am #31916nithinMember
There is no limitation on the number of rows of data that SQLyog can import .You can download and verify with trial version of SQLyog(but trial has a limitation. It can import only two tables at a time. But these tables can contain any amount of data).
Quote:SQLyog manages to insert rows that violate FK in the MySQL. It seems like the tool is dropping the FK for migration. Is there any way to disable it?If want to import the FKs you must select the option “import foreign keys” in the advanced-option. See the screen-shot attached.
But the referential integrity is disabled internally always by issuing SET FOREIGN_KEY_CHECKS = 0 before INSERT rows, and enabled again by SET FOREIGN_KEY_CHECKS = 1 after the insertions are completed.
-
February 2, 2011 at 12:54 pm #31917PtolemyMember
Thanks a lot for the reply!
i also wonder how does this tool handle problems in the middle of the import. does it stop the process or skip the problematic rows? Is this recorded in the log?
The migration is a critical step in switching our business to a new platform and we need to ensure that customers and their data migrate successfully and even if there are some minor problems – it will not prevent us from completing the migration.
Thanks again.
Philopator.
-
February 3, 2011 at 4:45 am #31918nithinMemberQuote:does it stop the process or skip the problematic rows? Is this recorded in the log?
SQLyog's Import-External-Data feature has got an option “Abort on error” (screen-shot is attached), If this option is selected the process will be stopped and logs the query to sja.log(located where the sqlyog.ini is)when it encounters any error, else it ignores the error and continues the process.
-
February 3, 2011 at 2:32 pm #31919PtolemyMember'nithin' wrote:
else it ignores the error and continues the process.
Thanks again for the reply.
Last question: when the error is ignored – is it recorded in the logs so that we could analyze it later?
Thanks a lot,
Philopator.
-
February 4, 2011 at 5:20 am #31920AparnaMemberQuote:when the error is ignored – is it recorded in the logs so that we could analyze it later?
Yes. In spite of the errors being ignored while importing, the errors will be logged in the sja.log and you can look into it later. You can get back to us if you need further assistance or have more doubts.
Thanks and Regards,
Aparna.
-
February 4, 2011 at 9:18 am #31921peterlaursenParticipant
Please download the TRIAL and see for yourself how it works. You can try/test with a small Access database and even a MySQL database as.
Also see: http://www.webyog.com/faq/content/27/114/en/introduction-to-the-_sqlyog-job-agent_-sja.html
-
-
AuthorPosts
- You must be logged in to reply to this topic.