Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 3.8 KB

README.md

File metadata and controls

71 lines (50 loc) · 3.8 KB

Database Lab - thin database clones for faster development

Database Lab Engine is an opens-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.

Why on GitLab.com?

Database Lab Engine is hosted and developed on GitLab.com.

GitLab Inc. is our (Postgres.ai) long-term client and early adopter (see GitLab Development Docs). GitLab has an open-source version. Last but not least: GitLab uses PostgreSQL.

However, nowadays, not many open-source projects are hosted at GitLab.com unfortunately. Please support the project giving a GitLab star! It's on the main page, at the upper right corner:

Add a star

Engine setup

See Database Lab tutorials:

For stable Docker images see postgresai/dblab-server repository on DockerHub.

Client CLI

Installation

Install Database Lab client CLI on a Linux architecture (e.g., Ubuntu):

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

Also, binaries available for download: Alpine, other.

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 for develop Docker images.

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