Sometimes when you use Symfony and Doctrine you may notice that the amount of queries can rise pretty quickly. Sometimes this only becomes apparent after adding enough dummy data, but a good programmer knows where the weak points are. There are three major pitfalls here. I’ve written about each and their solution.