Skip to content

Initialize the migration to convert pk to bigint for ci_pipelines

Tianwen Chen requested to merge 397000-pk-to-bigint into master

What does this MR do and why?

Prepare to convert pk to bigint for table ci_pipelines, see the first step https://docs.gitlab.com/ee/development/database/avoiding_downtime_in_migrations.html#migrating-integer-primary-keys-to-bigint

This is the performance of the migration in database lab.

Screenshot_2023-04-24_at_12.58.29_pm

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #397000

Edited by Tianwen Chen

Merge request reports