MySQL gives fluctuating row count when I query schema?

后端 未结 4 2079
春和景丽
春和景丽 2020-12-06 04:36

Here I am pressing up and running the same command on my dev DB on my laptop, over and over;

mysql> select count(*) from tblTraceOutput;
+----------+
| co         


        
4条回答
  •  无人及你
    2020-12-06 05:08

    If you're using InnoDB as the storage engine, the number of rows is an estimate.

    For InnoDB tables, the row count is only a rough estimate used in SQL optimization. 
    

    Source

提交回复
热议问题