Skip to content

Add tmp index to ci_builds to optimize stages migration

What does this MR do?

This merge request improves performance of db/migrate/20180420010616_cleanup_build_stage_migration.rb by introducing temporary partial index.

Does this MR meet the acceptance criteria?

  • Has been reviewed by Backend
  • Has been reviewed by Database

What are the relevant issue numbers?

Closes gitlab-org/gitlab-ce#46179

Edited by Grzegorz Bizon

Merge request reports

Loading