Y
Hacker News
new
|
ask
|
show
|
jobs
by
sonicgear1
1412 days ago
Wouldn't querying the count be slow using a WHERE clause?
2 comments
LesZedCB
1412 days ago
it was indexed which should help, but i assume that the reads are far less common than the inserts. reads could even be scheduled/automated and stored in a cache table if they need to be faster and ok being a little stale
link
Andys
1411 days ago
There's only dozens (or at most ~100) rows.
link