Ojects Relation and huge number of objects.

Author Message

laurent le cadet

Monday 11 May 2009 5:47:03 am

Hi,

I have a "Wine" classe and I want to like it with reciepes via objects relation.

Objects relation is very handy and I want to use it like this:

- Check boxes list
- 1 pre-selected classe

Handy because no need to browse while creating objects.

At the end there will be about 200 objects which will be concerned by the datatype.
Will it be till performant or is there a best method?

Best regards.

Laurent

André R.

Monday 11 May 2009 12:34:29 pm

Should be ok in newer versions, but you might need to override templates in admin so it 1. is UI workable and 2. doesn't get to slow because of to many fetched related objects.

PS: limit and offset parameters on related object fetches where added in 4.1

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

laurent le cadet

Monday 11 May 2009 11:25:58 pm

André,

This is an eZp 3.10.1 :)
So If it becomes too slow, I will change the datatype method to browse.

Thanks.

Laurent

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

Main resources:

Total runtime0.0202 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.2656151.2266
Module start 'layout' 0.00460.0029 739.4922220.7188
Module start 'content' 0.00750.0115 960.2109997.8359
Module end 'content' 0.01900.0012 1,958.046933.9922
Script end 0.0202  1,992.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002210.9226140.0002
Check MTime0.00094.5000140.0001
Mysql Total
Database connection0.00094.257410.0009
Mysqli_queries0.00178.558430.0006
Looping result0.00000.049510.0000
Template Total0.00094.610.0009
Template load0.00073.569810.0007
Template processing0.00020.963110.0002
Override
Cache load0.00052.498410.0005
General
dbfile0.00136.579280.0002
String conversion0.00000.024740.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