SELECT COUNT(*) FROM `key_hash`
provides you with exact row count.
What you see in summary (162,230) is just estimation (hence ~
sign)
Here is more detailed explaination
Why is the estimated rows count very different in phpmyadmin results?
题
I just created a table and ran a program which should add 170,256 rows.Then I checked the number of rows using PHP MyAdmin GUI. Below is the image.
According to the "Rows" column, I got only 162,230 rows! Then I ran the below query
SELECT COUNT(*) FROM `key_hash`
This generated the below result, which should be correct.
So my question is, how come the same thing display 2 different values? How should I know which is correct?
解决方案
SELECT COUNT(*) FROM `key_hash`
provides you with exact row count.
What you see in summary (162,230) is just estimation (hence ~
sign)
Here is more detailed explaination
Why is the estimated rows count very different in phpmyadmin results?