Help needed - Very slow object creation for one particular user

Author Message

Brendan Pike

Tuesday 25 May 2004 12:51:33 am

Today it seemed something was corrupted in our database, when this particular user creates a new object that uses the matrix datatype the page takes 20 seconds to load but for all other users only 2 seconds! I have cleared / disabled all caching without success. Where do I even start to looking for the answers to this problem?

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Bård Farstad

Tuesday 25 May 2004 1:43:08 am

First enable debug, sql output and debug redirection. See if you can figure out which part takes much time. Check if it's database calls, if so which? Template processing? Other?

-bård

Documentation: http://ez.no/doc

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

Main resources:

Total runtime0.7677 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.4141152.6563
Module start 'layout' 0.00780.0027 742.070339.5078
Module start 'content' 0.01060.7557 781.5781519.8750
Module end 'content' 0.76630.0014 1,301.45318.0938
Script end 0.7677  1,309.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5263160.0003
Check MTime0.00150.1901160.0001
Mysql Total
Database connection0.00140.180010.0014
Mysqli_queries0.721994.0335540.0134
Looping result0.00060.0832520.0000
Template Total0.733095.520.3665
Template load0.00360.464120.0018
Template processing0.729495.003620.3647
Template load and register function0.00020.020510.0002
states
state_id_array0.00090.116810.0009
state_identifier_array0.00080.104620.0004
Override
Cache load0.00300.386280.0004
Sytem overhead
Fetch class attribute can translate value0.00050.069620.0003
Fetch class attribute name0.00100.133530.0003
XML
Image XML parsing0.00060.077820.0003
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00140.1877170.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs