-
Bug
-
Resolution: Duplicate
-
High
-
4.2.4
-
None
-
SuSE Linux Enterprise Server 11 SP 1
Confluence EAR/WAR 4.2.4
MySQL 5.1.36
Tomcat 6.0.18
Sun-Java 1.6.0
After upgrading to Confluence 4.2.4 pages including the popular label heatmap and space labels overview page take a very long time to load while MySQL is running on a high load proceeding the statement:
select label5_.LABELID as LABELID, label5_.NAME as NAME, label5_.OWNER as OWNER, label5_.NAMESPACE as NAMESPACE, label5_.CREATIONDATE as CREATION5_, label5_.LASTMODDATE as LASTMODD6_, label5_.LABELID as x0_0_, count(label5_.LABELID) as x1_0_ from CONTENT spaceconte0_, SPACES space1_, CONTENT_LABEL labelling2_ left outer join ATTACHMENTS attachment3_ on labelling2_.ATTACHMENTID=attachment3_.ATTACHMENTID left outer join CONTENT contentent4_ on labelling2_.CONTENTID=contentent4_.CONTENTID, LABEL label5_ where spaceconte0_.CONTENTTYPE in ('com.atlassian.confluence.pages.AbstractPage', 'USERSTATUS', 'PAGE', 'BLOGPOST', 'CUSTOM', 'MAIL', 'SPACEDESCRIPTION', 'com.atlassian.confluence.core.SpaceContentEntityObject') and labelling2_.LABELID=label5_.LABELID and ((label5_.NAMESPACE='global' and labelling2_.LABELID=label5_.LABELID)and((contentent4_.CONTENTID=spaceconte0_.CONTENTID )or(attachment3_.PAGEID=spaceconte0_.CONTENTID ))and(spaceconte0_.SPACEID=space1_.SPACEID )and(lower(space1_.SPACEKEY)='leitung' )and((attachment3_.ATTACHMENTID is not null )or(contentent4_.CONTENT_STATUS!='deleted' ))) group by label5_.LABELID , label5_.NAMESPACE , label5_.OWNER , label5_.NAME , label5_.LASTMODDATE , label5_.CREATIONDATE order by count(label5_.LABELID)DESC limit 25
Actually we have the following number of records in the involved tables:
CONTENT_LABEL | 5.105 records |
---|---|
ATTACHMENTS | 4.777 records |
CONTENT | 23.891 records |
SPACES | 24 |
For avoiding this performance issues I had to remove all label heatmaps from the Home pages but cause I can't disable the label overview and we work quite a lot with labels I urgently need a bug fix for this.
- duplicates
-
CONFSERVER-25236 Slow response and Confluence crashing when you have too many labels
- Closed