-
-
Notifications
You must be signed in to change notification settings - Fork 829
Remove slow join from activity search #17250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
(Standard links)
|
Test fails look related @eileenmcnaughton |
test this please |
@jaapjansma I see you are testing - do you have any sites with ACLs & largish datasets. I haven't cleaned up the tests on this because I was hoping @andrew-cormick-dockery would get a chance to check this for performance. It performs better for contacts not subject to ACLs |
Jenkins re test this please |
I did some testing of this on the AUG test infrastructure and didn't notice any significant deterioration in performance. @eileenmcnaughton are you able to fix the test failures |
af0e016
to
652a5ab
Compare
Jenkins re test this please |
652a5ab
to
575821f
Compare
This removes the unindexed join from activity search. The join is used to apply component permission filtering and to retrieve the activity_type - however, this latter is still rendered by the pseudoconstant handling
575821f
to
d1d108e
Compare
Test fail unrelated |
Overview
This removes the unindexed join from activity search. The join is used to apply component
permission filtering and to retrieve the activity_type - however, this latter is still rendered
by the pseudoconstant handling
Before
Slow join
After
Faster
Technical Details
Comments
Will need some performance testing on a site that uses ACLs once we have seen if tests fail.
On sites without ACLs it should be clearly faster.