2 个解决方案
#1
恩 可能数据是从information_schema.table这里视图里面取得 这里面得innodb表得数据是不精确的
#2
Rows
The number of rows. Some storage engines, such as MyISAM, store the exact count. For other storage engines, such as InnoDB, this value is an approximation, and may vary from the actual value by as much as 40 to 50%. In such cases, use SELECT COUNT(*) to obtain an accurate count.
#1
恩 可能数据是从information_schema.table这里视图里面取得 这里面得innodb表得数据是不精确的
#2
Rows
The number of rows. Some storage engines, such as MyISAM, store the exact count. For other storage engines, such as InnoDB, this value is an approximation, and may vary from the actual value by as much as 40 to 50%. In such cases, use SELECT COUNT(*) to obtain an accurate count.