gitlab-org--gitlab-foss/changelogs/unreleased/38068-commits-count.yml
Jan Provaznik e6a1db6d9e Denormalize commits count for merge request diffs
For each MR diff an extra 'SELECT COUNT()' is executed
to get number of commits for the diff. Overall time to get counts for
all MR diffs may be quite expensive. To speed up loading of MR info,
information about number of commits is stored in a MR diff's extra column.

Closes #38068
2018-01-10 20:40:02 +01:00

5 lines
106 B
YAML

---
title: Store number of commits in merge_request_diffs table.
merge_request:
author:
type: performance