Mysql data from the comparison between the master database

First, whether the individual table records statistical database consistency check number

use information_schema;

select table_name,table_rows from tables where TABLE_SCHEMA = '你的数据库名' order by table_rows desc;

Second, export the results are as follows

Mysql data from the comparison between the master database

Third, based on the above statements, respectively, performed in the master library from between the library and exported to EXCEL table, compare the difference

Mysql data from the comparison between the master database

Guess you like

Origin blog.51cto.com/12965094/2455824