Docker and CI/CD · Senior · Question 43 of 75

Why run heavy data migrations separately from the deploy?

Explanation

Adding an index or rewriting a big table can lock it. Use online techniques (concurrent indexes, batched backfills) and keep deploys quick and reversible.

Further reading

Problem with a question

Docker and CI/CD · Senior · question 43

Test yourself

Take the Docker and CI/CD · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz