用pt-table-checksum校驗數據時有如下報錯,是由於current chunk size大於默認chunk size limit=2.0 24636 rowshtml
05-02T20:35:45 Skipping chunk 32 of log_2017.log_wechat_down_content_2017_7 because it is oversized. The current chunk size limit is 23836 rows (chunk size=11918 * chunk size limit=2.0), but MySQL estimates that there are 24636 rows in the chunk.
解決方法:spa
--chunk-size-limit,參數的默認值是2.0,修改爲4.0,加上參數--chunk-size-limit=4.0。3d
參考code
pt-table-checksum和pt-table-sync使用總結_藍白_新浪博客 http://blog.sina.com.cn/s/blog_53b13d950102vrdp.htmlhtm