View Issue Details

IDProjectCategoryView StatusLast Update
0000540Composr[All Projects] General / Uncategorisedpublic2012-05-29 12:03
ReporterChris GrahamAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0000540: Catalogues use lots of queries
DescriptionEach field in a catalogue requires a database lookup. Optimise it using 'UNION' if the MySQL version supports it.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2012-05-29 12:03

administrator   ~0000579

Fixed in git commit 0339d98 (https://github.com/chrisgraham/Composr/commit/0339d98 - link will become active once code pushed)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-540, 2012-05-29 12pm.tar (61,440 bytes)

Chris Graham

2012-05-29 12:32

administrator   ~0000580

Automated response: Allow further optimisation

By putting...

:set_value('catalogue_limit_cat_field_load__<cataloguename>','1');

into Commandr, don't load fields that don't show on category views. This limits templating possibilities, but improves performance.

Chris Graham

2012-05-29 12:32

administrator   ~0000581

Fixed in git commit 3309462 (https://github.com/chrisgraham/Composr/commit/3309462 - link will become active once code pushed)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-540, 2012-05-29 1pm.tar (61,440 bytes)

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised