Do you think it\'s a good idea to count entries from a really big table (like 50K rows) on each page load?
SELECT COUNT(*) FROM table
Right
It can be. According to this forum PostgreSql will do an entire scan of the database to figure out the count.