我正在使用 phpmyadmin 对记录表运行请求,结果计数有所不同。例如,显示结果时显示“显示记录 1 - (~180,234 )”。
每次刷新时此数字都会更改,并且不会添加或删除任何数据。
当我对记录执行 SQL 请求时,结果保持不变。这是 phpMyAdmin 的问题吗?
最佳答案
对于 InnoDB 表,来自 phpMyAdmin 的常见问题解答:
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
关于sql - PHPMyAdmin - 总记录数各不相同,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59237971/