Forums / Developer / Database scalability / Comment67129
Sao Tavi
Sunday 03 April 2011 4:31:00 am
So... after trying again I eventually understood that I can add fields to the unique index and that is what was lacking to make partitioning work.
The new problem is: I partitioned ezcontentobject after contentclass_id but I cannot find contentclass_id in any of the tables ezcontentobject_version and ezcontentobject_attribute. Maybe I am missing something?
PS: I found the id in ezcontentclass_attribute as contentclassattribute_id. This makes things a little bit more complicated, but it still works. On the other hand, I cannot see anything useful in ezcontentobject_version... Maybe here a "blind" partitioning after the id with partitions smaller than 200 000 ?
Sorry for asking so many questions, I am still in learning stage.