Skip to content

planetscale/migration-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Migration scripts for moving into PlanetScale

Use these scripts to migrate a Postgres database to PlanetScale for Postgres or Vitess/MySQL.

This direct migration uses logical replication and, optionally, a proxy which can manage connections and sequences for a zero-downtime migration.

This has some speed limitations and is only recommended for databases 100GB or less.

Thanks to the intermediate MySQL database, this runs faster than the variant above, but has the downside of requiring an additional MySQL instance running during the migration, which adds cost and complexity to the import. Recommended for larger imports > 100GB.

About

Scripts for migrating from Postgres to PlanetScale

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages