This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » Reduce ezcontentobject_attribute...

Reduce ezcontentobject_attribute table size

Reduce ezcontentobject_attribute table size

Tuesday 29 March 2011 3:40:48 am - 2 replies


I am working on small website (600 objects, two languages) and my ezcontentobject_attribute is getting bigger and bigger (around 60 Mo).

I would like to make this table lighter. What would be your choice to achieve this ?

Thank you for your help.


Tuesday 29 March 2011 9:28:32 am

Simplest thing you can do is execute flatten.php to remove all archived versions. Additionally you can reduce number of archived versions so they get disposed quicker.

More advanced would be to revise attributes number in your classes with most objects. Maybe there are some attributes which are not used, or they can be squeezed in less number, or you can extract them into separate objects.

Tuesday 29 March 2011 10:22:03 am

Thanks for your reply. I will use flatten.php and reduce number of archived versions.



You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from