Database integrity checker

Author Message

Tony Wood

Sunday 18 May 2003 2:28:46 am

It would be nice if there were a command line or admin command you could run that would check that the database matched the schema for the php code release the system is using. This would help iron out problems where the php and db schema do not match.

Also if you made and extension area for extensions they could validate the database tables they used too.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

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 05:16:55
Script start
Timing: Jan 18 2025 05:16:55
Module start 'layout'
Timing: Jan 18 2025 05:16:55
Module start 'content'
Timing: Jan 18 2025 05:16:56
Module end 'content'
Timing: Jan 18 2025 05:16:56
Script end

Main resources:

Total runtime0.3841 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.0048 587.9141152.6250
Module start 'layout' 0.00480.0029 740.539139.4453
Module start 'content' 0.00770.3749 779.9844465.1406
Module end 'content' 0.38260.0015 1,245.12508.1641
Script end 0.3841  1,253.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.8394160.0002
Check MTime0.00130.3403160.0001
Mysql Total
Database connection0.00090.227810.0009
Mysqli_queries0.350091.1110460.0076
Looping result0.00030.0904440.0000
Template Total0.357693.120.1788
Template load0.00200.519920.0010
Template processing0.355692.575320.1778
Template load and register function0.00010.019010.0001
states
state_id_array0.00090.233810.0009
state_identifier_array0.00070.186620.0004
Override
Cache load0.00160.420060.0003
Sytem overhead
Fetch class attribute can translate value0.00050.117410.0005
Fetch class attribute name0.00120.314320.0006
XML
Image XML parsing0.00030.080410.0003
class_abstraction
Instantiating content class attribute0.00000.001120.0000
General
dbfile0.00070.1818160.0000
String conversion0.00000.002040.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