Skip to content

Thin PostgreSQL clones. DLE provides blazing fast database cloning to build powerful development, test, QA, staging environments. Follow to stay updated.

License

Notifications You must be signed in to change notification settings

datadevopscloud/database-lab-engine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database Lab Engine - thin database clones for faster development

Database Lab Engine (DLE) is an open-source technology that allows blazing-fast cloning of Postgres databases of any size in seconds. This helps solve many problems such as:

  • help build dev/QA/staging environments involving full-size production-like databases,
  • provide temporary full-size database clones for SQL query analysis optimization (see Joe bot),
  • automatically verify database migrations (DB schema changes) and massive data operations to avoid downtime and performance bottlenecks.

As an example, cloning of 10 TiB PostgreSQL database takes less than 2 seconds.

Read more at Postgres.ai and in the Docs.

Please support the project giving a GitLab star! It's on the main page, at the upper right corner:

Add a star

Installation

See the Database Lab tutorials:

The latest stable Docker images are published in the Docker Hub repository.

Client CLI

Installation

Install Database Lab client CLI on your Linux machine (e.g., Ubuntu):

curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/scripts/cli_install.sh | bash

Activate CLI autocompletion:

sudo curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/scripts/bash_autocomplete --output /etc/bash_completion.d/dblab 
source /etc/bash_completion.d/dblab

How to use CLI

Docker Hub

References

Development

Open an Issue to discuss ideas, open a Merge Request to propose a change.

See our GitLab Container Registry to find the images built for development branches.

Development requirements

  1. Install golangci-lint: https://github.com/golangci/golangci-lint#install

Have a question?

  • Check our Q&A
  • or join our Community (links below)

Community

About

Thin PostgreSQL clones. DLE provides blazing fast database cloning to build powerful development, test, QA, staging environments. Follow to stay updated.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 90.1%
  • Shell 8.6%
  • Other 1.3%