Comments on: How to calculate table checksums in MySQL http://www.xaprb.com/blog/2007/01/25/how-to-calculate-table-checksums-in-mysql/ Stay curious! Thu, 02 May 2013 12:36:53 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Justin Swanhart http://www.xaprb.com/blog/2007/01/25/how-to-calculate-table-checksums-in-mysql/#comment-20419 Justin Swanhart Sun, 16 Dec 2012 22:13:40 +0000 http://www.xaprb.com/blog/?p=294#comment-20419 I’m a little late to the party, but using 5.1+ statement based replication, the following should be safe to work around the identical nulls issue (if you didn’t already work around it in pt-table-checksum):

select concat_ws(‘#’, ifnull(a, rand()*now()), ifnull(…

]]>
By: adeela http://www.xaprb.com/blog/2007/01/25/how-to-calculate-table-checksums-in-mysql/#comment-17288 adeela Wed, 18 Nov 2009 08:32:02 +0000 http://www.xaprb.com/blog/?p=294#comment-17288 hello
“I have a confusion regarding innodb calculating checksum, like myisam it calculates the checksum on its on and result can be seen in information_schema table. But innodb don’t . does it calculate checksum on its own also and save it some where and it calculate checksum on table wise and show the result or row wise and shows a seperate result. i need to have an urgent reply..
thank u “

adeela

]]>
By: Xaprb http://www.xaprb.com/blog/2007/01/25/how-to-calculate-table-checksums-in-mysql/#comment-14525 Xaprb Thu, 08 May 2008 11:57:44 +0000 http://www.xaprb.com/blog/?p=294#comment-14525 Useful indeed. See Maatkit — its mk-table-checksum tool does this :)

]]>
By: Joachim Zobel http://www.xaprb.com/blog/2007/01/25/how-to-calculate-table-checksums-in-mysql/#comment-14524 Joachim Zobel Thu, 08 May 2008 11:41:12 +0000 http://www.xaprb.com/blog/?p=294#comment-14524 I have a useful trick to add. You can INSERT the checksum into a table so that the checksum statement gets replicated. The trick is to then additionally OUTFILE and INFILE the checksum. This way the masters checksum gets replicated to the slaves so it can be easily compared to the local value.

]]>
By: Xaprb http://www.xaprb.com/blog/2007/01/25/how-to-calculate-table-checksums-in-mysql/#comment-11618 Xaprb Fri, 15 Jun 2007 13:39:46 +0000 http://www.xaprb.com/blog/?p=294#comment-11618 The best thing to do is read the embedded Perl documentation, which becomes a man page if you install the tool, so ‘man mysql-table-checksum’. If there is anything missing from the documentation please submit a bug report, as I want to make it complete and useful.

]]>