Resolve "GroupsController#activity.json is REALLY slow due to SQL"
EE version: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1226
What does this MR do?
This solves a classic N + 1 queries problem.
Before | After |
---|---|
Does this MR meet the acceptance criteria?
-
Changelog entry added - Tests
-
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
Closes #27395 (closed)