Bring your data to PlanetScale
Nov 17, 2021Phani Raju

Summary
This post details the zero-downtime data migration process from existing MySQL databases to PlanetScale. It explains how Vitess's Unmanaged Tablet technology is used for the initial online data copy, followed by binary log replication to keep the PlanetScale database in sync. The post outlines the steps for connecting the application to PlanetScale as a replica, routing reads and writes through it for validation, and finally promoting PlanetScale as the primary database. It also describes the process of detaching the external database once the migration is complete.