Tag: n+1 problem

Data, General

A few thoughts about normalization and N+1 problem


N+1 problem Recently I was optimizing some methods that were using Entity Framework to get some entities from database. I’ve put Stopwatch and started to measure performance gain. Saying that the query was not optimal is not enough. It was terrible. What drew my attention the most was the fact that after the query finished, …