forums › forums › SQLyog › Using SQLyog › Confusing Message From Sqlyog Migration
- This topic is empty.
-
AuthorPosts
-
-
March 23, 2010 at 12:02 pm #11915Keith MacdonaldMember
Just tried using SQLYog to migrate one table from SQL Server.
The source table ForumTopic_tbl has 315358 rows.
When I run the migration wizard, I see these messages.
DBMS Information: MICROSOFT SQL SERVER
Importing table schema: ForumTopic_tbl… Successful…
Importing table foreign keys: ForumTopic_tbl… Successful…
Importing table data: ForumTopic_tbl…
130438 rows transferred!
Which suggests the wizard has finished/stopped the transfer after 130438 rows, but not copied the whole table.
To make things more confusing, the “Terminate” button is enabled, but the “Back” and “Next” buttons are disabled, which suggests something is still running.
Am I doing something wrong? Any ideas?
-
March 23, 2010 at 12:26 pm #30613Keith MacdonaldMember
Sorry folks, this might be the answer, which appeared c.30 minutes afterwards
ERROR: [Microsoft][SQL Server Native Client 10.0]TCP Provider: The specified network name is no longer available.
Sounds like a network error, I'll try again.
-
March 23, 2010 at 1:16 pm #30614Keith MacdonaldMember
Strange, same error at the same row
SQLyog Job Agent Version 8.3 Copyright(c) Webyog Softworks Pvt. Ltd. All Rights Reserved.
Job started at Tue Mar 23 12:37:43 2010
DBMS Information: MICROSOFT SQL SERVER
Importing table schema: ForumTopic_tbl… Successful…
Importing table foreign keys: ForumTopic_tbl… Successful…
Importing table data: ForumTopic_tbl…
130438 rows transferred!
I suspect there is some invalid characters in that row (or the one after) it which is corrupting the transfer. But the message is still confusing.
-
March 23, 2010 at 1:30 pm #30615peterlaursenParticipant
If this is data specific we need a test case with data. But if the ODBC driver does not return a reasonable error message or error number, I cannot guarantee anything.
Could you try to find more information? Like locate that row (and maybe even try to delete it temporarily)? Also tell the exact driver version?
-
March 23, 2010 at 3:54 pm #30616Keith MacdonaldMember
Thanks Peter
I suspect it is the data as well. I've been cleaning-up and filtering the data before trying to use the Migration Wizard. e.g. replacing NULL with '' or 0.
But I'm sure that some of the VARCHAR or TEXT columns will contain characters like
Single-quote '
Double-quote “
as well as Tabs, HTML mark-up, and anything else users have pasted in.
So – I'm wondering if the Wizard is using any special delimiter around VARCHAR or TEXT columns? I would need to remove or replace those in the source data as well.
Thanks
Keith
-
March 23, 2010 at 4:01 pm #30617Keith MacdonaldMember'Keith wrote on '23:
Thanks Peter
I suspect it is the data as well. I've been cleaning-up and filtering the data before trying to use the Migration Wizard. e.g. replacing NULL with '' or 0.
But I'm sure that some of the VARCHAR or TEXT columns will contain characters like
Single-quote '
Double-quote “
as well as Tabs, HTML mark-up, and anything else users have pasted in.
So – I'm wondering if the Wizard is using any special delimiter around VARCHAR or TEXT columns? I would need to remove or replace those in the source data as well.
Thanks
Keith
-
March 23, 2010 at 4:03 pm #30618Keith MacdonaldMember
Just thought of another possibility, the MySQL insert buffer size. Would that matter if the source table has (say) 100,000 or 1,000,000 rows?
-
March 23, 2010 at 5:36 pm #30619Keith MacdonaldMember
Sorry Peter
I realise know that I have been misunderstanding how the Migration Wizard shows rows transferred.
For example, another table (progress so far):
DBMS Information: MICROSOFT SQL SERVER
Importing table schema: ForumVote_tbl… Successful…
Importing table data: ForumVote_tbl…
376394 rows transferred!
750944 rows transferred!
So the number of rows transferred is increasing, but only shown at strangely-large intervals.
The actual source table contains 1652995 rows, so maybe these numbers 376394 and 750944 are fractions of the total? But it's a strange way to show progress.
As a positive offering, I've raised a Feature Request for a proper progress bar, with the suggestion that the Wizard first does a count of rows in the source table, then shows percentage progress.
Thanks
Keith
-
March 24, 2010 at 5:20 am #30620navyashree.rMember
Hi Keith,
Issue is added in our issue tracker,
http://code.google.com/p/sqlyog/issues/detail?id=1253
Thank you. We will discuss with other team members and come up with better GUI and set the priority too and update.
Regards,
Navya
-
-
AuthorPosts
- You must be logged in to reply to this topic.