DBLab Engine

Open source

DBLab Engine from Postgres.ai provides fast thin cloning and branching of PostgreSQL databases for development, testing, and CI/CD.

postgres.ai
DBLab Engine homepage screenshot
GitHub stars
2.8k
Last 30 days
+23(+1%)
Last commit
2 days ago
Repository age
6 years
Version
v4.2.2
Licence
Apache-2.0
Self-hosted
Yes

About DBLab Engine

DBLab Engine is an open-source tool for cloning and branching PostgreSQL databases almost instantly. It creates thin clones of full-size databases, so teams can build dev, QA, and staging environments with production-like data and test database changes without large storage or time costs. It is written in Go and released under the Apache-2.0 license.

Typical uses include testing every database migration in CI/CD, giving developers temporary full-size clones for query analysis and optimization, and validating ideas from AI assistants against real data. The README gives an example in which cloning a 1 TiB database takes about ten seconds, and says dozens of independent clones can run on one machine.

It works with any PostgreSQL, including self-managed servers and managed services such as AWS RDS, Google Cloud SQL, Supabase, and Timescale. For managed services where physical access is not possible, DBLab runs on a separate VM in the same region and refreshes its data automatically. It can be installed in any cloud or on premises and suits database engineers and platform teams.

Key features

  • Thin cloning of PostgreSQL databases
  • Database branching for dev and test
  • CI/CD testing of schema migrations
  • Works with RDS, Cloud SQL, Supabase, and Timescale
  • Automatic data refresh for managed services
  • Runs in any cloud or on premises

Good fit for

  • Testing migrations against production-like data
  • Giving developers disposable full-size databases
Tags
postgresql
database-branching
thin-cloning
ci-cd
devops
database-testing
migrations
go

DBLab Engine: questions and answers

What is DBLab Engine used for?
DBLab Engine from Postgres.ai provides fast thin cloning and branching of PostgreSQL databases for development, testing, and CI/CD. It is a good fit for testing migrations against production-like data and giving developers disposable full-size databases.
Is DBLab Engine open source?
Yes. DBLab Engine is open source under the Apache-2.0 licence. Its source code is on GitHub at postgres-ai/database-lab-engine and is written mainly in Go.
Is DBLab Engine free?
Yes. DBLab Engine is open source, so the software itself is free to use.
Can I self-host DBLab Engine?
Yes. DBLab Engine can be self-hosted on your own server or infrastructure.
What are some alternatives to DBLab Engine?
Similar open-source tools in the Database Tools category include Databasus, Goose and Flyway. SaaS products in the same category include DBCode, dbForge Studio and ERDAuto.
Is DBLab Engine actively maintained?
Yes. The most recent commit to DBLab Engine was on 11 November 2026, and the latest release is v4.2.2, published on 11 November 2026. The project has 2.8k stars on GitHub, with 23 added in the last 30 days.

Open-source alternatives to DBLab Engine

See all

SaaS alternatives to DBLab Engine

See all