PHPMyAdmin - Total record count varies

前端 未结 1 1706
执念已碎
执念已碎 2020-12-03 22:48

I am running a request on a table of records with phpmyadmin, and the results count varies. For example, when showing the results it says \"Showing records 1 - (~180,234 )\"

相关标签:
1条回答
  • 2020-12-03 23:15

    For InnoDB tables, from phpMyAdmin's FAQ:

    phpMyAdmin uses a quick method to get the row count, and this method only returns an approximate count in the case of InnoDB tables. See $cfg['MaxExactCount'] for a way to modify those results, but this could have a serious impact on performance.

    http://docs.phpmyadmin.net/en/latest/config.html?highlight=maxexactcount#cfg_MaxExactCount

    0 讨论(0)
提交回复
热议问题