EzPublish DB : 100 mo

Author Message

Nabil Alimi

Thursday 04 August 2005 4:03:02 am

Hi,

While performing a backup, I've noticed that the database of my site was 100 MBytes large. Is that "normal" ? The biggest part of it is the table <b>ezsearch_object_word_link</b> which is 85 MB large.

Is there a way to reduce it without disturbing Ezpublish functions ?

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Gabriel Ambuehl

Thursday 04 August 2005 5:14:27 am

ezsearch_object_word_link is only used for the search function. I think you could skip the data in that table if you're content with regenarating your search indexes after a reinstall of the backups.

However, try compressing your MySQL dump. It will likely be muuuch smaller after that. SQL statements can be compressed very well.

Visit http://triligon.org

Nabil Alimi

Friday 05 August 2005 3:58:56 am

But I can I freely truncate this table ? Won't it damage my installation ? I'd like to just to light my database.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Gabriel Ambuehl

Friday 05 August 2005 4:50:24 am

Well if you truncate it, searching won't work until you regenerate search index.

Visit http://triligon.org

Xavier Dutoit

Friday 05 August 2005 7:03:01 am

Search indexes take a lot of space.

You can disable the search feature if you want to save space or try an external search engine (ez has plugs in). However, that's likely that it's going to take space too, but into another storage than your DB.

You can safely not backup this table, and in the case you have to restore, regenerate the index.

This being said, don't trust anyone on backup issues and you'd be wise to pratice restore before you really need it.

The last sentence is a definitive proof that I'm not wise, in case anyone wonders ;)

http://www.sydesy.com

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 19 2025 11:45:43
Script start
Timing: Jan 19 2025 11:45:43
Module start 'layout'
Timing: Jan 19 2025 11:45:43
Module start 'content'
Timing: Jan 19 2025 11:45:43
Module end 'content'
Timing: Jan 19 2025 11:45:43
Script end

Main resources:

Total runtime0.0273 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.0079 589.1563152.6250
Module start 'layout' 0.00800.0050 741.781339.4453
Module start 'content' 0.01300.0121 781.226693.2422
Module end 'content' 0.02510.0022 874.468838.3047
Script end 0.0272  912.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00269.5251140.0002
Check MTime0.00114.0291140.0001
Mysql Total
Database connection0.00124.366610.0012
Mysqli_queries0.004315.813230.0014
Looping result0.00000.098810.0000
Template Total0.00186.510.0018
Template load0.00093.197810.0009
Template processing0.00093.245010.0009
Override
Cache load0.00062.310510.0006
General
dbfile0.00031.118180.0000
String conversion0.00000.047240.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