gitlab-org--gitlab-foss/changelogs/unreleased/sh-optimize-merge-request-project-lookup.yml
Stan Hu d4ef4ad752 Reduce SQL queries needed to load open merge requests
The SQL queries and memory allocation in MergeRequests::RefreshService
is dominated by queries for Project and Route loads. On staging, the
absence of an inverse relationship caused Rails to make over 1100
extraneous SQL queries for the www-gitlab-com repository.

Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/49703
2018-10-30 22:29:57 -07:00

5 lines
112 B
YAML

---
title: Reduce SQL queries needed to load open merge requests
merge_request: 22709
author:
type: performance