script updateniceurls.php resource consuming

Author Message

Fabien Scantamburlo

Tuesday 13 April 2010 3:59:48 am

Hi,

I run an article import.During the import I had to add locations for the articles. But, all added locations have wrong url alias [content/view/full/<node_id>].

In log files, I have the message inviting me to run the updateniceurls.php to fix it.

So the script is really resource consuming !

Is there any way to run this script only for node that require ? any option ?

I tried to use the --fetch-limit(=50) in order to reduce the load average but in vain... It still remain to heavy

Thanks,

Fabien.

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 02:04:27
Script start
Timing: Jan 18 2025 02:04:27
Module start 'layout'
Timing: Jan 18 2025 02:04:27
Module start 'content'
Timing: Jan 18 2025 02:04:27
Module end 'content'
Timing: Jan 18 2025 02:04:27
Script end

Main resources:

Total runtime0.8869 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 588.0469152.6406
Module start 'layout' 0.00930.0042 740.687539.4766
Module start 'content' 0.01350.8714 780.1641433.1719
Module end 'content' 0.88490.0019 1,213.33598.1250
Script end 0.8868  1,221.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4323160.0002
Check MTime0.00170.1930160.0001
Mysql Total
Database connection0.00120.136610.0012
Mysqli_queries0.838894.5806460.0182
Looping result0.00050.0537440.0000
Template Total0.847795.620.4239
Template load0.00210.232420.0010
Template processing0.845795.350120.4228
Template load and register function0.00020.017010.0002
states
state_id_array0.00100.107110.0010
state_identifier_array0.00160.185120.0008
Override
Cache load0.00160.1843120.0001
Sytem overhead
Fetch class attribute can translate value0.00070.078310.0007
Fetch class attribute name0.00080.088620.0004
XML
Image XML parsing0.00180.208010.0018
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00240.2715160.0002
String conversion0.00000.001440.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs