125k Products My Store Grounds to a Halt
Earlier this morning I sent a catalog file of 127k products, and my site and admin are now verrrry slow. I emailed my certified host; Camelot, and they said this is strictly a Zen Cart issue. I enabled Gzip compression and changed both of the category counts to false. However, the parse times are still between 10-27 seconds. On my existing site and server (Volusion) I have 200k products and my site is much faster.
Please help, I have another 275k products to go. What else can I do to the site? is there a hosting solution for this? Someone once told me thay had 1 million products on Zen Cart and it was lightning quick. Of course that is what I want.
Here is the link to the dev site. I am still working on the header, and I still have to upload my product images.
http://209.85.34.64/
Thanks for your help!
Re: 125k Products Store Grounds to a Halt!
BTW...this is the category that has the slowest load (most products are here).
http://209.85.34.64/index.php?main_page=index&cPath=13
Re: 125k Products My Store Grounds to a Halt
actually kb you told me that your admin was slow,
that is zen cart,
after hitting the link you posted it is slow,
no Idea why,
10 seconds for 1077 queries
but on the same note here is a link from a page on the same server, with 3925 queries and a query time of 0.565
http://www.carbonless.net/carbcart/i...roducts_id=725
So lets dig a little deeper, are you calling anything from an 0utside source?
Re: 125k Products My Store Grounds to a Halt
The manufacturers sidebox is humongous. Try turning it off, as it's taking a long time to render so many pulldown-menu choices simply due to the size of the HTML generated by that list.
Re: 125k Products My Store Grounds to a Halt
Additionally, do you have any sales active? or Specials? or Features?
If so, turn those off for now.
Next, are you using attributes on any of your products? If not, there are some things you can turn off in Admin->Configuration->Attribute Settings: Turn off all the things that start with "Enable ..." if they don't apply to your products. This can help reduce the number of database hits used.
Where did you get your template? Did installing your template change any other system files outside the /includes/templates folder?
What addons have you installed, if any?
Re: 125k Products My Store Grounds to a Halt
Thanks for the responses.
Merlin, I guess you answer the Camelot emails? You may have missed it, but my original message said the site and admin are slow. No, I am not calling anything from an outside source. It started getting slow as soon as I added the large catalog.
WHile adding the catalog, I thought that the manufacturer box would be a good way to list the 7k+ artists. I will take DrByte's advice and turn it off and see if that helps.
I am not yet using any attributes, but I will soon. As for the template, I had a custom design done. Don't know much about what he did (I guess I should), but nothing has been done in the last week. Again, it started after the catalog upload.
Thanks for the tips, and I appreciate the responses. Any other ideas are welcome.
Re: 125k Products My Store Grounds to a Halt
I turned off the manufacturer box and the link above had the following stats:
Parse Time: 19.655 - Number of Queries: 1064 - Query Time: 13.1071200768
ANy other ideas are appreciated.
Re: 125k Products My Store Grounds to a Halt
You have 131474 new products ...
What version of Zen Cart are you running?
In old versions of Zen Cart the new products query was very slow ...
You can also test for what is slowing things down by first turning off the Left Column Globally ... test ... then turn off the Right Column Globally ... test ... then turn off the Centerboxes ... test ...
The Columns can be turned off in the Layout Settings and the Center boxes can be turned off in the Index Listing ...
Re: 125k Products My Store Grounds to a Halt
Adding to Ajeh's comment about New Products, you could go to Admin->Configuration->Index Listing ... and for each of the entries that talks about New Products, set it to 0 for now.
This will turn off the New Products For The Month centerbox ... making things calculate more quickly.
Re: 125k Products My Store Grounds to a Halt
Ok, this has been some great advice!
I experimented and it seems all the boxes with "new", are really slowing the sight down. I turned all of them off and most pages are loading fast, with the exception of the one link above which is about 4.5 seconds. Under this link there are 125k products, in various categories.
As I said before Is till have more products to add which will also go under here. Should I place these cats on the main page (which will add to the size of ctegory box)?
Side question, can Zen Cart really handle this many products?