Online Migration – Shadow Table Algorithm

gh-ost / pt-online-schema-change: copy rows in batches, tail the WAL, atomic swap

Press Play or Step to begin.

users (original)

idnameemail
Original row Copied to shadow New / concurrent write Pending (not yet copied)