Skip to main content

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.

See how DBLab worksOpen the demoPricing

Checked on against 11 pages of PlanetScale documentation. PostgreSQL only. Markdown

Where DBLab is ahead of PlanetScale​

Each point pairs what our documentation says with what the PlanetScale documentation says. Follow the links and check.

  1. The whole database, in seconds

    DBLab

    A clone takes a few seconds whatever the database size: under 2 seconds for a 10 TiB database with one user. docsdocs 2

    PlanetScale

    A PlanetScale Postgres branch with data is restored from a backup onto its own cluster. PlanetScale's example puts a restore within the 12-hour backup interval at typically minutes to under an hour; older points can need days of WAL replayed. 84

  2. One copy of the data, many clones

    DBLab

    Clones share one physical copy on one machine and take extra disk space only for what they change. DBLab SE is billed by the size of that machine, not by database size or number of clones. docsdocs 2

    PlanetScale

    Each PlanetScale branch is its own cluster and is billed for it. A branch restored from a backup inherits the parent's cluster size, and storage is charged for all production and development branches. 27

  3. Clones the Postgres you already run

    DBLab

    Any PostgreSQL from version 10 up, wherever it runs: Amazon RDS, Aurora, Cloud SQL, Supabase or your own servers. docsdocs 2

    PlanetScale

    PlanetScale branches belong to a PlanetScale database. A Postgres database on another provider is imported first, with pg_dump and pg_restore, WAL streaming or pgcopydb. 26

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.
The DBLab UI showing a clone that is ready to accept Postgres connections, created in 1.67 seconds, with its psql connection string.

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

See how DBLab worksOpen the demoPricing

DBLab and PlanetScale, side by side​

QuestionDBLabPlanetScale
What it isOpen-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 2PlanetScale 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 copyYesAny 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 2PartlyBranches 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 madeCopy-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. docsEach 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 copyA 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 2The 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 copyYesThe whole database as of the chosen snapshot. Physical mode can follow the source continuously; logical mode is refreshed in full, on a schedule. docsdocs 2PartlyA 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 dataYesDocumented options: load an anonymized dump, or apply SQL transformations or PostgreSQL Anonymizer before snapshots are taken. You define the rules. docsNot 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 testingYesDB 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. docsPartlyThe 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 accessREST 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 3The 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 runsYesOn a machine you control, in any cloud or on-premises. DBLab SE installs from the PostgresAI Console or AWS Marketplace. docsdocs 2PartlyA 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 sourceYesDBLab Engine is open source under Apache 2.0. docsNot documentedNot documented in the sources we reviewed for PlanetScale for Postgres. It runs PostgreSQL, which is open source. 1
Documented limitsDBLab 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 2100 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 forOne 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. docsEach 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​

ProductPlanList priceNotes
DBLabDBLab EngineFreeOpen source, Apache 2.0; you run it
DBLabDBLab SEFrom $62/monthBilled hourly by machine size, plus your own cloud costs; 2,000 GiB limit; single user
DBLabDBLab EECustomAnnual contract, from $0.2662 per 100 GiB per hour; unlimited database size, SSO
PlanetScalePS-5 single node$5/month1/16 vCPU, 512 MiB RAM, AWS us-east-1; extra storage, backups and egress billed separately 111
PlanetScalePS-5 highly available$15/monthPrimary and two replicas, 1/16 vCPU, 512 MiB RAM each, AWS us-east-1 11
PlanetScaleMetal M-10 highly available$50/monthPrimary 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.

See how DBLab worksOpen the demoPricing

Sources​

  1. PlanetScale for Postgres
  2. PlanetScale docs: Postgres branching
  3. PlanetScale pricing
  4. PlanetScale docs: Postgres backups
  5. PlanetScale CLI: branch
  6. PlanetScale docs: Postgres imports
  7. PlanetScale docs: Postgres pricing
  8. PlanetScale docs: Postgres point-in-time recovery
  9. PlanetScale docs: PlanetScale Managed overview
  10. PlanetScale docs: MCP server
  11. 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.