Deutsch | Português (BR) | Русский | Español | Українська
⚡ Blazing-fast PostgreSQL cloning and branching 🐘
🛠️ Build powerful dev/test environments.
🔃 Cover 100% of DB migrations with CI tests.
💡 Quickly verify ChatGPT ideas to get rid of hallucinations.
Available for any PostgreSQL, including self-managed and managed services* like AWS RDS, GCP Cloud SQL, Supabase, and Timescale.
It can be installed and used anywhere: across all cloud environments and on-premises.
*For managed PostgreSQL cloud services like AWS RDS or Heroku, direct physical connection and PGDATA access aren't possible. In these cases, DBLab should run on a separate VM within the same region. It will routinely auto-refresh its data, effectively acting as a database-as-a-service solution. This setup then offers thin database branching ideal for development and testing.
For example, cloning a 1 TiB PostgreSQL database takes just about 10 seconds. On a single machine, you can have dozens of independent clones running simultaneously, supporting extensive development and testing activities without any added hardware costs.

Try it yourself right now:
- Visit Postgres.ai Console, set up your first organization, and provision a DBLab Standard Edition (DBLab SE) to any cloud or on-premises environment.
- Pricing (starting at $62/month)
- Documentation: How to install DBLab SE
- Demo: https://demo.dblab.dev (use the token demo-token to access)
- Looking for a free version? Install the DBLab Community Edition by following this tutorial.
Thin cloning is fast because it is based on Copy-on-Write (CoW). DBLab employs two technologies for enabling thin cloning: ZFS (default) and LVM.
Using ZFS, DBLab routinely takes new snapshots of the data directory, managing a collection of them and removing old or unused ones. When requesting a fresh clone, users have the option to select their preferred snapshot.
Read more: - How it works - Database Migration Testing - SQL Optimization with Joe Bot - Questions and answers
databaseRename option)/healthz API endpoint (no auth), extended /status endpoint (API docs)/metrics) for monitoringThe simplest way to show your support is by giving us a star on GitHub or GitLab! ⭐

If DBLab has been a vital tool for you, tell the world about your journey. Use the logo from the ./assets folder for a visual touch. Whether it's in documents, presentations, applications, or on your website, let everyone know you trust and use DBLab.
HTML snippet for lighter backgrounds:
<a href="http://databaselab.io">
<img width="400" src="https://postgres.ai/assets/powered-by-dle-for-light-background.svg" />
</a>
For darker backgrounds:
<a href="http://databaselab.io">
<img width="400" src="https://postgres.ai/assets/powered-by-dle-for-dark-background.svg" />
</a>
For proposals, bug reports, and participation in development, see our Contributing Guide.
You can find more in the "How-to guides" section of the documentation.
The DBLab source code is licensed under the OSI-approved open source license Apache 2.0.
Reach out to the Postgres.ai team if you want a trial or commercial license that does not contain the GPL clauses: Contact page.
Many thanks to our amazing contributors!
<a href = "https://github.com/postgres-ai/d
$ claude mcp add database-lab-engine \
-- python -m otcore.mcp_server <graph>