Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sonicgear1
· 4y ago · 0 comments
Wouldn't querying the count be slow using a WHERE clause?
Comments
[–]
LesZedCB
4y 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
[–]
Andys
4y ago
There's only dozens (or at most ~100) rows.