I have a doubt, is best, in term of performance, retrieving from a large database (50k+ rows growing) on MySQL a "calculated" data or perform the calculus on the fly?
The calculus are simply division and multiplication of some data yet retrieved from DB, but a lot of data (minimum ~300 calculus per load).
Another note, this "page" can be loaded multiple times (it's not an only one-load).
I think that calculate the value (e.g. using a background task) and then only retrieving from a DB is the best solution in term of performance, right?
There is a lot of difference in the two approach?