database transactions

Author Message

Brendan Pike

Tuesday 22 March 2005 10:54:17 pm

In a development site I enabled InnoDB using the ezconvertmysqltabletype.php script. Interestingly it converted many non-eZ publish tables I was using inside the database also. For some reason a few eZ publish tables were not converted and continue to use MyISAM these are, ezcontentobject_tree, ezimagefile, eztrigger and ezurlalias. Is this intentional?

www.dbinformatics.com.au

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

Frederik Holljen

Wednesday 23 March 2005 12:28:48 am

Hi,

I've notified the developer who made the script about this message (I unfortunately don't know the answer to your problem). He's left for eastern holidays however, so he won't be able to answer you until next week.

Frederik

Brendan Pike

Wednesday 23 March 2005 5:38:53 am

Thanks for the heads up Frederik

I'll sit tight for now, I also found that trying to move a user to a new user group while editing the user results in a fatal error with a transaction related message. Although moving the user's location from outside the user works fine. Feels like a half implemented thing so I wont submit a bug report yet.

www.dbinformatics.com.au

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

Raymond Bosman

Wednesday 30 March 2005 1:45:07 am

Hi Brendan,

Thanks for your notification. It was indeed not the intension to convert the non-eZ publish tables, which is fixed in the trunk.
However it is not intentional to leave the tables: ezcontentobject_tree, ezimagefile, eztrigger, and ezurlalias unconverted. I discovered that MySQL crashes sometimes while converting a large table. Can you check your mysqld error log, to see whether this is the reason why some tables are skipped?

You also found a bug while moving a user to a new user group. Probably the reason why this fatal error pops up is due to an invalid query. Without transactions the error would have been ignored. So can you report this bug, please?

Thanks for your contribution,
Raymond.

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

Main resources:

Total runtime0.7459 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.8906152.6094
Module start 'layout' 0.00560.0030 740.500039.4141
Module start 'content' 0.00860.7356 779.9141575.5859
Module end 'content' 0.74420.0017 1,355.500012.1875
Script end 0.7459  1,367.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4186160.0002
Check MTime0.00120.1647160.0001
Mysql Total
Database connection0.00110.143710.0011
Mysqli_queries0.692592.8429620.0112
Looping result0.00080.1085600.0000
Template Total0.711095.320.3555
Template load0.00230.309320.0012
Template processing0.708795.012320.3544
Template load and register function0.00030.034210.0003
states
state_id_array0.00120.164510.0012
state_identifier_array0.00170.227820.0008
Override
Cache load0.00190.2534190.0001
Sytem overhead
Fetch class attribute can translate value0.00090.123130.0003
Fetch class attribute name0.00140.185550.0003
XML
Image XML parsing0.00080.108530.0003
class_abstraction
Instantiating content class attribute0.00000.001650.0000
General
dbfile0.00080.1034160.0000
String conversion0.00000.001240.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs