When COUNT(*)(without any conditions WHERE) it starts to take more than 10 seconds, when I usually cancel the request and start using system tables from now on. Obviously, if there are conditions WHERE, you can get an answer only through COUNT(*)(or COUNT(<column>))
Once the table is large enough to COUNT(*)not work well, you don't need an exact answer at all.
source
share