What is PlanetScale?
PlanetScale is a serverless database platform compatible with MySQL. It is built on Vitess technology and offers automatic scaling, backups, and high availability.
Unlike traditional MySQL, you don't need to worry about infrastructure management with PlanetScale. Your database scales automatically.
Database Branching
One of PlanetScale's most powerful features is the database branching system. You can create branches of your database, test changes, and merge them to the main branch using a Git-like approach.
Each branch is a completely isolated copy of the database, allowing you to make changes without affecting production data.
Schema Changes and Deploy
Schema changes in PlanetScale are managed through a deploy request system. You can merge changes made in a branch to the main branch without affecting the production database.
Schema changes in development branch Review process with deploy requests Online schema migration (zero downtime) Instant rollback capability
Connection and ORM Support
PlanetScale supports standard MySQL connection protocols. It works seamlessly with Prisma, Drizzle ORM, Sequelize, and other popular ORMs. It can also be used in edge environments with its serverless driver.
Pricing and Limits
PlanetScale offers a usage-based pricing model. You can get started with the free tier within certain limits and scale up as your needs grow.