【Perl】tbsync 检查主备数据一致性工具


点击(此处)折叠或打开

  1. #!/usr/bin/perl
  2. #
  3. # purpose 1: Table Data Compare or Sync
  4. # purpose 2: Table structure Compare or Sync
  5. # purpose 3: copy data from A to B, ignore data already in B(by means of PK)
  6. # Data is partitioned by PK
  7. #
  8. # TODO: compare & sync table structure
  9. # sync faster
  10. # calculate sync speed
  11. # more friendly output
  12. # table name match
  13. #
  14. # Why not just use pt-table-sync?
  15. # Some requirements are not easy to implement,
  16. # it\


请使用浏览器的分享功能分享到微信等