1 comment

[ 0.35 ms ] story [ 29.3 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.