Skip to content

Resolve "GroupsController#activity.json is REALLY slow due to SQL"

Rémy Coutable requested to merge 27395-reduce-group-activity-sql-queries into master

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
before-sherlock after-sherlock
before-stackprof after-stackprof

Does this MR meet the acceptance criteria?

Closes #27395 (closed)

Merge request reports