How to speed up select count(*) with group by? It\'s too slow and is used very frequently. I have a big trouble using select count(*)
select count(*)
group by
test count(myprimaryindexcolumn) and compare performance to your count(*)