title: Magento - huge number of db queries x page
body: <p>I would to know what is the right average number of db queries in a standard installation of magento for catalog pages, because I think to have a big problem with my pages.</p>
  
  <p>My catalog page does about 2000 queries! This is too much and I think that is the reason that my pages are so slow.</p>
  
  <p>Furthermore if you open magento toolbar (at top right) and open queries's table, you can see that more queries are executed many times, query like this:</p>
  
  <pre><code>SELECT `eav_attribute_set`.* FROM `eav_attribute_set` WHERE (eav_attribute_set.attribute_set_id='10') 
  </code></pre>
  
  <p>And it seems to be a loop.</p>
  
  <p>Now I have to find the problem, maybe some bad extension or bad custom code, but what could be the right number of queries for catalog pages?</p>