Skip to main content
4 events
when toggle format what by license comment
Jul 19, 2012 at 9:00 vote accept ottel142
Feb 19, 2012 at 22:55 answer added jacobm timeline score: 2
Feb 19, 2012 at 22:21 comment added S.Lott Step 1. Define more precisely what you're worried about. If you run such a query once each day, then the cost is miniscule. You can waste more time trying to optimize it than you would actually save. Step 2. Are you asking about "precomputing" your statistics? That is, incrementing some bunch of counters for each access? Updating a bunch of count rows might be more costly than a query. Step 3. Measure. Try both and compare.
Feb 19, 2012 at 21:42 history asked ottel142 CC BY-SA 3.0