Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's just an estimate for the query engine, not a true row count. But good enough for a progress bar.

From http://dev.mysql.com/doc/refman/5.0/en/tables-table.html:

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



If you run it a dozen times, it converges on the truth.


aha, thanks




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: