3 ms·
This must be a mistake that you do once as a junior and then never repeat. When you declare a field with collection, would not it be natural to ask how it works
by ivan_gammel 3y ago
This must be a mistake that you do once as a junior and then never repeat. When you declare a field with collection, would not it be natural to ask how it works?
- spyke112 3y agoDefinitely! The problem though, is that this issue creeps up on you over time, and maybe only i production, because the performance is directly correlated to the amount of data in the database. But I guess issues like these are what transition you from junior developer into whatever comes next.
- theshrike79 3y agoExactly, nobody bothers checking what kind of queries the ORM produces. The stuff works on dev (with 1% of the data prod has) and they get merged. Then it goes to production and everything grounds to a halt because some bit in there fetches a 100M row table that was 10k rows in dev.