How Appwrite Databases can replace your PlanetScale database
Compare PlanetScale to Appwrite Databases, with managed PostgreSQL and MySQL, serverless TablesDB on the Free plan, and a full backend in the same project.

Updated on November 26, 2026
On March 6th, 2024, PlanetScale announced it would sunset its free tier, and developers worldwide had to find a new home for their projects. Today PlanetScale offers both MySQL, through Vitess, and PostgreSQL, but still no free plan. In this article, we compare PlanetScale to Appwrite Databases so you can decide whether Appwrite fits your project.
For a side-by-side table of every feature and price, see Appwrite as a PlanetScale alternative.
How Appwrite can help
PlanetScale and Appwrite serve somewhat different purposes. PlanetScale is a highly scalable database service, known for horizontal sharding and for branching with deploy requests. Appwrite runs the database too, and adds the rest of your backend around it: authentication, storage, functions, messaging, realtime, and web hosting. If PlanetScale is a great screwdriver set, Appwrite is a Swiss Army knife for the developer.
Five database models in one project
Appwrite Databases gives you five database models in two categories, all in the same Console:
- Appwrite databases with SDKs: TablesDB for relational tables, DocumentsDB for flexible JSON documents, and VectorsDB for embeddings and similarity search. You work with them through APIs and SDKs, with permissions built in, so you need no SQL. TablesDB runs on serverless compute, including on the Free plan, or on dedicated compute.
- Native SQL databases: managed PostgreSQL and MySQL on dedicated compute. You connect with psql, mysql, or any driver and ORM, the same way you connect to PlanetScale.
DocumentsDB, VectorsDB, PostgreSQL, and MySQL are in beta.
Managed PostgreSQL and MySQL
If you're moving off PlanetScale, the native databases are the closest match. Managed PostgreSQL runs PostgreSQL 18 (or 17), and both engines come with the operations work handled for you:
- Dedicated compute: fixed monthly tiers with reserved CPU, memory, and connections, starting at $10/mo.
- High availability: up to five replicas with async, sync, or quorum replication and automatic failover.
- Point-in-time recovery: restore to any moment within a window of 1 to 35 days, for 20% of the compute tier.
- Connection pooling: serve many short-lived clients, such as serverless functions, from a small pool.
- Branches: create short-lived snapshot branches to test changes against real data.
- Extensions: up to 50 PostgreSQL extensions, including pgvector and PostGIS.
Migration uses standard tools. For PostgreSQL, run pg_dump against PlanetScale and pg_restore into Appwrite. For MySQL, use mysqldump and import the dump into an Appwrite MySQL database.
An all-in-one package
Appwrite is an open-source, all-in-one development platform. Next to your database, the same project gives you:
- Authentication: user registration, login, MFA, teams, and 40+ OAuth providers.
- Storage: secure file storage with previews and image transformations.
- Functions: custom code in 13+ runtimes, without managing servers.
- Messaging: push notifications, email, and SMS through 12 providers.
- Realtime: live updates for rows, files, function executions, sessions, and teams.
- Sites: hosting for static and server-side rendered frontends.
Signing up for Appwrite Cloud or self-hosting it on your server gives you access to all of them, not just one.
API-first approach
For TablesDB, DocumentsDB, and VectorsDB, Appwrite offers APIs to interact with your data instead of direct database access. This approach offers several advantages:
- Simpler interactions with data: perform CRUD actions through straightforward HTTP requests or SDK calls, with no SQL required.
- Works with any language: any language or platform that can make HTTP requests can use Appwrite Databases.
- Built-in security: permissions on tables and rows ensure data is only accessible to authorized users, across the REST API, Realtime, and every SDK.
- Easier onboarding: detailed API documentation and SDKs for many languages make it easy to get started.
The same API-first approach covers creating and managing databases, tables, columns, indexes, and relationships, and it extends to every other Appwrite product. When you need full SQL control, use managed PostgreSQL or MySQL instead.
SDKs and developer tooling
To complement the API-first approach, Appwrite offers SDKs for languages such as JavaScript, Python, Dart, Kotlin, Swift, and Go, as well as a CLI for Linux, macOS, and Windows, and an MCP server for AI agents.
- Simplicity: SDKs remove the need to write code from scratch to call Appwrite's API.
- Consistency and reliability: SDKs and the CLI use Appwrite's API correctly while keeping type safety, which reduces errors.
- Enhanced productivity: the SDKs and CLI automate routine tasks, so you can integrate features, test, and deploy faster.
Self-hosting Appwrite
Since Appwrite is open source, you can run the whole platform on your own servers. This has several benefits:
- Control: you have complete authority over your server environment and configuration.
- Privacy and security: you can keep all data in-house for compliance with data protection laws.
- Cost efficiency: you can lower expenses over time by optimizing resources and avoiding third-party fees.
- Reduced latency: hosting closer to your users can improve performance.
- No vendor lock-in: you're not tied to the services, pricing, and terms of a specific provider.
Self-hosted Appwrite runs on PostgreSQL by default, and you can choose MariaDB or MongoDB instead. A single command sets up an instance on any system with Docker:
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:2.5.0 \
--database=postgresql
See the self-hosting guide in our docs for more info.
Managed databases on Appwrite Cloud
On Appwrite Cloud, our team handles the administrative work of running your databases:
- Automated backups: Pro takes daily backups with 7 days of retention, and dedicated databases add point-in-time recovery.
- Scaling: move a dedicated database to a larger compute tier as your load grows.
- Monitoring: track database performance and health from the Console.
- Maintenance and updates: we apply database software updates, patches, and security fixes.
- Enhanced security: network controls and encryption protect your data.
Pricing plans
Appwrite Cloud pricing is designed to be accessible to most developers. See the pricing page for every plan and limit.
- Free plan
- For side projects and early products that fit within the Free plan limits.
- Includes a serverless TablesDB database, auth for 75,000 monthly active users, storage, functions, and hosting.
- Pro plan
- For production projects that need to scale.
- Starts at $25/mo, with budget caps so you never get a surprise bill.
- Includes $10/mo in compute credits for dedicated databases, including managed PostgreSQL and MySQL.
For databases, here are the main differences between both plans:
| Category | Free plan | Pro plan |
|---|---|---|
| Databases | 1 per project | Unlimited |
| Backups | No | Daily, 7 days retention |
| Dedicated databases | No | From $10/mo |
| PostgreSQL and MySQL | No | Yes, on dedicated compute |
You can also look at PlanetScale pricing to understand how Appwrite compares.
When PlanetScale might still fit
PlanetScale builds excellent databases, and it may still suit you if:
- You need horizontal sharding for a very large MySQL or PostgreSQL workload today.
- Branching with deploy requests is central to how your team ships schema changes.
- You only need a database, and the rest of your backend already lives elsewhere.
Moving forward
There is no denying that PlanetScale has done a fantastic job building a scalable and robust database offering, and it remains an inspiration in the database space. Still, there are developers PlanetScale chooses not to prioritize, starting with those who need a free plan, and that is where Appwrite can help. Free users have formed an influential part of the Appwrite community. They have made a difference not just as users but also as builders, speakers, and contributors, and their feedback has made Appwrite a much better platform. We hope more developers give us a shot in the days to come.
Learn more about Appwrite by visiting our docs and joining our Discord community.
For the database, yes. Appwrite runs managed PostgreSQL and MySQL on dedicated compute, which you query with SQL from any standard client, just like PlanetScale. Both are in beta. Appwrite also adds TablesDB, DocumentsDB, and VectorsDB, plus auth, storage, functions, messaging, and hosting in the same project.
Yes. Managed PostgreSQL and MySQL give you full SQL access with psql, mysql, or any driver and ORM. TablesDB, DocumentsDB, and VectorsDB use a query API and SDKs instead, so you can work with your data without writing SQL.
In TablesDB, DocumentsDB, and VectorsDB, you set permissions on tables and rows using roles like any, users, team, or specific user IDs, so access control lives next to the data. Managed PostgreSQL and MySQL use the database's own users, roles, and grants.
Yes, on paid plans. Appwrite Pro takes daily backups with 7 days of retention, and dedicated databases add point-in-time recovery with a restore window of 1 to 35 days.
Yes. The whole Appwrite stack runs on your own infrastructure with one Docker install, for free. Self-hosted Appwrite 2.0 runs on PostgreSQL by default, and you can choose MariaDB or MongoDB instead. It uses the same APIs and SDKs as Appwrite Cloud.
Yes. PlanetScale removed its free tier in 2024. Appwrite Free includes a serverless TablesDB database, auth for 75,000 monthly active users, storage, functions, and hosting. Pro starts at $25/mo and adds managed PostgreSQL and MySQL with $10/mo in compute credits.
For PostgreSQL, run pg_dump against PlanetScale and pg_restore into Appwrite. For MySQL, use mysqldump and import into an Appwrite MySQL database. Any standard client works, so there is no Appwrite-specific tooling to learn.





