title: Unbelievably Slow GitLab with MySQL
body: <p>I manage a large GitLab server, with multiple large repos.  </p>
  
  <p>Performance has been very inconsistent, but most of the time it is very, very slow. In larger projects, where we have 50+ branches, it takes almost an entire minute to access the 'merge requests' page, or the 'branches' page itself. </p>
  
  <p>The logs don't appear to reveal much - if I need to provide any please let me know.<br>
  I have tried to restart the server and manually '<code>git gc</code>' each repo, to no avail. </p>
  
  <p>The front page of GitLab also takes forever to load.<br>
  We connect to a MySQL database and were wondering if perhaps that is contributing to the lag.</p>
  
  <p>At this point I'm not sure what is causing the lag and how to determine it.<br>
  I would love any help. Please let me know if I can give anymore information.</p>