Skip to main content

DBLab vs Atlas

run a change on real data vs plan and lint it

Atlas plans, lints and applies schema changes as code, verified on an empty dev database. DBLab runs the result on a full-size clone and measures the locks it holds.

See how migration testing worksOpen the demoPricing

Checked on against 13 pages of Atlas documentation. PostgreSQL only. Markdown

What DBLab adds to Atlas​

Each point pairs what our documentation says with what the Atlas documentation says. Follow the links and check.

  1. Runs the migration on full-size data

    DBLab

    DB Migration Checker applies pending migrations to a full-size clone in CI and collects statistics from the run. docs

    Atlas

    Atlas verifies changes on a dev database, which it requires to be empty. Datasets can load sampled rows from an RDS snapshot export, CSV files or synthetic data, but they are in preview for a subset of Teams and Enterprise customers. 57

  2. Measures the locks a migration holds

    DBLab

    The checker fails a migration that holds a dangerous lock longer than a limit, 10 seconds by default. docs

    Atlas

    Atlas Pro analyzers predict locks from the SQL (PG101 to PG109, PG301 to PG320). Profiling measures lock time on the dev database during a test, but it is in preview, and the docs say empty tables make every lock short. 36

  3. Open source and self-hosted

    DBLab

    DBLab Engine is open source under Apache 2.0 and runs in any cloud or on-premises. docs

    Atlas

    The Atlas Community Edition is Apache 2.0 but omits linting, testing, schema plan, drift detection and down migrations. The standard binary is under the Atlas MSA, and migrate lint needs Atlas Pro since v0.38. 84

  4. Run it again from the same state

    DBLab

    On a clone, reset returns the data to the snapshot, so a migration can be run again. docs

    Atlas

    atlas migrate down reverts changes applied by the migration directory, computing the plan from the current database state; it is not in the Community Edition. Atlas describes its history model as roll-forward by default. 138

Short answer​

Atlas manages schemas as code: a declarative workflow that diffs a desired schema against the database, and a versioned workflow with planned, linted migration files. Its Pro analyzers predict PostgreSQL lock and rewrite risks from the SQL, and it verifies changes on a dev database, which must be empty. DBLab does not write, plan or deploy migrations. It gives you a full-size thin clone of a PostgreSQL database where a change runs on real data, so you see its duration and locks. The two fit together: Atlas plans and lints, DBLab runs the result on a clone.

What Atlas does that DBLab does not​

  • Atlas is the change process itself: declarative schema-as-code in HCL, SQL or an ORM, or versioned migration files that it plans for you. DBLab covers none of these steps.
  • PostgreSQL-specific Pro checks name the lock or rewrite a statement causes, such as PG101, an index built without CONCURRENTLY, and PG305, a CHECK constraint that requires a full table scan.
  • Profiling, in preview, measures the locks, rewrites and disk use of each statement during a test, and an expect "profile" block can fail the test when a lock lasts longer than a bound.
  • Pro adds schema plans that are reviewed and approved in pull requests or the Atlas Registry, drift detection and audit trails.
  • GitHub Actions cover lint, test, plan, apply and drift, and the docs list GitLab CI, CircleCI, Bitbucket Pipes and Azure DevOps integrations.
The DBLab UI showing a clone that is ready to accept Postgres connections, created in 1.67 seconds, with its psql connection string.

What you get​

A clone in the DBLab UI, ready for connections 1.67 seconds after it was requested (a 2.7 GiB demo database). How it works

See how migration testing worksOpen the demoPricing

DBLab and Atlas, side by side​

QuestionDBLabAtlas
What it isThin clones of a full-size PostgreSQL database, used to run a schema change on real data before it ships. DBLab does not write, order or deploy migrations. docsdocs 2A language-independent tool for managing and migrating database schemas. The declarative workflow works like Terraform: it compares the database with the desired schema, then plans and applies the difference. The versioned workflow plans, lints and applies migration files. Schemas are written in HCL, SQL or an ORM. 1
Runs the change on full-size dataYesDB Migration Checker applies pending migrations to a full-size clone in CI and collects statistics from the run. docsPreviewTests run on the dev database, which Atlas requires to be empty. Datasets can load rows from an Amazon RDS snapshot export, CSV files or synthetic data, optionally sampled; the docs say a test rarely needs the whole export. Datasets are in preview for a subset of Teams and Enterprise customers. 567
Lock and downtime riskYesMeasured on the clone: the checker fails a migration that holds a dangerous lock longer than a limit, 10 seconds by default. docsPreviewPredicted from the SQL by Pro analyzers: PG101 to PG109 for index and constraint builds that lock the table, PG301 to PG320 for blocking and table-rewrite changes. Measured with --profile, which reports the locks each statement takes and for how long on the dev database, and can fail a test past a set bound; profiling is in preview, and the docs say empty tables make every lock short. 36
Static review and lint rulesNoNone. DBLab runs the change; it does not lint SQL. docsYesatlas migrate lint analyzes migration files for destructive, data-dependent, backward-incompatible and locking changes. Since v0.38 it is available only to Atlas Pro users. The concurrent index, blocking and nested transaction analyzers are marked Pro; destructive and data-dependent checks are not. 43
Writing, versioning and deploying migrationsNoNot provided. Keep your migration tool; a clone is an ordinary PostgreSQL server that any tool can connect to. docsYesVersioned: Atlas plans migration files from schema changes, then lints and applies them; each file runs in its own transaction by default. Declarative: atlas schema apply moves the database to the desired state, and Pro users can pre-plan, review and approve the plan first. 11211
Approvals and audit trailNoNot a change-approval system. DBLab EE adds SSO, user management and audit for access to clones. docsYesatlas schema plan, Pro only, stores a plan in the Atlas Registry, where it is approved from the CLI, the Registry UI or a pull request workflow; a lint-review policy asks for human review only when the linter finds issues. Protected Flows limit who can push or approve. Audit trails are listed on Pro. 112
RollbackNot provided for production. On a clone, reset returns the data to the snapshot, so a migration can be run again. docsMigration files are roll-forward in a linear history, but atlas migrate down can revert changes made by specific files. Down migrations are among the features the open-source Community Edition omits. 138
CI integrationThe checker runs in CI; the documented example uses GitHub Actions. Any pipeline can also create clones through the API or CLI. docsdocs 2GitHub Actions for migrate lint, test, apply, down and drift and for schema plan, lint, test and apply; the drift actions need an Atlas Pro cloud token. The docs also list GitLab CI Components, CircleCI Orbs, Bitbucket Pipes and Azure DevOps. 94
Open source and hostingYesOpen source under Apache 2.0, self-hosted in any cloud or on-premises. docsPartlyThe CLI source on GitHub is under Apache 2.0, and a Community Edition built from it omits linting, testing, schema plan, drift detection, down migrations, integrations and database objects such as views, triggers and functions. The standard binary adds proprietary features and is free to download under the Atlas MSA; atlas login unlocks Pro. Atlas Cloud hosts the Registry, Pipelines and schema monitoring. 8102

Pricing​

ProductPlanList priceNotes
DBLabDBLab EngineFreeOpen source, Apache 2.0; you run it
DBLabDBLab SEFrom $62/monthBilled hourly by machine size, plus your own cloud costs; 2,000 GiB limit; single user
DBLabDBLab EECustomAnnual contract, from $0.2662 per 100 GiB per hour; unlimited database size, SSO
AtlasStarterFreeIncludes PostgreSQL; ORM integration, migration planning and execution; basic database features 2
AtlasPro$9 per user/monthUp to 50 seats; migration linting, drift detection, schema policy, audit trails; usage-based charges on top 2
AtlasAtlas Pipelines (Pro)$59 per project/monthIncludes 2 target databases; $39/month per additional target; 90-day history 2
AtlasSchema Monitoring (Pro)$39 per monitored database/monthSchema changelog, ERD, lineage, drift detection and alerts 2
AtlasEnterpriseCustomStarting from 20 databases; SSO, air-gapped deployment, offline licenses 2
AtlasCommunity EditionFreeOpen source, Apache 2.0; omits linting, testing, schema plan, drift detection and down migrations 8

List prices on 18 Nov 2026. The billing units differ, so this is not a total-cost comparison. Atlas Pro prices per user, plus usage-based charges for CI/CD pipelines and monitored databases. DBLab SE is billed by machine size. DBLab pricing

Using DBLab with Atlas​

The two cover different steps of the same change. Atlas plans the migration and atlas migrate lint flags statements that will take locks or rewrite tables, using an empty dev database to verify it. A CI job then creates a DBLab clone through the API or CLI and applies the same migration to it, so the team sees how long it takes and which locks it holds on full-size data; reset returns the clone to its snapshot for the next run. After merge, Atlas applies the change to production. DBLab does not deploy anything.

Questions​

Is Atlas open source?
The CLI source on GitHub is under Apache 2.0, and Ariga publishes a Community Edition built from it. That edition omits many commands, including migration linting, testing and down migrations, and support for database objects such as views, triggers and functions. The standard binary includes proprietary features and is free to download under the Atlas MSA. 810
What is the Atlas dev database, and is it production data?
No. The docs describe it as a temporary, isolated database that Atlas uses as a sandbox to simulate the real environment, and Atlas rejects a dev database that already contains objects. It can be a Docker container such as docker://postgres/15/dev. Atlas uses it to plan, normalize and verify changes, not to hold production data. 5
Does Atlas measure locks on real data?
Its Pro analyzers predict locks from the SQL. The --profile flag measures the locks each statement takes on the dev database and can fail a test past a set bound, but it is in preview, and the docs note that on an empty table every lock is short, so tables should be loaded first. Datasets that load sampled RDS exports or synthetic rows are also in preview. 367
What does Atlas cost?
Starter is free and includes PostgreSQL. Pro is $9 per user per month, plus $59 per project per month for Atlas Pipelines with 2 target databases and $39 per monitored database per month for schema monitoring. Enterprise is custom, starting from 20 databases. 2
Can I use DBLab and Atlas together?
Yes. Atlas plans and lints the migration; a DBLab clone is an ordinary PostgreSQL server, so CI can apply the same migration to a clone to see duration and locks on full-size data before Atlas applies it to production. DBLab does not plan or deploy migrations, so it does not replace Atlas. 412

Try a clone before you install anything​

The public demo runs DBLab Engine: open it with the token demo-token, create a clone and connect to it. DBLab Engine is open source, so the next step is a machine of your own.

See how migration testing worksOpen the demoPricing

Sources​

  1. Atlas docs: introduction
  2. Atlas pricing
  3. Atlas docs: lint analyzers
  4. Atlas docs: migrate lint
  5. Atlas docs: dev database
  6. Atlas docs: profiling migrations
  7. Atlas docs: test datasets
  8. Atlas Community Edition
  9. Atlas docs: GitHub Actions
  10. Atlas repository on GitHub
  11. Atlas docs: schema plan
  12. Atlas docs: applying versioned migrations
  13. Atlas docs: down migrations

These pages compare what each product does for PostgreSQL; other databases and the rest of the stack are out of scope. What we say about the other product comes from its own documentation, pricing page, changelog or source repository, read on the date shown; each row cites its source. "Not documented" means we did not find it in those sources, not that the product cannot do it. Prices are list prices and the billing units differ, so they are not a total-cost comparison. Product names are trademarks of their owners. Found a mistake? Tell us and we will correct the page.