remove all keywords

Author Message

P O

Saturday 06 February 2010 3:51:22 am

Hello. I would like to remove all keywords from my site, is it safe to just remove all entries from ezkeyword and ezkeyword_attribute_link tables ? or maybe there is some script to do that ?

Robin Muilwijk

Saturday 06 February 2010 12:54:56 pm

Hi,

I just tried this on a localhost with a clean eZ Publish 4.2 install including sample data which also contains keywords. What I did was use phpMyAdmin to empty both tables. As far as I can tell, there was no real impact on anything else. Keywords were all gone, and I was able to add new keywords again.

If you read this: http://ez.no/doc/ez_publish/technical_manual/4_x/reference/datatypes/keywords, I can't see any major impact to the rest of eZ when you empty those tables.

But... I'm not that experienced yet with eZ, so I might be overlooking something which uses the keywords which might break on removing this data. This is at your own risk, I'd make sure to backup the data from those tables ;)

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

P O

Saturday 06 February 2010 1:09:41 pm

All right, thanks I'll try it out :)

Robin Muilwijk

Tuesday 09 February 2010 2:59:46 am

Hi,

Out of curiosity, did this work for you?

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

P O

Tuesday 09 February 2010 12:17:40 pm

Hello!!

On my 4.1.3 ver. it seems to cause no problem ... :)

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

Main resources:

Total runtime0.6054 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.7891152.6094
Module start 'layout' 0.00490.0024 740.398439.4297
Module start 'content' 0.00730.5967 779.8281556.1563
Module end 'content' 0.60400.0014 1,335.984412.1875
Script end 0.6054  1,348.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4907160.0002
Check MTime0.00120.2023160.0001
Mysql Total
Database connection0.00070.114810.0007
Mysqli_queries0.556991.9885630.0088
Looping result0.00060.0999610.0000
Template Total0.579095.620.2895
Template load0.00180.296320.0009
Template processing0.577295.341320.2886
Template load and register function0.00020.025610.0002
states
state_id_array0.00080.125010.0008
state_identifier_array0.00130.220020.0007
Override
Cache load0.00140.2385210.0001
Sytem overhead
Fetch class attribute can translate value0.00060.094520.0003
Fetch class attribute name0.00130.217560.0002
XML
Image XML parsing0.00070.121120.0004
class_abstraction
Instantiating content class attribute0.00000.003370.0000
General
dbfile0.00090.1521180.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs