Author Topic

Ivo Lukac

Monday 28 March 2011 1:05:05 am

Comment66949

Hi,

You need to know few things before you decide:

- every attribute goes into one row in ezcontentobject_attribute table. Meaning: 3 millions elements, each having 6 fields = 18 million rows

- these rows are further growing by each version (default max 10 per object) and translation (depends on number of languages)

- to have more few thousands objects with the same parent node would be heavy to cache system (clearing, etc.)

You need to first decide:

- do you need versions?

- do you need translations?

- do you need hierarchy (like a node tree)

- are there any standard node features needed (view cache, same editor experience, etc..)?

My 2 choices would be to:

- create a special module & separate table if "no" is the answer for 4 questions above (no object, no nodes)

- otherwise create a separate table and make a single datatype which uses those tables + set max 2 version for the class using the datatype + separate object in more folders so you don't get 100000 nodes with same parent (objects & nodes, but with single datatype)

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac