gitlab-org--gitlab-foss/db
Andreas Brandl bd56acd378
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.
2019-09-04 13:43:51 +02:00
..
fixtures Fix cycle analytics seed script 2019-09-03 10:04:11 +00:00
migrate Create partial index for gitlab-monitor CI metrics 2019-09-04 13:43:51 +02:00
optional_migrations Add version 4.2 to all existing migrations 2018-11-22 13:18:28 +01:00
post_migrate Remove Users.support_bot column 2019-09-02 20:22:20 +02:00
schema.rb Create partial index for gitlab-monitor CI metrics 2019-09-04 13:43:51 +02:00
seeds.rb