Reduce ezcontentobject_attribute table size

Author Message

Paul Etienney

Monday 28 March 2011 6:40:48 pm

Hello,

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.

Bye

-- Good websites creation --
My site : http://www.pauletienney.com
Twitter : http://www.twitter.com/p_etienney

Ivo Lukac

Tuesday 29 March 2011 12: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.

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

Paul Etienney

Tuesday 29 March 2011 1:22:03 am

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

Bye

-- Good websites creation --
My site : http://www.pauletienney.com
Twitter : http://www.twitter.com/p_etienney

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:54:05
Script start
Timing: Jan 30 2025 00:54:05
Module start 'layout'
Timing: Jan 30 2025 00:54:05
Module start 'content'
Timing: Jan 30 2025 00:54:05
Module end 'content'
Timing: Jan 30 2025 00:54:05
Script end

Main resources:

Total runtime0.0187 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.2656151.2266
Module start 'layout' 0.00610.0028 739.492236.6875
Module start 'content' 0.00890.0083 776.179790.1094
Module end 'content' 0.01730.0014 866.289133.9766
Script end 0.0187  900.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002513.6158140.0002
Check MTime0.00126.2606140.0001
Mysql Total
Database connection0.00084.452410.0008
Mysqli_queries0.003116.697030.0010
Looping result0.00000.059910.0000
Template Total0.00105.510.0010
Template load0.00084.147810.0008
Template processing0.00021.330410.0002
Override
Cache load0.00062.965310.0006
General
dbfile0.003820.138980.0005
String conversion0.00000.021740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs