-
- Downloads
There was an error fetching the commit references. Please try again later.
Create partial index for gitlab-monitor CI metrics
This creates a partial index intended to speed up queries on `ci_builds`. Particularly, `gitlab-monitor` has rather heavy queries. Those have been changed to only look back 7 days and benefit from this index tremendously. Relates to https://gitlab.com/gitlab-org/gitlab-exporter/merge_requests/101.
Showing
- changelogs/unreleased/ab-add-index-for-ci-builds-metrics.yml 5 additions, 0 deletionschangelogs/unreleased/ab-add-index-for-ci-builds-metrics.yml
- db/migrate/20190902152329_add_index_for_ci_builds_metrics.rb 19 additions, 0 deletionsdb/migrate/20190902152329_add_index_for_ci_builds_metrics.rb
- db/schema.rb 1 addition, 0 deletionsdb/schema.rb
Please register or sign in to comment