<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Maatkit version 1972 released</title>
	<atom:link href="http://www.xaprb.com/blog/2008/06/02/maatkit-version-1972-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2008/06/02/maatkit-version-1972-released/</link>
	<description>Stay curious!</description>
	<pubDate>Tue, 06 Jan 2009 12:36:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: robinzhao</title>
		<link>http://www.xaprb.com/blog/2008/06/02/maatkit-version-1972-released/#comment-14869</link>
		<dc:creator>robinzhao</dc:creator>
		<pubDate>Tue, 15 Jul 2008 10:47:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/06/02/maatkit-version-1972-released/#comment-14869</guid>
		<description>I take follow from your code:

if ( $col_type =~ m/(?:&#124;int&#124;year&#124;float&#124;double&#124;decimal)$/ ) {
      $start_point = $args{min};
      $end_point   = $args{max};
      $range_func  = 'range_num';
}
the database I test's PK is Fcommodity_id (bigint(20) unsigned)</description>
		<content:encoded><![CDATA[<p>I take follow from your code:</p>
<p>if ( $col_type =~ m/(?:|int|year|float|double|decimal)$/ ) {<br />
      $start_point = $args{min};<br />
      $end_point   = $args{max};<br />
      $range_func  = &#8216;range_num&#8217;;<br />
}<br />
the database I test&#8217;s PK is Fcommodity_id (bigint(20) unsigned)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robinzhao</title>
		<link>http://www.xaprb.com/blog/2008/06/02/maatkit-version-1972-released/#comment-14868</link>
		<dc:creator>robinzhao</dc:creator>
		<pubDate>Tue, 15 Jul 2008 10:41:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/06/02/maatkit-version-1972-released/#comment-14868</guid>
		<description>mysql&#62; desc t_commodity_0300;
 ----------------------- ---------------------- ------ ----- --------------------- ------- 
&#124; Field                 &#124; Type                 &#124; Null &#124; Key &#124; Default             &#124; Extra &#124;
 ----------------------- ---------------------- ------ ----- --------------------- ------- 
&#124; Fcommodity_id         &#124; bigint(20) unsigned  &#124;      &#124; PRI &#124; 0                   &#124;       &#124;
&#124; Fqquin                &#124; int(10) unsigned     &#124;      &#124; MUL &#124; 0                   &#124;       &#124;
&#124; Fqqnick               &#124; varchar(32)          &#124;      &#124;     &#124;                     &#124;       &#124;
&#124; Fshopid               &#124; bigint(20) unsigned  &#124;      &#124; MUL &#124; 0                   &#124;       &#124;
&#124; Ftitle                &#124; varchar(60)          &#124;      &#124;     &#124;                     &#124;       &#124;
&#124; Fleaf_classid         &#124; int(10) unsigned     &#124;      &#124; MUL &#124; 0                   &#124;       &#124;
&#124; Fshop_classid         &#124; varchar(10)          &#124;      &#124;     &#124;                     &#124;       &#124;
&#124; Fprovince             &#124; tinyint(3) unsigned  &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fcity                 &#124; smallint(5) unsigned &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fcountry              &#124; int(10) unsigned     &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fprice                &#124; int(10) unsigned     &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fmoney_type           &#124; tinyint(3) unsigned  &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fmain_logo_pos        &#124; varchar(60)          &#124;      &#124;     &#124;                     &#124;       &#124;
&#124; Fnum                  &#124; int(10) unsigned     &#124;      &#124;     &#124; 1                   &#124;       &#124;
&#124; Fnew_type             &#124; tinyint(4)           &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fdeal_type            &#124; tinyint(4)           &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fsupport_pay_agency   &#124; tinyint(4)           &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fis_recommend         &#124; tinyint(4)           &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fstate                &#124; tinyint(4)           &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fproperty             &#124; int(10) unsigned     &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fbrand                &#124; varchar(32)          &#124;      &#124;     &#124;                     &#124;       &#124;
&#124; Fspec                 &#124; varchar(32)          &#124;      &#124;     &#124;                     &#124;       &#124;
&#124; Fproducer             &#124; varchar(64)          &#124;      &#124;     &#124;                     &#124;       &#124;
&#124; Fdesc_file_pos        &#124; varchar(60)          &#124;      &#124;     &#124;                     &#124;       &#124;
&#124; Fprice_to_add         &#124; int(10) unsigned     &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fadd_time             &#124; datetime             &#124;      &#124;     &#124; 0000-00-00 00:00:00 &#124;       &#124;
&#124; Fupload_time          &#124; datetime             &#124;      &#124;     &#124; 0000-00-00 00:00:00 &#124;       &#124;
&#124; Fsold_num             &#124; int(10) unsigned     &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fbuy_cnt              &#124; int(10) unsigned     &#124;      &#124;     &#124; 0                   &#124;       &#124;
&#124; Fvalid_duration       &#124; int(10) unsigned     &#124;      &#124;     &#124; 0                   &#124;       &#124;</description>
		<content:encoded><![CDATA[<p>mysql&gt; desc t_commodity_0300;<br />
 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212; &#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;-<br />
| Field                 | Type                 | Null | Key | Default             | Extra |<br />
 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212; &#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;-<br />
| Fcommodity_id         | bigint(20) unsigned  |      | PRI | 0                   |       |<br />
| Fqquin                | int(10) unsigned     |      | MUL | 0                   |       |<br />
| Fqqnick               | varchar(32)          |      |     |                     |       |<br />
| Fshopid               | bigint(20) unsigned  |      | MUL | 0                   |       |<br />
| Ftitle                | varchar(60)          |      |     |                     |       |<br />
| Fleaf_classid         | int(10) unsigned     |      | MUL | 0                   |       |<br />
| Fshop_classid         | varchar(10)          |      |     |                     |       |<br />
| Fprovince             | tinyint(3) unsigned  |      |     | 0                   |       |<br />
| Fcity                 | smallint(5) unsigned |      |     | 0                   |       |<br />
| Fcountry              | int(10) unsigned     |      |     | 0                   |       |<br />
| Fprice                | int(10) unsigned     |      |     | 0                   |       |<br />
| Fmoney_type           | tinyint(3) unsigned  |      |     | 0                   |       |<br />
| Fmain_logo_pos        | varchar(60)          |      |     |                     |       |<br />
| Fnum                  | int(10) unsigned     |      |     | 1                   |       |<br />
| Fnew_type             | tinyint(4)           |      |     | 0                   |       |<br />
| Fdeal_type            | tinyint(4)           |      |     | 0                   |       |<br />
| Fsupport_pay_agency   | tinyint(4)           |      |     | 0                   |       |<br />
| Fis_recommend         | tinyint(4)           |      |     | 0                   |       |<br />
| Fstate                | tinyint(4)           |      |     | 0                   |       |<br />
| Fproperty             | int(10) unsigned     |      |     | 0                   |       |<br />
| Fbrand                | varchar(32)          |      |     |                     |       |<br />
| Fspec                 | varchar(32)          |      |     |                     |       |<br />
| Fproducer             | varchar(64)          |      |     |                     |       |<br />
| Fdesc_file_pos        | varchar(60)          |      |     |                     |       |<br />
| Fprice_to_add         | int(10) unsigned     |      |     | 0                   |       |<br />
| Fadd_time             | datetime             |      |     | 0000-00-00 00:00:00 |       |<br />
| Fupload_time          | datetime             |      |     | 0000-00-00 00:00:00 |       |<br />
| Fsold_num             | int(10) unsigned     |      |     | 0                   |       |<br />
| Fbuy_cnt              | int(10) unsigned     |      |     | 0                   |       |<br />
| Fvalid_duration       | int(10) unsigned     |      |     | 0                   |       |</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robinzhao</title>
		<link>http://www.xaprb.com/blog/2008/06/02/maatkit-version-1972-released/#comment-14867</link>
		<dc:creator>robinzhao</dc:creator>
		<pubDate>Tue, 15 Jul 2008 10:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/06/02/maatkit-version-1972-released/#comment-14867</guid>
		<description>baron,I got an error ,when I test with mk-table-sync, the error is "Chunk size is too small" ,I don't know why.



Shell&#62; mk-table-sync --print --verbose --algorithm=chunk --chunksize=500 h=172.29.78.11,u=root,p=123456,D=orders h=172.29.78.12,u=root,p=123456,D=orders 

# Syncing A=utf8,D=orders,h=172.29.78.11,p=...,u=robin_repl
# DELETE REPLACE INSERT UPDATE ALGORITHM DATABASE.TABLE
#      0       0      0      0 Chunk     orders.c2cClassRelation
#      0       0      0      0 Chunk     orders.c2cClassRelation_new
#      0       0      0      0 Chunk     orders.commodity_state_1
Cannot chunk orders.db1_comm_dis at /usr/local/bin/mk-table-sync line 2499.  while doing orders.db1_comm_dis
#      0       0      0      0 Chunk     orders.lcp
#      0       0      0      0 Chunk     orders.t_auction_bid_info_000
#      0       0      0      0 Chunk     orders.t_auction_bid_info_004
#      0       0      0      0 Chunk     orders.t_auction_bid_info_008
Chunk size is too small: 1.18207 !&#62; 1181940640153487  while doing orders.t_commodity_0260
Chunk size is too small: 2.30805 !&#62; 2307849136941054  while doing orders.t_commodity_0264
Chunk size is too small: 3.43416 !&#62; 3433929432646923  while doing orders.t_commodity_0268
Chunk size is too small: 4.55979 !&#62; 4559614590861196  while doing orders.t_commodity_0272
Chunk size is too small: 5.68630 !&#62; 5686120088967910  while doing orders.t_commodity_0276
Chunk size is too small: 6.81156 !&#62; 6811410109575803  while doing orders.t_commodity_0280
Chunk size is too small: 7.93760 !&#62; 7937365851038979  while doing orders.t_commodity_0284
Chunk size is too small: 9.06345 !&#62; 9063235693081813  while doing orders.t_commodity_0288
Chunk size is too small: 1.01893 !&#62; 10189217204375279  while doing orders.t_commodity_0292
Chunk size is too small: 1.13153 !&#62; 11315121406191048  while doing orders.t_commodity_0296
Chunk size is too small: 1.24411 !&#62; 12440922528698754  while doing orders.t_commodity_0300

:)</description>
		<content:encoded><![CDATA[<p>baron,I got an error ,when I test with mk-table-sync, the error is &#8220;Chunk size is too small&#8221; ,I don&#8217;t know why.</p>
<p>Shell&gt; mk-table-sync &#8211;print &#8211;verbose &#8211;algorithm=chunk &#8211;chunksize=500 h=172.29.78.11,u=root,p=123456,D=orders h=172.29.78.12,u=root,p=123456,D=orders </p>
<p># Syncing A=utf8,D=orders,h=172.29.78.11,p=&#8230;,u=robin_repl<br />
# DELETE REPLACE INSERT UPDATE ALGORITHM DATABASE.TABLE<br />
#      0       0      0      0 Chunk     orders.c2cClassRelation<br />
#      0       0      0      0 Chunk     orders.c2cClassRelation_new<br />
#      0       0      0      0 Chunk     orders.commodity_state_1<br />
Cannot chunk orders.db1_comm_dis at /usr/local/bin/mk-table-sync line 2499.  while doing orders.db1_comm_dis<br />
#      0       0      0      0 Chunk     orders.lcp<br />
#      0       0      0      0 Chunk     orders.t_auction_bid_info_000<br />
#      0       0      0      0 Chunk     orders.t_auction_bid_info_004<br />
#      0       0      0      0 Chunk     orders.t_auction_bid_info_008<br />
Chunk size is too small: 1.18207 !&gt; 1181940640153487  while doing orders.t_commodity_0260<br />
Chunk size is too small: 2.30805 !&gt; 2307849136941054  while doing orders.t_commodity_0264<br />
Chunk size is too small: 3.43416 !&gt; 3433929432646923  while doing orders.t_commodity_0268<br />
Chunk size is too small: 4.55979 !&gt; 4559614590861196  while doing orders.t_commodity_0272<br />
Chunk size is too small: 5.68630 !&gt; 5686120088967910  while doing orders.t_commodity_0276<br />
Chunk size is too small: 6.81156 !&gt; 6811410109575803  while doing orders.t_commodity_0280<br />
Chunk size is too small: 7.93760 !&gt; 7937365851038979  while doing orders.t_commodity_0284<br />
Chunk size is too small: 9.06345 !&gt; 9063235693081813  while doing orders.t_commodity_0288<br />
Chunk size is too small: 1.01893 !&gt; 10189217204375279  while doing orders.t_commodity_0292<br />
Chunk size is too small: 1.13153 !&gt; 11315121406191048  while doing orders.t_commodity_0296<br />
Chunk size is too small: 1.24411 !&gt; 12440922528698754  while doing orders.t_commodity_0300</p>
<p>:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory Haase</title>
		<link>http://www.xaprb.com/blog/2008/06/02/maatkit-version-1972-released/#comment-14682</link>
		<dc:creator>Gregory Haase</dc:creator>
		<pubDate>Mon, 02 Jun 2008 13:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/06/02/maatkit-version-1972-released/#comment-14682</guid>
		<description>No need to hit the back button - once you nominate there's link to "Nominate this project again" right there...

I felt obliged to test the link. It works. Then I tested it again just to be certain I was getting consistent results.  :-)</description>
		<content:encoded><![CDATA[<p>No need to hit the back button - once you nominate there&#8217;s link to &#8220;Nominate this project again&#8221; right there&#8230;</p>
<p>I felt obliged to test the link. It works. Then I tested it again just to be certain I was getting consistent results.  :-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
