I am in the process of writing a Django/Python based app and I want to avoid writing code or making more requests to my DB than I have to. Would it be unreasonable to store a piece of data already stored at a higher level in a lower level so that it is easier to access from the lower level?
Hopefully that was clear – please tell me if you need clarification.
Thanks!
It may be useful to partially denormalize a database if the calculations required are extremely lengthy or complex, but it should only be done after other attempts to optimize have had little or no success, and only sparingly.