?
avatar hans2103
hans2103
5 Jun 2015

According to this screenshot taken from New Relic page to display the transaction I notice that #__contentitem_tag_map is slowing down the creation of the page.

schermafdruk 2015-06-05 11 30 37

Two remarkable things:

  • this website doesn't use tags.
  • problem occurs on a 404 page.
avatar hans2103 hans2103 - open - 5 Jun 2015
avatar zero-24 zero-24 - change - 5 Jun 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 5 Jun 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 5 Jun 2015
Category Tags
avatar zero-24 zero-24 - change - 5 Jun 2015
Category Tags Front End Tags
avatar alikon
alikon - comment - 5 Jun 2015

How many articles /categories do yuo have ?

avatar ggppdk
ggppdk - comment - 5 Jun 2015

So despite not having any tags,
the tags SELECT query takes:
33% * 1.81 seconds = 0.59 seconds ?

Can you also use the Joomla Debug option ?

  • and from it copy paste here the real SQL query and the function Call stack

the above will answer questions:

  • which is the SQL query, is it core Joomla, or some 3rd party plugin/module, or a joomla module ?
  • is it 1 SELECT query or multiple SELECT queries ?
avatar brianteeman
brianteeman - comment - 19 Jun 2015

@hans2103 Please can you provide the requested informaton


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

avatar brianteeman brianteeman - change - 19 Jun 2015
Status New Information Required
avatar zero-24 zero-24 - change - 19 Jun 2015
Labels Added: ?
Build master staging
avatar hans2103
hans2103 - comment - 19 Jun 2015

sorry... totally missed the request. Will do

avatar hans2103
hans2103 - comment - 25 Jun 2015

Problem only occurs on a 404 page. Joomla can't find the page, therefor it will try non existing tags... so it seems.

SQL statement copied from New Relic.

SELECT m.tag_id, t.*FROM t?hu_contentitem_tag_map AS m INNER JOIN t?hu_tags AS t ON m.tag_id = t.idWHERE m.type_alias = ? AND m.content_item_id = ? AND t.published = ? AND t.access IN (?, ?, ?)

schermafdruk 2015-06-25 10 39 16
schermafdruk 2015-06-25 10 43 35

schermafdruk 2015-06-25 10 40 34

avatar brianteeman brianteeman - change - 26 Jun 2015
Labels Removed: ?
Build master staging
avatar brianteeman brianteeman - change - 26 Jun 2015
Status Information Required New
avatar brianteeman
brianteeman - comment - 10 Jul 2015

I cant replicate this. With debug on I dont see any queries for tags on a 404 page. As the 404 page uses the error.php from your template I am wondering if there is something in that file in your template


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

avatar hans2103
hans2103 - comment - 11 Jul 2015

@brianteeman I will check

avatar pe7er
pe7er - comment - 7 May 2016

I can't reproduce the problem either. Joomla's debug does not show any queries on a 404 page.
The issue has not been followed up since last year so I'll ask to close it.
Thanks @hans2103


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

avatar zero-24 zero-24 - change - 7 May 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-05-07 13:14:45
Closed_By zero-24
avatar joomla-cms-bot joomla-cms-bot - close - 7 May 2016
avatar zero-24
zero-24 - comment - 7 May 2016

Closing


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

avatar zero-24
zero-24 - comment - 7 May 2016

Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/7124

avatar joomla-cms-bot joomla-cms-bot - close - 7 May 2016
avatar hans2103
hans2103 - comment - 7 May 2016

check

Add a Comment

Login with GitHub to post a comment