title: Doctrine 2 getResult() takes a lot of time
body: <p>I work on symfony 2 app using doctrine 2. My code is:</p>
  
  <pre><code>$userSites = $this-&gt;getDoctrine()-&gt;getManager()
              -&gt;createQuery('SELECT us, s FROM MyMainBundle:UserSite us JOIN us.site s WHERE us.user = :user_id')
              -&gt;setParameter('user_id', $user_id)
              -&gt;getResult();
  </code></pre>
  
  <p>It returns usually about 7000+ records. When I pass this query directly to mysql (using getSql() and paste to phpmyadmin) it takes 0,008s. But getResult() takes about 20-30 sec. :( Why? Can I speed it up?</p>