Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2008
    Posts
    12
    Plugin Contributions
    0

    Default Insane Query Amount

    Hello,

    I'm setting up a Scottish Goods site, and many of the products will have quite a good number of different patterns available. After setting up the appropriate attributes, I've assigned a selection of around 450 different tartans (each their own basic attribute) to a product, and I have quite a dilemma:

    Parse Time: 122.894 - Number of Queries: 10115 - Query Time: 121.50863141333


    Does ZenCart simply not handle high numbers of attributes on a product well? Is there a more appropriate way to handle this without splitting the product into "Product with Tartans A-C", etc? I cannot afford to have customers wait two minutes for a single product page to load, regardless of the quality.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Insane Query Amount

    Unfortunately large numbers of attributes can create problems in certain circumstances. If it would be feasible to break the kilts into smaller groups it would be advisable.

    Zen Cart version 1.4 will take care of this problem. It is due to be released later this year.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Mar 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Insane Query Amount

    Later as in 2nd Quarter? 3rd? Or "When it's ready?"

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Insane Query Amount

    Zen Cart releases are always "when ready". Kim's statement above is the most specific that I can remember from a Zen cart team member about when a release would appear!

    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Mar 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Insane Query Amount

    Unfortunately, that's not the answer I had hoped for. I need a cart that can handle a large number of attributes sooner rather than later. I am quite impressed with ZenCart, as a cart as a whole, not just a "free" cart, but, alas, it is not to be. I can wait until the end of the second quarter, hence my question about availability. It looks, though, that I will need to look elsewhere.

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Insane Query Amount

    you could also get the host to tune the server a little for you,

    this isnt quite as high as your but you can see that the numbers are pretty good for this kinda queries

    Parse Time: 0.965 - Number of Queries: 4115 - Query Time: 0.629150205338

    PM me for the link to this site

    Here is another one

    http://www.carbonless.net/carbcart/i...oducts_id=1831
    Parse Time: 0.969 - Number of Queries: 4126 - Query Time: 0.621479456787

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Insane Query Amount

    The attribute-related queries aren't particularly onerous, quite the opposite, so there's no reason to believe that the figures provided by Merlin wouldn't scale linearly for you. As they clearly don't, his suggestion that you investigate your hosting setup would seem to be the most appropriate first step, otherwise it's possible that no cart (even an enhanced Zen Cart one) will deliver the performance that you need.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #8
    Join Date
    Mar 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Insane Query Amount

    I have been experimenting with the mysqld variables and have found that I can reduce the time for my 10k+ queries down to about 15 seconds reliably through the use of query caching. If I can further reduce this to under 8 seconds through other variable tweaks that would hold me over until version 1.4 comes out which will in theory handle large numbers of attributes better.

  9. #9
    Join Date
    Mar 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Insane Query Amount

    As an update, I am currently running approximately 16k+ queries under 3 seconds. While not instantaneous, I don't think customers will run away screaming...

    Parse Time: 3.783 - Number of Queries: 16301 - Query Time: 2.8590375348358

 

 

Similar Threads

  1. Being driven insane bu shipping
    By newmannewy in forum Built-in Shipping and Payment Modules
    Replies: 13
    Last Post: 22 Oct 2013, 11:19 PM
  2. v138a Get amount of returned rows with $query->EOF ?
    By joecooper in forum General Questions
    Replies: 2
    Last Post: 15 Feb 2012, 11:20 PM
  3. i must be going insane...
    By khopek in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Sep 2006, 05:53 AM
  4. going insane..
    By chufty bill in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Sep 2006, 03:07 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