Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2005
    Posts
    46
    Plugin Contributions
    0

    Default Two sets of attributes for 350.000 products

    Hello,

    I have a Zencart running (1.3.7) with > 350.000 products.
    These products can be either of type A or B.

    Now I would like to add a different set of product attributes for each type.

    I know how to set this up according Linda's tutorial:
    https://www.zen-cart.com/tutorials/index.php?article=57

    However, if each set would contain fe. 3 attributes, this means that I have to add 3x350.000=1.050.000 attributes in the product attributes table! This seems rather inefficient to me since the attributes set is the same for every product, depending whether the product is of type A of B

    I was wondering whether this could be done in a more efficient way.

    I hope you get my point. Any ideas/pointers/suggestions? Many thanks in advance!!!!

    Best regards,
    Bert Hiddink

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

    Default Re: Two sets of attributes for 350.000 products

    MySQL is very good at handling large databases, much larger than yours. So this may not be as a big a deal as it sounds (subject to server power). The important fields in the product_attributes table are all properly indexed, which will also help.

    If you wanted to streamline things a bit, you could look at attribute table fields that you aren't using, such as the stuff about weight maybe, and remove them from the table and all references to them from your code.
    Kuroi Web Design and Development | Twitter

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

 

 

Similar Threads

  1. Multiple Sets of Attributes
    By TAIHCM in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 2 Feb 2012, 01:39 PM
  2. for only two attributes ID
    By bear1728 in forum General Questions
    Replies: 0
    Last Post: 16 Sep 2009, 05:11 PM
  3. Optimize database for 12 000 + products
    By mat123slade in forum General Questions
    Replies: 0
    Last Post: 20 Feb 2008, 04:48 PM
  4. Replies: 19
    Last Post: 9 Jun 2007, 12:28 AM
  5. 350 Attributes per Product
    By Nictech in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 Mar 2007, 04:43 AM

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