MySQL TABLE.TABLE_行在插入期间减少

MySQL TABLE.TABLE_行在插入期间减少,mysql,rdbms,Mysql,Rdbms,如果我发出以下命令: CREATE TABLE foo LIKE bar; INSERT INTO bar SELECT * FROM foo; foo中有数百万行,因此此操作需要一些时间 如果我在执行上述过程中重复执行以下查询: use information_schema select table_name, TABLE_ROWS from tables where table_name IN ('foo','bar'); 我看到了以下进展: +------------------

如果我发出以下命令:

CREATE TABLE foo LIKE bar;

INSERT INTO bar SELECT * FROM foo;
foo中有数百万行,因此此操作需要一些时间

如果我在执行上述过程中重复执行以下查询:

use information_schema
select table_name,  TABLE_ROWS  from tables where table_name IN ('foo','bar');
我看到了以下进展:

+---------------------------------+------------+
| table_name                      | TABLE_ROWS |
+---------------------------------+------------+
| foo                             |   21270328 |
| bar                             |    5292482 |
+---------------------------------+------------+
再过一会儿:

+---------------------------------+------------+
| table_name                      | TABLE_ROWS |
+---------------------------------+------------+
| foo                             |   21270328 |
| bar                             |    3422182 |
+---------------------------------+------------+

为什么这个数字会减少?

如文档中所述,“对于InnoDB表,行数只是SQL优化中使用的粗略估计。”。。。我的错。谢谢你的回答。然而,有趣的是,它正在减少。