Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Jan 2009
    Posts
    126
    Plugin Contributions
    0

    Default Re: Performance Issues on site with many products

    Hi DrByte,

    I spent a bit of time doing many of the items on the advice, spotted that a while back and tried it and in fairness it helped a little but not dramatically.

    I just did the culprit page twice and got the following page/query parse times although I will say that both these attempts were considerably quicker than earlier in the day as you can see on this occasion taking 73-81 seconds whereas earlier my timer had got to 5mins before I gave up waiting!

    Parse Time: 71.205 - Number of Queries: 33668 - Query Time: 10.3930005425
    Parse Time: 68.176 - Number of Queries: 33668 - Query Time: 4.74085211569

    Interestingly the home page has the following response:

    Parse Time: 0.125 - Number of Queries: 72 - Query Time: 0.0332261366882

    and the search:

    Parse Time: 2.672 - Number of Queries: 590 - Query Time: 2.56255935788

    Finally a product page:

    Parse Time: 0.229 - Number of Queries: 210 - Query Time: 0.0661982624664

    It seems the biggest problem has to be the sheer number of queries! Is there any reason that it should be doing 33k + queries just to open up a category?

  2. #12
    Join Date
    Jan 2009
    Posts
    126
    Plugin Contributions
    0

    Default Re: Performance Issues on site with many products

    P.S. I have left the query times bugger active in case it helps anyone else in responding to this!

  3. #13
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Performance Issues on site with many products

    You say it's the number of queries, but the actual query time is only 10 seconds, vs 71 seconds of overall page-processing time. Subtract the 10 seconds from the 71, and you're left with 61 seconds to receive all the data back from the database, process it, and then output all the required information to the browser.

    Sure, reducing the number of queries would help, but I'm pointing out the fact that you're misreading the numbers.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #14
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Performance Issues on site with many products

    Do you have access to slow-query-log output from MySQL, specific to your site?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Jan 2009
    Posts
    126
    Plugin Contributions
    0

    Default Re: Performance Issues on site with many products

    Unfortunately I don't think so, something I have to ask the host about? 10 seconds still seems like a long time even though it is only small in comparison to the other 61 seconds, ideally every page should load within a second or two. Most people get bored of waiting after 10!

  6. #16
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Performance Issues on site with many products

    Something appears to be looping through every product in your subcategories for some reason. Without knowing A LOT MORE about your store, all your present admin settings, all your installed addons, etc, I can't really help you with what settings to fix.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #17
    Join Date
    Jan 2009
    Posts
    126
    Plugin Contributions
    0

    Default Re: Performance Issues on site with many products

    So what would you recommend as the next step?

  8. #18
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Performance Issues on site with many products

    slow-query-logs

    And a list of all your addons, all the settings you've changed and why, what things you've NOT done from the articles I suggested earlier, etc.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #19
    Join Date
    Jan 2009
    Posts
    126
    Plugin Contributions
    0

    Default Re: Performance Issues on site with many products

    Have pmed you a list of add ons and details for you to look into it more.

    If anything is found out about a possible cause I will add it onto here later.

  10. #20
    Join Date
    Jan 2009
    Posts
    126
    Plugin Contributions
    0

    Default Re: Performance Issues on site with many products

    Problem now fixed, after DrBytes recommendation I turned off the following unused things and it reduced the queries to 78 and the problem blew away, virtually instantaneous now!

    Parse Time: 0.137 - Number of Queries: 78 - Query Time: 0.0447775079193

    - Show Featured Products on Main Page - Category with SubCategories

    - Show Special Products on Main Page - Category with SubCategories

    - Show Upcoming Products on Main Page - Category with SubCategories

    - and maybe also: Show Featured Products on Main Page

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Site performance issues - really need advice
    By cmavroudis in forum General Questions
    Replies: 8
    Last Post: 24 May 2011, 11:31 AM
  2. CEON URI Mapping - Site Performance Issues
    By mned in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 24 Feb 2011, 12:04 PM
  3. Need help Desperately with many different issues!!
    By welchyboy in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Sep 2008, 03:44 PM
  4. Performance issues with large category
    By cablesimple in forum General Questions
    Replies: 8
    Last Post: 7 Dec 2007, 01:04 AM
  5. Replies: 9
    Last Post: 22 Mar 2007, 07:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg