1 comment

[ 5.7 ms ] story [ 18.5 ms ] thread
I think the actual lesson here is to use a real database, on a server. Counting 200K rows, even with long keys, takes less than a millisecond on a low-end MySQL instance.