PHPMyAdmin - 总记录数不同 [英] PHPMyAdmin - Total record count varies

查看:464
本文介绍了PHPMyAdmin - 总记录数不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用phpmyadmin在一个记录表上运行请求,结果计数不同。例如,当显示结果时,显示显示记录1 - (〜180,234)。

此数字每次刷新时都会更改,并且不会添加或删除任何数据。

当我对记录执行SQL请求时,结果保持不变。这是phpMyAdmin的问题吗?

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 )".
This number changes each time I refresh, and no data is being added or removed.
When I do a SQL request for the record, the result stays the same. Is this an issue with phpMyAdmin?

推荐答案

对于InnoDB表,从phpMyAdmin的常见问题:

For InnoDB tables, from phpMyAdmin's FAQ:


phpMyAdmin使用快速方法获取行数,并且此方法只有
在InnoDB表的
情况下返回一个近似计数。参见
$ cfg ['MaxExactCount']一个到
的方法来修改这些结果,但这可能会对性能造成严重的影响。

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

这篇关于PHPMyAdmin - 总记录数不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆