DBLab vs PlanetScale
clones in seconds vs branches restored from backup
PlanetScale for Postgres branches are separate deployments, empty or restored from a backup. DBLab makes thin clones of any Postgres in seconds on a machine you run.
Where DBLab is ahead of PlanetScale
Each point pairs what our documentation says with what the PlanetScale documentation says. Follow the links and check.
The whole database, in seconds
One copy of the data, many clones
Clones the Postgres you already run
Short answer
PlanetScale for Postgres runs managed, highly available Postgres clusters. A PlanetScale branch is a separate database deployment: either empty, with no schema or data, or restored from a backup with schema and data, on its own development or production cluster. DBLab Engine is open-source software that makes full-size thin clones of any PostgreSQL on one machine you run, with copy-on-write so clones share one copy of the data. If production runs on PlanetScale, a branch restored from a backup gives a full, separate copy there. If production stays elsewhere, or you need many copies at once, DBLab clones it where it is.
When PlanetScale is the better choice
- Your database already runs on PlanetScale. A branch restored from a backup is a full, separate deployment of your data, with any point in time from the oldest backup to 5 minutes ago.
- A restored branch has its own cluster, so tests on it do not share I/O with other copies. Production branches can have two replicas for high availability.
- Development branches run on PS-DEV instances and are billed only for the time they are used. Up to 100 development branches per database by default, configurable up to 5,000.
- The pscale CLI creates branches on Postgres databases, from a parent branch or from a backup ID, in a chosen region and cluster size.
- PlanetScale for Postgres runs in AWS, GCP and Azure, with a Metal tier on local NVMe storage; a single-node cluster starts at $5/month.

What you get
A clone in the DBLab UI, ready for connections 1.67 seconds after it was requested (a 2.7 GiB demo database). How it works
DBLab and PlanetScale, side by side
| Question | DBLab | PlanetScale |
|---|---|---|
| What it is | Open-source software that gives every developer, CI job and AI agent a writable, full-size copy of a PostgreSQL database in seconds. Thin clones share one physical copy of the data on one machine. docsdocs 2 | PlanetScale for Postgres provides "fully-managed, high availability PostgreSQL database clusters". Branches are "isolated database deployments that provide you with separate environments for development and testing". 12 |
| Which databases it can copy | YesAny PostgreSQL from version 10 up, wherever it runs. Managed services such as Amazon RDS, Aurora, Cloud SQL and Supabase are copied with dump and restore; self-managed servers can also be copied physically with WAL-G, pgBackRest or pg_basebackup. docsdocs 2 | PartlyBranches belong to a PlanetScale database. An external Postgres gets there by import: pg_dump and pg_restore for smaller databases, WAL streaming (logical replication) for near-zero downtime, or pgcopydb for large databases. 26 |
| How a copy is made | Copy-on-write in the file system, with ZFS or LVM. Clones share unchanged blocks, so a clone takes extra disk space only for what it changes. docs | Each branch is its own deployment on its own cluster; "There is no data replication between branches." A branch with data is made by restoring a backup, using WAL replay for points in time between backups. 24 |
| Time to get a copy | A few seconds whatever the database size: under 2 seconds for a 10 TiB database with one user, up to 30 seconds with 15 users at once. The first copy of the source is slow; about 1 TiB an hour is a good speed. docsdocs 2 | The docs we read give no time in seconds. A branch with data is a restore from backup; time depends on cluster size, data volume and how far back you go. PlanetScale's example puts a restore within the 12-hour backup interval at "typically minutes to under an hour"; older points may need days of WAL replayed. 48 |
| Data in a copy | YesThe whole database as of the chosen snapshot. Physical mode can follow the source continuously; logical mode is refreshed in full, on a schedule. docsdocs 2 | PartlyA branch from the Branches page "does not include schema or data". A branch restored from a backup "includes both the schema and the data for the selected backup", at any point from the oldest backup to 5 minutes ago. 24 |
| Masking sensitive data | YesDocumented options: load an anonymized dump, or apply SQL transformations or PostgreSQL Anonymizer before snapshots are taken. You define the rules. docs | Not documentedNot documented in the sources we reviewed. A branch restored from a backup holds the same data as the source branch. 24 |
| CI and migration testing | YesDB Migration Checker runs pending migrations on a clone in CI, fails those that hold dangerous locks longer than a limit (10 seconds by default) and collects statistics. Any CI job can also create clones through the API or CLI. docs | PartlyThe sources we reviewed do not describe a CI integration or migration check for Postgres branches. The pscale CLI creates branches, including from a backup. 52 |
| API, CLI and agent access | REST API, web UI and the dblab CLI. Joe, also available as pgai joe, returns EXPLAIN plans and timings from a clone, not rows. docsdocs 2docs 3 | The dashboard Branches page, the pscale CLI and a hosted MCP server. pscale branch create works for Postgres databases, with --from (parent branch), --restore (backup ID), --restore-point, --region and --cluster-size. The MCP server runs read or write queries on a branch, with access set per database. 2510 |
| Where it runs | YesOn a machine you control, in any cloud or on-premises. DBLab SE installs from the PostgresAI Console or AWS Marketplace. docsdocs 2 | PartlyA fully managed service in AWS, GCP and Azure. On the Enterprise plan, PlanetScale Managed deploys a single-tenant data plane for Postgres into your own AWS, GCP or Azure account, which PlanetScale operates. The sources we reviewed do not describe running it on your own servers. 139 |
| Open source | YesDBLab Engine is open source under Apache 2.0. docs | Not documentedNot documented in the sources we reviewed for PlanetScale for Postgres. It runs PostgreSQL, which is open source. 1 |
| Documented limits | DBLab SE: 2,000 GiB per instance and a single user. All clones share one machine, and copy-on-write storage has different I/O performance, so timings on a clone should not be compared directly with production. docsdocs 2 | 100 development branches per database by default, settable from 1 to 5,000. Development branches have no replicas and 10 GB of egress a month. Restored branches stay in the source region, lose extensions and get new passwords. Default backups every 12 hours, kept 2 days. 274 |
| What you pay for | One machine and one physical copy of the data, however many clones run. DBLab SE is billed hourly by the size of that machine, not by database size or number of clones. docs | Each branch is billed for its own cluster size, plus storage, backups and egress. "You will be charged for the storage consumed by all production and development branches." Development branches are billed only while used; a new one starts as a single-node PS-DEV cluster that begins at $5/month, depending on the region. 237 |
Pricing
| Product | Plan | List price | Notes |
|---|---|---|---|
| DBLab | DBLab Engine | Free | Open source, Apache 2.0; you run it |
| DBLab | DBLab SE | From $62/month | Billed hourly by machine size, plus your own cloud costs; 2,000 GiB limit; single user |
| DBLab | DBLab EE | Custom | Annual contract, from $0.2662 per 100 GiB per hour; unlimited database size, SSO |
| PlanetScale | PS-5 single node | $5/month | 1/16 vCPU, 512 MiB RAM, AWS us-east-1; extra storage, backups and egress billed separately 111 |
| PlanetScale | PS-5 highly available | $15/month | Primary and two replicas, 1/16 vCPU, 512 MiB RAM each, AWS us-east-1 11 |
| PlanetScale | Metal M-10 highly available | $50/month | Primary and two replicas, arm64, 1/8 vCPU, 1 GiB RAM, 10 GiB local NVMe included, AWS us-east-1 11 |
List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. Prices are per cluster, so each branch adds the cost of its own cluster. Backup storage beyond 2x disk size is $0.023 per GB-month; private-network egress is $0.01 per GB. DBLab pricing
Questions
- Does a PlanetScale Postgres branch include my data?
- Only when restored from a backup. A branch created from the Branches page has no schema or data. A branch restored from a backup includes both, as of the chosen backup or point in time. 24
- Can PlanetScale branch a database that runs on Amazon RDS?
- Not in place. Branches belong to a PlanetScale database, so the data is imported first with pg_dump and pg_restore, WAL streaming or pgcopydb. DBLab clones an RDS database where it is, by dump and restore onto a machine you run. 26
- What does a PlanetScale Postgres branch cost?
- Each branch runs on its own cluster and is billed for that cluster, plus storage for all branches, backups and egress. Clusters start at $5/month single node and $15/month highly available (PS-5, AWS us-east-1). Development branches use PS-DEV instances, billed only while used. 237
- How long does it take to create a PlanetScale Postgres branch with data?
- A branch with data is restored from a backup, and the time depends on cluster size, data volume and how far back you restore. PlanetScale's example puts a restore within the default 12-hour backup interval at typically minutes to under an hour; older points can need days of WAL replayed. A DBLab clone takes a few seconds whatever the database size. 84
Try a clone before you install anything
The public demo runs DBLab Engine: open it with the token demo-token, create a clone and connect to it. DBLab Engine is open source, so the next step is a machine of your own.
Sources
- PlanetScale for Postgres
- PlanetScale docs: Postgres branching
- PlanetScale pricing
- PlanetScale docs: Postgres backups
- PlanetScale CLI: branch
- PlanetScale docs: Postgres imports
- PlanetScale docs: Postgres pricing
- PlanetScale docs: Postgres point-in-time recovery
- PlanetScale docs: PlanetScale Managed overview
- PlanetScale docs: MCP server
- PlanetScale pricing catalog (pricing.md)
These pages compare what each product does for PostgreSQL; other databases and the rest of the stack are out of scope. What we say about the other product comes from its own documentation, pricing page, changelog or source repository, read on the date shown; each row cites its source. "Not documented" means we did not find it in those sources, not that the product cannot do it. Prices are list prices and the billing units differ, so they are not a total-cost comparison. Product names are trademarks of their owners. Found a mistake? Tell us and we will correct the page.
More comparisons
- Databricks Lakebaseclones of any Postgres vs Lakebase branches
- Neonclones of any Postgres vs branches on Neon
- Supabase Branchingfull-size copies vs preview branches
- Tiger Dataclones of any Postgres vs Tiger Cloud forks
- Velaclones of any Postgres vs branches on Vela
- Xatathin clones on one machine vs a branching platform
- Amazon Aurora cloningclones of any Postgres vs Aurora clusters
- Amazon RDS Blue/Green Deploymentstest clones vs a switchover
- All comparisons