> How often do you design a database query to get the count of all rows from a table?
Any time I paginate a list, so it can show the "x of y pages"?
Any time I paginate a list, so it can show the "x of y pages"?
A search makes more sense here.
Not much, but that doesn't mean folks won't.
https://stackoverflow.com/questions says "17,335,212 questions " and the pagination goes "1 2 3 4 5 … 346705", if you want a real-world example.