gitlab-org--gitlab-foss/changelogs/unreleased/speed-up-relative-positioning.yml
Sean McGivern eb15e4dfc2 Speed up setting of relative position
1. When every issue has a relative position set, we don't need to
   perform any updates, or calculate the maximum position in the parent.
2. If we do need to calculate the maximum position in the parent, many
   parents (specifically, groups with lots of projects) leads to a slow
   query where only the index on issues.relative_position is used, not
   the index on issues.project_id. Adding the GROUP BY forces Postgres
   to use both indices.
2018-11-23 13:06:04 +00:00

5 lines
108 B
YAML

---
title: Speed up issue board lists in groups with many projects
merge_request:
author:
type: performance