?
avatar mbabker
mbabker
23 Apr 2017

Steps to reproduce the issue

After test upgrading a clone of the downloads site to 3.7 RC 4, I clicked into the new com_associations to quickly glance at how it works. After setting up my filters for en-GB articles, the resulting page resulted in 244 queries being executed. The debug bar reports that 214 of the queries for the request are duplicated. The ones that look to be coming from the component are running the same query 3 times for each item.

FWIW my clone of the site has 3 articles and 18 of our site languages set up right now (it's an older database clone that's now massively out of sync with the live site which has 27 languages running now).

Expected result

A sane number of database queries with minimal duplicates.

Actual result

In this scenario, the component issues 244 queries with 214 duplicated request wide (please remember not all of the duplicates will be related to com_associations).

avatar mbabker mbabker - open - 23 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - change - 23 Apr 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Apr 2017
Category com_associations
avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Apr 2017
Category com_associations com_associations SQL
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Nov 2017
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 9 Nov 2017

@infograf768 can you please have a Look?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15494.

avatar infograf768
infograf768 - comment - 9 Nov 2017

I am not a db queries specialist. I would not know how to solve that one.
Maybe @alikon

avatar alikon
alikon - comment - 9 Nov 2017

i'll give it a look .... @infograf768 can you confirm that is still an issue ?

avatar infograf768
infograf768 - comment - 9 Nov 2017

@alikon
Looks like.
screen shot 2017-11-09 at 16 44 05

7 languages. 25 articles in en-GB
the huge number of duplicates is
screen shot 2017-11-09 at 16 49 31

avatar alikon
alikon - comment - 9 Nov 2017

@infograf768 i have cached that query with #18544 should be reduced the total number of duplicate query by 50 in your sample
please test

but i'm afraid we can do even more

avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Dec 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-12-26 07:18:52
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 26 Dec 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 26 Dec 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Dec 2017

closed as #18544 is merged.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15494.

avatar joomla-cms-bot
joomla-cms-bot - comment - 26 Dec 2017

Add a Comment

Login with GitHub to post a comment