Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion check-table-sync dose not work
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
justlooks  
View profile  
 More options Oct 8 2011, 2:06 am
From: justlooks <justlo...@gmail.com>
Date: Fri, 7 Oct 2011 23:06:09 -0700 (PDT)
Local: Sat, Oct 8 2011 2:06 am
Subject: check-table-sync dose not work
i have a replication mysql env , and one master (version 5.0.22-
log) ,one slave (version 5.0.77-log)
and i find one table has different data ,but when i use mk-table-sync
to sync data ,i find after sync the value of checksum is same with
before sync

[root@OA_DB_21 ~]# mk-table-checksum h=localhost,u=root
h=10.103.33.29,u=mkuser,p=mkuser --databases=oa_cate --
tables=category1
DATABASE TABLE     CHUNK HOST         ENGINE      COUNT
CHECKSUM TIME WAIT STAT  LAG
oa_cate  category1     0 localhost    MyISAM       NULL
105196059    0    0 NULL NULL
oa_cate  category1     0 10.103.33.29 MyISAM       NULL
2212111249    0    0 NULL NULL
[root@OA_DB_21 ~]# mk-table-sync h=localhost,u=root
h=10.103.33.29,u=mkuser,p=mkuser --databases=oa_cate --
tables=category1 --execute --nocheck-slave
[root@OA_DB_21 ~]# mk-table-checksum h=localhost,u=root
h=10.103.33.29,u=mkuser,p=mkuser --databases=oa_cate --
tables=category1
DATABASE TABLE     CHUNK HOST         ENGINE      COUNT
CHECKSUM TIME WAIT STAT  LAG
oa_cate  category1     0 localhost    MyISAM       NULL
105196059    0    0 NULL NULL
oa_cate  category1     0 10.103.33.29 MyISAM       NULL
2212111249    0    0 NULL NULL


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.