Hacker News new | past | comments | ask | show | jobs | submit login

Regarding the performance - you can add triggers writing to additional table with a sum, or maintain that table in the code that adds rows, or calculate it each time you want to know the sum.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: