MySQL CHECK TABLE

Author Message

Francisca Hernández

Thursday 19 July 2007 1:39:32 am

Hi,

i used to work with postgresql but i did a project with mysql to improve performace of site.
i run CHECK TABLE and i see this warnings:

Problems with indexes of table `ezcontentobject_attribute`
- PRIMARY and INDEX keys should not both be set for column `id`
- More than one INDEX key was created for column `contentobject_id`

Problems with indexes of table `ezcontentobject_name`
- PRIMARY and INDEX keys should not both be set for column `contentobject_id`

Problems with indexes of table `ezenumobjectvalue`
- PRIMARY and INDEX keys should not both be set for column `contentobject_attribute_id`

Problems with indexes of table `ezkeyword`
- More than one INDEX key was created for column `keyword`

Problems with indexes of table `ezkeyword_attribute_link`
- More than one INDEX key was created for column `keyword_id`

Problems with indexes of table `eznode_assignment`
- More than one INDEX key was created for column `contentobject_id`

this is a problem for ezp performance?
anyone can help me?

thanks, fran

Iguana IT, SL - http://www.iguanait.com

Rebecca Strozier

Wednesday 09 July 2008 6:21:11 am

I am using MySQL (version 5.0.22) with ezPublish 4.0 and I get the same warning messages regarding indexes using the same columns for the tables below:

Problems with indexes of table `ezcontentobject_attribute`
PRIMARY and INDEX keys should not both be set for column `id`
More than one INDEX key was created for column `contentobject_id`

Problems with indexes of table `ezcontentobject_name`
PRIMARY and INDEX keys should not both be set for column `contentobject_id`

Problems with indexes of table `ezenumobjectvalue`
PRIMARY and INDEX keys should not both be set for column `contentobject_attribute_id`

Problems with indexes of table `ezkeyword`
More than one INDEX key was created for column `keyword`

Problems with indexes of table `ezkeyword_attribute_link`
More than one INDEX key was created for column `keyword_id`

Problems with indexes of table `eznode_assignment`
More than one INDEX key was created for column `contentobject_id`

Problems with indexes of table `ezurlalias_ml`
PRIMARY and INDEX keys should not both be set for column `parent`
More than one INDEX key was created for column `parent`
More than one INDEX key was created for column `text`
More than one INDEX key was created for column `action`
More than one INDEX key was created for column `action_type`

I believe MySQL will ignore the redundant indexes, however perhaps a review of the schema would be advisable.

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 31 2025 08:12:32
Script start
Timing: Jan 31 2025 08:12:32
Module start 'layout'
Timing: Jan 31 2025 08:12:32
Module start 'content'
Timing: Jan 31 2025 08:12:32
Module end 'content'
Timing: Jan 31 2025 08:12:32
Script end

Main resources:

Total runtime0.0164 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.0156151.1953
Module start 'layout' 0.00560.0028 739.210936.6328
Module start 'content' 0.00840.0064 775.843890.1250
Module end 'content' 0.01480.0015 865.968833.9922
Script end 0.0163  899.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.1029140.0002
Check MTime0.00127.5187140.0001
Mysql Total
Database connection0.00063.572210.0006
Mysqli_queries0.003822.988530.0013
Looping result0.00000.067010.0000
Template Total0.00127.110.0012
Template load0.00095.686710.0009
Template processing0.00021.416910.0002
Override
Cache load0.00074.170710.0007
General
dbfile0.002213.374380.0003
String conversion0.00000.049540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs