Comments on: An algorithm to find and resolve data differences between MySQL tables http://www.xaprb.com/blog/2007/03/05/an-algorithm-to-find-and-resolve-data-differences-between-mysql-tables/ Stay curious! Fri, 10 May 2013 18:25:19 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: paramjeet http://www.xaprb.com/blog/2007/03/05/an-algorithm-to-find-and-resolve-data-differences-between-mysql-tables/#comment-15230 paramjeet Tue, 14 Oct 2008 12:01:01 +0000 http://www.xaprb.com/blog/?p=313#comment-15230 i want the algorithm to find the table of any no.

]]>
By: Xaprb http://www.xaprb.com/blog/2007/03/05/an-algorithm-to-find-and-resolve-data-differences-between-mysql-tables/#comment-13502 Xaprb Tue, 09 Oct 2007 12:52:04 +0000 http://www.xaprb.com/blog/?p=313#comment-13502 But by all means, explore your algorithm too! I don’t mean to say you shouldn’t. It may be a much better way.

]]>
By: Xaprb http://www.xaprb.com/blog/2007/03/05/an-algorithm-to-find-and-resolve-data-differences-between-mysql-tables/#comment-13501 Xaprb Tue, 09 Oct 2007 12:50:36 +0000 http://www.xaprb.com/blog/?p=313#comment-13501 Please take a look at MySQL Table Sync in the MySQL Toolkit (http:mysqltoolkit.sourceforge.net). It may save you a lot of work. I’ve implemented both algorithms there.

]]>
By: Negruzzi Cristian http://www.xaprb.com/blog/2007/03/05/an-algorithm-to-find-and-resolve-data-differences-between-mysql-tables/#comment-13500 Negruzzi Cristian Tue, 09 Oct 2007 12:38:21 +0000 http://www.xaprb.com/blog/?p=313#comment-13500 Nice article. I’ve studied the algorithm before, but wasn’t so clearly.
Actually I met he same need for keeping my databases synchronized, and for some days I’m trying to build a suitable algorithm for that. The Top-Down algorithm is good, but, as you mentioned, is too hard to find a good grouping. And how what is to be done if there is only one indexed column as Primary Key? So I find the Bottom-Up more suitable for that purpose, but with some differences, I’m going to build a B*-Tree based on row checksums for each table, keep it saved locally (I think a XML structure is a good way) and, for saving time and traffic, do the comparison locally too. I’m not sure it’s the best way for that, but i want to try.
Best regards.

]]>
By: chhivhorng http://www.xaprb.com/blog/2007/03/05/an-algorithm-to-find-and-resolve-data-differences-between-mysql-tables/#comment-11909 chhivhorng Wed, 27 Jun 2007 09:57:07 +0000 http://www.xaprb.com/blog/?p=313#comment-11909 I have some problem with query sql.
I want you correct for me.
this is my query :
$queryselect=”select Distinct student.id_student,first_name,last_name,promotion,class
from student,applicationrecieve where student.id_student applicationrecieve.id_student”;

the query that I write to you, I want to select data that it don’t have in the table applicationrecieve from table student.

thanks,
regards,
chhivhorng

]]>