User tests: Successful: Unsuccessful:
Pull Request for Issue #8884
Performance changes to allow categoryedit to scale well when number of category increases
Probably this join (1) originates from some code that was copied, or it was used by some code that is no longer present in categoryedit form field
Why its existense is useless , please read my explanation here:
#8884 (comment)
Also for worries of this join being used to remove child categories in category-edit form
so that you can not set a parent category to be under one of its childs !
The answer is that it is another join, please see my other comment here:
#8884 (comment)
administrator/components/com_banners/models/forms/banner.xml(36): type="categoryedit"
administrator/components/com_categories/models/forms/category.xml(34): type="categoryedit"
administrator/components/com_contact/models/forms/contact.xml(73): type="categoryedit"
administrator/components/com_content/models/forms/article.xml(77): type="categoryedit"
administrator/components/com_newsfeeds/models/forms/newsfeed.xml(52): type="categoryedit"
components/com_content/models/forms/article.xml(93): type="categoryedit"
Performance of categoryedit field scales with the number of categories e.g. 5000
Performance of categoryedit field does not scales with number of categories
none
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_categories |
It is good, I think you could replace subquery by regular query, and remove distinct.
Yes, after the removal of the unused join
Labels |
Added:
?
|
Ok besides the not used JOIN, I have
i did a little testing, it should be correct
just now i am not 100% sure of it
I have tested this item
+ code review
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
Milestone |
Added: |
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-05 16:23:32 |
Closed_By | ⇒ | rdeutz |
It is good, I think you could replace subquery by regular query, and remove distinct.