Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

mysqldbcompare object definitions differ

$
0
0

I am using a Galera cluster to replicate MySQL 5.7 databases on Ubuntu 16.04 Server. I am using mysqldbcompare to verify the consistency of the replication. I think my data is consistent because the Data Checks and Row Count checks pass.

I think "Object definitions differ..." means that there is something different about the CREATE statements. My output shows the Auto Increment fields having some differences.

My question is: Will the inconsistencies in the object definitions affect the consistency of my replicated databases as a whole (even though data check passes)?

I would love to know what causes the inconsistencies and how to fix them.

# Checking databases study1 on server1 and study1 on server2
#
#                                                   Defn    Row     Data
# Type      Object Name                             Diff    Count   Check
# -------------------------------------------------------------------------
# TABLE     admin_log                               pass    pass    -
#           - Compare table checksum                                pass
# TABLE     clists                                  pass    pass    -
#           - Compare table checksum                                pass
# TABLE     data1                                   FAIL    pass    -
#           - Compare table checksum                                pass
#
# Object definitions differ. (--changes-for=server1)
#

--- `study1`.`data1`
+++ `study1`.`data1`
@@ -236,4 +236,4 @@
   `sys_pagetime_29` int(11) DEFAULT NULL,
   `sys_pagetime_30` int(11) DEFAULT NULL,
   PRIMARY KEY (`sys_RespNum`)
-) ENGINE=InnoDB AUTO_INCREMENT=303 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC
+) ENGINE=InnoDB AUTO_INCREMENT=301 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC

Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>