点击(此处)折叠或打开
-
#!/usr/bin/perl
-
#
-
# purpose 1: Table Data Compare or Sync
-
# purpose 2: Table structure Compare or Sync
-
# purpose 3: copy data from A to B, ignore data already in B(by means of PK)
-
# Data is partitioned by PK
-
#
-
# TODO: compare & sync table structure
-
# sync faster
-
# calculate sync speed
-
# more friendly output
-
# table name match
-
#
-
# Why not just use pt-table-sync?
-
# Some requirements are not easy to implement,
- # it\