Data Migration - CI/CD用語集の定義
data migrationは、スキーマ構造を変更するのではなく、行そのものを変換・移動するもの(値の書き換え、列の分割、新しいテーブルへのコピーなど)です。
CI/CDにおいて
大規模なdata migrationは長いロックを避けるためバッチで実行され、再開可能に作られます。大きなテーブルを一度に書き換えると、deployがタイムアウトしたり書き込みをブロックしたりするおそれがあるためです。
関連ガイド
Schema Migration - CI/CD Glossary DefinitionSchema Migration: A schema migration changes the structure of a database (tables, columns, indexes, constrain…
Backfill - CI/CD Glossary DefinitionBackfill: A backfill populates a newly added column or table with values derived from existing data, typicall…
Database Migration - CI/CD Glossary DefinitionDatabase Migration: A database migration is a versioned, ordered change to a database schema or data, applied…