The savings table can grow incredibly large very fast. To accommodate this a solution could be to compact all savings rows after a certain date.
Say you have 1,000,000 rows that are created more than a year ago. Then you can combine all these rows into one row and sum the fields.
The savings table can grow incredibly large very fast. To accommodate this a solution could be to compact all savings rows after a certain date.
Say you have 1,000,000 rows that are created more than a year ago. Then you can combine all these rows into one row and sum the fields.