# DBLab Engine

> Blazing-fast PostgreSQL cloning and branching for dev/test environments and CI

Source: https://talira.ai/catalog/dblab-engine-egf8da3j
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Infrastructure, Command-line tool
- Categories: [databases / branching](https://talira.ai/categories/databases/branching), [developer tools / testing](https://talira.ai/categories/developer-tools/testing), [databases / postgres](https://talira.ai/categories/databases/postgres)
- Platforms: linux, docker[^1]
- Licence: Apache-2.0[^4]
- Pricing: Free tier, from $62/month[^2][^3]
- Pricing notes: Community Edition is free and open source; DBLab Standard Edition, provisioned through the Postgres.ai Console, starts at $62/month.
- Free tier: yes[^2][^3]
- Self-hostable: yes[^1][^2]
- API: yes[^3]
- Backed by: [Postgres.ai](https://talira.ai/orgs/postgres-ai.md)

DBLab Engine (Database Lab Engine) from Postgres.ai makes thin clones and branches of a [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md) database with copy-on-write on ZFS (the default) or LVM: cloning a 1 TiB database takes about 10 seconds, and one machine can run dozens of independent clones. It keeps its copy of the data current from any Postgres, including RDS and Cloud SQL, by physical ([WAL-G](https://talira.ai/catalog/wal-g-t3wg850k.md), [pgBackRest](https://talira.ai/catalog/pgbackrest-jkew2smf.md), pg_basebackup) or logical (dump and restore) provisioning, and runs each clone in a [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) container. Clones can be reset, protected from deletion, auto-deleted and upgraded to a newer Postgres major in place. It has a UI, a REST API and a CLI, and [GitLab](https://talira.ai/catalog/gitlab-y85n5jcy.md) uses it for SQL performance work.

## Links

- Website: https://postgres.ai/products/how-it-works
- GitHub: https://github.com/postgres-ai/database-lab-engine
- Docs: https://postgres.ai/docs/
- Pricing: https://postgres.ai/pricing

## Problems it solves

- give every developer a full-size copy of the production Postgres database without paying for the storage
- test our database migrations in CI against production-sized data
- a fresh copy of a 1 TB Postgres database in seconds for each pull request
- check how a slow query behaves on real data without running it on production
- copy-on-write clones of Postgres on our own servers instead of a cloud service
- our staging database is shared and people keep breaking each other's data
- thin clones of an RDS database for development
- reset a test database to a known snapshot after each run
- try a Postgres major version upgrade on a copy of production first
- dozens of database copies on one machine without dozens of times the disk

## Features

- thin clones on ZFS or LVM
- branches and snapshots
- physical (WAL-G, pgBackRest) and logical provisioning
- continuous refresh from the source
- point-in-time recovery in physical mode
- reset, deletion protection and auto-deletion
- in-place major upgrade of one clone
- UI, REST API and CLI
- Prometheus metrics
- Postgres 10 to 18

## Ways to run it

### DBLab Community Edition

You run it, Apache-2.0. Price: free.[^1]

Only in this edition:

- the engine, UI, API and CLI

You arrange:

- a Linux machine (an Ubuntu 22.04 VM) with Docker
- a ZFS pool or LVM volume for the clones
- access to the source database (a physical copy with pg_basebackup or a logical dump/restore)

Self-hosting docs: https://postgres.ai/docs/dblab-howtos/administration/install-dle-manually

### DBLab Standard Edition

You run it, under a commercial licence. Price: from $62/month.

Only in this edition:

- provisioning to any cloud or on-premises from the Postgres.ai Console
- also on AWS Marketplace

You arrange:

- the cloud account or server it runs in

Self-hosting docs: https://postgres.ai/docs/how-to-guides/administration/install-dle-from-postgres-ai

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.71 out of 1.
Signals: maintenance 1.00, adoption 0.69, momentum 0.47, community 0.61, backing 0.50, extensibility 0.40.

- last commit 13 days ago
- 98 commits in the last 90 days
- latest release v4.2.2 13 days ago
- 2.8k GitHub stars
- 33 contributors
- accepts sponsorship (Github, Patreon)
- backed by Postgres.ai
- used by GitLab

## What people say

- Postgres.ai case study: GitLab uses DBLab for its SQL performance optimisation workflow: https://postgres.ai/resources/case-studies/gitlab

## Alternatives

- [Xata](https://talira.ai/catalog/xata-gzxahrpc.md): Open source, cloud native, Postgres platform with copy-on-write branching and scale-to-zero
- [pgoverlay](https://talira.ai/catalog/pgoverlay-8z094v1s.md): Instant, writable copy-on-write branches of your real Postgres, self-hosted on plain Docker or Kubernetes. No ZFS required.
- [db-branch](https://talira.ai/catalog/db-branch-590ypapk.md): Instant database branches for MySQL and PostgreSQL, on your own servers
- [Neon](https://talira.ai/catalog/neon-62ajbpbj.md): Serverless Postgres with branching, autoscaling and scale to zero
- [dbfork](https://talira.ai/catalog/dbfork-94t857ss.md): Fast local PostgreSQL database branching for migrations, schema testing, and isolated development workflows
- [RiftDB](https://talira.ai/catalog/riftdb-dw0e3yr3.md): Instant, copy-on-write database branches for Postgres. Self-hosted. Every PR gets its own database.

## Sources

[^1]: https://postgres.ai/docs/dblab-howtos/administration/install-dle-manually (checked 17 Nov 2026)
[^2]: https://postgres.ai/pricing (checked 17 Nov 2026)
[^3]: https://github.com/postgres-ai/database-lab-engine/blob/master/README.md (checked 17 Nov 2026)
[^4]: https://github.com/postgres-ai/database-lab-engine/blob/master/LICENSE (checked 17 Nov 2026)
