Comments on: How to check MySQL replication integrity continually http://www.xaprb.com/blog/2008/10/04/how-to-check-mysql-replication-integrity-continually/ Stay curious! Fri, 10 May 2013 18:25:19 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Xaprb http://www.xaprb.com/blog/2008/10/04/how-to-check-mysql-replication-integrity-continually/#comment-16631 Xaprb Thu, 02 Jul 2009 15:21:58 +0000 http://www.xaprb.com/blog/?p=139#comment-16631 Sheeri, the checksum_args only specifies arguments to apply to specific tables. It’s basically an override table. It doesn’t specify that only the given tables will be checksummed. We’ll update the docs to clarify this. I think (but I lost track) that you also mentioned the lack of quoting with chunk-size on an issue you entered?

]]>
By: Sheeri K. Cabral http://www.xaprb.com/blog/2008/10/04/how-to-check-mysql-replication-integrity-continually/#comment-16572 Sheeri K. Cabral Fri, 19 Jun 2009 22:44:51 +0000 http://www.xaprb.com/blog/?p=139#comment-16572 Baron, feel free to delete this comment if you like, when the post is updated.

These notes are for revision 3710

–chunksize is not a valid option, but –chunk-size is valid
-C does not work as an option to mk-table-checksum

“chunksize” and “C” and “chunk_size” are not allowable arg-table columns.

`chunk-size` is an allowable arg-table column, but it does not seem to function properly; probably because MySQL will interpret it as “chunk”-”size” unless enclosed by backtics.

Also, I made a checksum_args table, and did not put all the tables in the database there:

CREATE TABLE `checksum_args` (
`db` char(64) NOT NULL,
`tbl` char(64) NOT NULL,
`ts` datetime default NULL,
`since` varchar(35) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

mysql> insert into checksum_args (db,tbl) SELECT TABLE_SCHEMA,TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE
_SCHEMA=’phpwiki’ and TABLE_TYPE=’BASE TABLE’;
Query OK, 10 rows affected (0.01 sec)
Records: 10 Duplicates: 0 Warnings: 0

But when I ran the checksum, it was going through all the tables in all the databases.

]]>
By: Maatkit version 2442 released at Xaprb http://www.xaprb.com/blog/2008/10/04/how-to-check-mysql-replication-integrity-continually/#comment-15256 Maatkit version 2442 released at Xaprb Sat, 18 Oct 2008 21:50:32 +0000 http://www.xaprb.com/blog/?p=139#comment-15256 [...] newest release of Maatkit contains mk-audit bug fixes, lots of new features for mk-table-checksum so you can check replication more frequently (see my earlier post…, and more bug fixes for other [...]

]]>
By: Xaprb http://www.xaprb.com/blog/2008/10/04/how-to-check-mysql-replication-integrity-continually/#comment-15185 Xaprb Thu, 09 Oct 2008 20:47:52 +0000 http://www.xaprb.com/blog/?p=139#comment-15185 Thanks!

]]>
By: CaptTofu http://www.xaprb.com/blog/2008/10/04/how-to-check-mysql-replication-integrity-continually/#comment-15184 CaptTofu Thu, 09 Oct 2008 20:31:08 +0000 http://www.xaprb.com/blog/?p=139#comment-15184 I really love this, and the high performance website! I wish that 5 years ago, when I started at MySQL that I had a time machine portal into these sites to get up to speed with internal dev … oh, the bugs I could’ve fixed and how fast I could’ve come up to speed. Also, a time machine to fetch the book you guys wrote…

]]>