Forum Replies Created
-
AuthorPosts
-
peterlaursen
ParticipantI think I do not understand your last post either!
I asked you to try with SQlyog 7.14 or 7.15RC, but my mistke because actually SQLyog datasync does not work at all with MySQL 3.x and 4.0 servers from SQlyog 7.0. Speed improvements depends on server functionalities not available with those server versions.
But I am pretty sure that late 5.x and also 6.x versions will work. If you create a support ticket I will find something for you that you can try,
peterlaursen
ParticipantAre you still using 5.11? And what are server versions? As I remember this is an issue when syncing a 3.x server with a more recent version.
Basically I think we 'worked around this' long ago. Could you please try 7.14 or 7.15 RC (you may use the TRIAL for testing)
peterlaursen
ParticipantIt could be my fault (I did one mistake in 2008 too 😀 ) , but I do not understand this!
“schemas .. are separated by topics” .. do you mean that you are prefixing tables belonging to same application?
“isn´t so much info in 15 times “schemaxml” “.. where? A screenshot and aa structure dump of the database might clarify!
peterlaursen
ParticipantSeems like there is an issue. We have 2 more reports with this 'duplicate key' error and 7.x. We were never able to reproduce. Can you share a test case (dumps for source and target where this is reproducable + your job file (you may fake passwords etc. of course))? If so please create a support ticket for privacy!
Maybe this is only reproducable if other clients write to the database while sync is running .. but that we will find out!
peterlaursen
ParticipantPlease let us check details! Just for completeness: what is the SQLyog version used?
But “Query Builder” does not generate CSV-output. It generates SQL (and currently SELECT statements only)!
peterlaursen
ParticipantWe have no (external or internal) reports that SQlyog should have performance issues realted to the 64 bit OS.
But I think we never had a Win2008 64 bit server installed (except for a 32 bit Win2003 server we use only Linux servers). Testing was on Vista 64 bit (and I have difficulty understanding if it should make any difference). Also I am not sure that CSV exports were tested explicitly (there *could* be some issue with some Win32 API functions or the MySQL (32 bit) API (that SQLyog is compiled with) on 64bit windows. This we will check of course, but please also add what information you can!
But as SQLyog runs on the server machine (what I frankly do not understand why people sometimes do!), I do not see why one should use client functionalities if a server functionality (like SELECT INTO OUTFILE) exists that does the same! You can save the “SELECT INTO OUTFILE” SQL statement as a 'favorite'.
peterlaursen
ParticipantThis special build fixes this issue (at least it does for us):
http://www.webyog.com/downloads/betas/not_…715RC2n1Ent.exe
.. please verify on your environment!
Note that one detail still missing is that the datasync (and other SJA wizards) do not yet have an option to specify the base64-option in the connection dialogue (it will be added in next public build, of course). So you will need to use a connection that was stored with that option from the main connections dialogue. Do not edit anything, just use an existing stored connection!
peterlaursen
ParticipantYes .. and we were able to reproduce by setting up a similar environment.
This is basically the same XML/PHP issue. This base64-fix was not complete in the SJA (in SQLyog GUI it was). I think we can provide a fix tomorrow!
peterlaursen
ParticipantThis is the culprit “The synchronization across different dbs on the same server works wonderfully. I've had some success with syncing across different mySQL servers, but this particular one seems to fall over.”
I am pretty much sure we had some issue with concat_ws() function very long time ago! It could be 3-4 years back, and I do not remember details! (FYI: concat_ws() is used for generating the string on which checksums are calculated)
Can you post a link to phpinfo() on that server?
peterlaursen
ParticipantI think the issue is an issue/bug with PHP when built with recent libXML versions. Official PHP bug report here: http://bugs.php.net/bug.php?id=45996
To work around this you will need to use SQLyog 7.15RC and use the option to use base64 encoding for the communication with the tunneller.
Refer to release notes: http://www.webyog.com/blog/2008/12/19/sqly…-been-released/
Please try this and report back if this solves it!
peterlaursen
ParticipantYes we have tested on 64 bit windows of course, but please *quantify* your statements!
* What is *very slow* in your opinion? 10 seconds, 10 hours or 10 months? Also the number of rows ('lines') in the table is not the only thing that matters. Also the number and width of each row matters – like if every row contans big BLOBs. How big is the file after backup has finished?
* How are your export settings (in particular do you generate bulk inserts and how big)? Each bulk will be stored in memory and should not be specified larger that what free memory you have – else swapping will occur.
* Is the server running on localhost or on a remote machine? How do you connect (direct, HTTP or SSH)? Are you sure that SQLyog is not waiting for data to arrive? It could be the server or the connenction that is the bottleneck here! If SQLyog CPU load is low while export is running this is almost certainly the problem!
* Do you find any significant difference in speed of SQLyog runnung on 64 bit system as compared to other clients on same system or SQLyog on 32 bit systems?
peterlaursen
ParticipantYou are still very difficult to understand? What is your native language?
Please make it clear: Did you try to export that table and import again?
peterlaursen
ParticipantI am sorry, but I do not understand you too well! 'zimi' .. 'mia' .. 'bareback' ??
I would do this.
1: First 'duplicate table'. Right click the table in the object browser and select 'duplicate table'. A new table will be created with the original name+a '_copy' suffix.
2: Now try checking the new/duplicate table. If this one tells no error, rename the original table (with a '_bak' extension for instance) and rename the original table to the original table name
3: If the duplicated table shows the same error as the original table then right-click the table and select 'backup table as SQL dump'. I would choose setting like this
[attachment=1087:exportsettings.jpg]
4) Now import that dump again. The original table will be dropped (don't worry: you have the duplicated table as backup) and created from scratch by the server.
5) I also the new table created shows the same error the complete InnoDB tablespace could be corrupted (if you use InnoDB tables). That can be tricky to resolve. I would dump all databases, stop server, disable InnoDB in configuration, delete all InnoDB files, re-enable InnnoDB in conffiguration, start server (what will start creating a completely new InnoDB tablesspace) and then import all databases again.
peterlaursen
ParticipantOn MyISAM tables a rowcount is almost instantaneous. But with large InnoDB tables it can be very slow! It may take minutes for the dialogue to populate with only a few dozens of large InnoDB tables!
You can then say that the implementation should be multi-threaded so that user will not necessarily need to wait for it to finish! I accept that ENGINE and ROWCOUNT are reasonable information that could be displayed (in Object Browser and SJA wizards)!
peterlaursen
ParticipantAs I have replied in the other post of yours it works fine for me since 7.14!
You are sure that you SHIFT+CLICK and not CTRL+CLICK (for instance) ?
-
AuthorPosts