# DBLab vs Redgate Test Data Manager: Postgres clones vs mask and subset

> Redgate Test Data Manager masks and subsets PostgreSQL databases; Redgate Clone makes clones from backups on Kubernetes. DBLab makes thin clones of PostgreSQL.

Checked on 2026-11-18. Page: https://postgres.ai/compare/dblab-vs-redgate-test-data-manager. All comparisons: https://postgres.ai/compare.

## Short answer

Redgate Test Data Manager is commercial software that anonymizes and subsets databases, including PostgreSQL, with CLIs and a Windows GUI. Redgate Clone, documented alongside it, restores a backup into a data image on a Kubernetes cluster you run and creates data containers from it in seconds. DBLab Engine is open-source software for thin clones of PostgreSQL, filled by dump and restore or physical replication. Pick Redgate if you want classification, masking and subsetting from one vendor; pick DBLab for PostgreSQL clones that can follow the source, with a published price.

## Where DBLab is ahead of Redgate Test Data Manager

1. **Open source.**
   - DBLab: DBLab Engine is open source under Apache 2.0. ([DBLab Engine](https://postgres.ai/docs/database-lab))
   - Redgate Test Data Manager: Test Data Manager needs a license, and a free trial starts at sign-in. The sources we reviewed list no public price, and the product URL opened the SQL Provision page on 2026-11-18. [1][18]
2. **Clones the Postgres you already run.**
   - DBLab: Any PostgreSQL from version 10 up, wherever it runs: Amazon RDS, Aurora, Cloud SQL, Supabase or your own servers. ([DBLab data sources](https://postgres.ai/docs/dblab-howtos/administration/data), [Supported PostgreSQL versions and extensions](https://postgres.ai/docs/database-lab/supported-databases))
   - Redgate Test Data Manager: Redgate Clone builds a data image by restoring a backup file from an NFS or SMB share, or starts empty; support for PostgreSQL 16 and 17 backups was added in February 2026. [12][10][16]
3. **Catches a dangerous migration in CI.**
   - DBLab: DB Migration Checker runs pending migrations on a clone in CI and fails those that hold dangerous locks longer than a limit, 10 seconds by default. ([DB Migration Checker](https://postgres.ai/docs/database-lab/db-migration-checker))
   - Redgate Test Data Manager: The rgclone CLI is meant to be scripted in pipelines, with clones per branch and CI pipeline, and the TDM CLIs can run headless in Docker. The sources we reviewed do not describe testing migrations. [8][7]

## Try a clone before you install anything

```
dblab clone create --username dev --password "$PASSWORD" --id test
```

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.

- [Open the DBLab demo](https://demo.dblab.dev)
- [Install DBLab Engine](https://postgres.ai/docs/dblab-howtos/administration/install-dle-manually)

## Side by side

| | DBLab | Redgate Test Data Manager |
|---|---|---|
| What it is | Open-source software that gives every developer, CI job and AI agent a writable, full-size copy of a PostgreSQL database in seconds. Thin clones share one physical copy of the data on one machine. | Test Data Manager gives "a masked and subsetted copy of your database, ready for dev and test", with anonymize and subset CLIs and a GUI. Redgate Clone creates disposable copies of databases, PostgreSQL among them, "for development and test". [1][8][2] |
| Which databases it can copy | Any Postgres source: yes. Any PostgreSQL from version 10 up, wherever it runs. Managed services such as Amazon RDS, Aurora, Cloud SQL and Supabase are copied with dump and restore; self-managed servers can also be copied physically with WAL-G, pgBackRest or pg_basebackup. | Any Postgres source: yes. Anonymize and subset connect to a database by connection string. Redgate Clone creates a data image from a backup file on an NFS or SMB share, or an empty one. PostgreSQL 16 and 17 backups were added in February 2026; version 11 support was removed in January 2025. [1][12][16] |
| How a copy is made | Copy-on-write in the file system, with ZFS or LVM. Clones share unchanged blocks, so a clone takes extra disk space only for what it changes. | A data image is a point-in-time copy of the database files of a whole instance, restored from a backup. A data container is a shallow copy of a data image that stores only the file differences, running on a Kubernetes cluster. [10][11][14] |
| Time to get a copy | A few seconds whatever the database size: under 2 seconds for a 10 TiB database with one user, up to 30 seconds with 15 users at once. The first copy of the source is slow; about 1 TiB an hour is a good speed. | Creating a data container takes no more than a few seconds and does not depend on database size. Creating a data image restores the backup, so it takes longer for larger backups; the docs we read give no PostgreSQL figure for it. [13][11][10] |
| Data in a copy | Full-size data: yes. The whole database as of the chosen snapshot. Physical mode can follow the source continuously; logical mode is refreshed in full, on a schedule. | Full-size data: yes. A data image holds the entire instance with all its databases, and each data container starts as an exact replica of it. Subsetting, which needs foreign key relationships, is a separate optional step. [10][11][1] |
| Masking sensitive data | Masking: yes. Documented options: load an anonymized dump, or apply SQL transformations or PostgreSQL Anonymizer before snapshots are taken. You define the rules. | Masking: yes. rganonymize classifies columns that hold personal data, builds a masking file and masks the data, with deterministic masking available. On PostgreSQL the mask command needs a superuser or the table owner, to disable triggers and constraints, so Redgate advises running it on a copy, not production. [5][6][1] |
| CI and migration testing | CI integration: yes. DB Migration Checker runs pending migrations on a clone in CI, fails those that hold dangerous locks longer than a limit (10 seconds by default) and collects statistics. Any CI job can also create clones through the API or CLI. | CI integration: yes. The rgclone CLI is meant to be scripted in DevOps pipelines, including clones per branch and CI pipeline. The TDM CLIs are documented for CI/CD and can run headless in Docker. The sources we reviewed do not describe migration testing. [8][7][1] |
| API, CLI and agent access | REST API, web UI and the dblab CLI. Joe, also available as pgai joe, returns EXPLAIN plans and timings from a clone, not rows. | The rgclone CLI for data images and containers; rganonymize and the subset CLI; a Test Data Manager GUI for Windows, with a Docker image in preview. The docs include prompts for AI coding tools. [9][7][4][5] |
| Where it runs | Self-hosted: yes. On a machine you control, in any cloud or on-premises. DBLab SE installs from the PostgresAI Console or AWS Marketplace. | Self-hosted: yes. Self-hosted. Redgate Clone installs on an Ubuntu Server 22.04 or RHEL VM with an embedded Kubernetes cluster, or on Azure Kubernetes Service; a POC starts at 8 vCPUs and 16 GB RAM. The TDM GUI runs on Windows 10/11 or Windows Server 2016 or later; AWS users can deploy it with CloudFormation. [14][15][4][3] |
| Open source | Yes. DBLab Engine is open source under Apache 2.0. | Not documented in the sources we reviewed. Test Data Manager needs a license, and a free trial starts at sign-in. [1] |
| Documented limits | DBLab SE: 2,000 GiB per instance and a single user. All clones share one machine, and copy-on-write storage has different I/O performance, so timings on a clone should not be compared directly with production. | A PostgreSQL data container reserves 256Mi to 1Gi of RAM for its lifetime. Data images take about the same disk space as the uncompressed backup. Redgate recommends data containers live under a week. Subsetting needs foreign keys. [13][11][1] |
| What you pay for | One machine and one physical copy of the data, however many clones run. DBLab SE is billed hourly by the size of that machine, not by database size or number of clones. | No public price in the sources we reviewed. The docs say a license is needed and offer a free trial. Clone capacity is bounded by RAM and disk: the FAQ estimates 13 to 15 concurrent containers, more realistically about 10, on 32 GB RAM and a 1 TB disk with data images under 100 GB. [1][13][17] |

## When Redgate Test Data Manager is the better choice

- A Redgate Clone data container can be graduated into a new data image, so a prepared or masked copy becomes the template for later containers.
- Masking with classification: rganonymize classifies columns that hold personal data, proposes a masking file and applies it, with deterministic masking where you need the same output across runs.
- Subsetting that follows foreign keys, to produce a smaller copy of a database for development and test.
- A data container takes a few seconds to create whatever the size of the data image, and only stores its differences from that image.
- Usable from AI coding tools: the docs provide prompts that walk Claude Code, Cursor or Copilot through install, classification and masking.

## Pricing

| Product | Plan | List price | Notes |
|---|---|---|---|
| DBLab | DBLab Engine | Free | Open source, Apache 2.0; you run it |
| DBLab | DBLab SE | From $62/month | Billed hourly by machine size, plus your own cloud costs; 2,000 GiB limit; single user |
| DBLab | DBLab EE | Custom | Annual contract, from $0.2662 per 100 GiB per hour; unlimited database size, SSO |
| Redgate Test Data Manager | Redgate Test Data Manager | No public price | License required; free trial at sign-in [1][17] |

DBLab prices: https://postgres.ai/pricing. On 2026-11-18 the Test Data Manager product URL opened the SQL Provision page, and the Redgate product list did not name Test Data Manager or Redgate Clone. The documentation was still being updated: Test Data Manager had a release on 2026-11-12 and Redgate Clone on 2026-10-07.

## Using both

Test Data Manager masks a PostgreSQL database in place, and DBLab can load an anonymized dump. A database masked with rganonymize can be dumped and used as the source for DBLab clones.

## Questions

### Does Redgate Test Data Manager support PostgreSQL?

Yes. The documentation lists PostgreSQL among the databases anonymize and subset work with. Redgate Clone lists PostgreSQL 11 to 17 on its engine support page; its release notes removed version 11 in January 2025 and added 16 and 17 in February 2026. [1][9][16]

### Where does Redgate Clone run?

On infrastructure you run: an Ubuntu Server 22.04 or RHEL VM with an embedded Kubernetes cluster, or Azure Kubernetes Service. Backups are read from an NFS or SMB share; data images and containers live on disks attached to the cluster. [14][15][12]

### What does Redgate Test Data Manager cost?

We found no public price. The documentation says a license is needed and that a free trial starts at sign-in. On 2026-11-18 the Test Data Manager product URL opened the SQL Provision page, while its release notes list a release on 2026-11-12. [1][17][18][19]

### Can I use Redgate Test Data Manager and DBLab together?

Yes, for PostgreSQL. rganonymize masks a database in place, and DBLab can load an anonymized dump, so a masked copy can be the source for DBLab clones. [6][1]

## Sources for DBLab

- [DBLab Engine](https://postgres.ai/docs/database-lab)
- [DBLab data sources](https://postgres.ai/docs/dblab-howtos/administration/data)
- [Supported PostgreSQL versions and extensions](https://postgres.ai/docs/database-lab/supported-databases)
- [DB Migration Checker](https://postgres.ai/docs/database-lab/db-migration-checker)
- [DBLab Engine product page](https://postgres.ai/products/dblab_engine)
- [Full refresh in logical mode](https://postgres.ai/docs/dblab-howtos/administration/logical-full-refresh)
- [Data masking and obfuscation](https://postgres.ai/docs/database-lab/masking)
- [Joe commands: what is returned](https://postgres.ai/docs/reference-guides/joe-bot-commands-reference)
- [Run Joe from the CLI](https://postgres.ai/docs/postgresai-howtos/joe-cli)
- [Pricing](https://postgres.ai/pricing)
- [Query timing on clones and in production](https://postgres.ai/docs/database-lab/timing-estimator)

## Sources for Redgate Test Data Manager

1. [Redgate Test Data Manager documentation](https://documentation.red-gate.com/tdm)
2. [Redgate Test Data Manager: architecture](https://documentation.red-gate.com/tdm/reference/architecture)
3. [Redgate Test Data Manager: implementation checklist](https://documentation.red-gate.com/tdm/getting-started/implementation-checklist)
4. [Redgate Test Data Manager: GUI installation](https://documentation.red-gate.com/tdm/getting-started/installation/gui-installation)
5. [Redgate Test Data Manager: anonymize a database with AI coding tools](https://documentation.red-gate.com/tdm/getting-started/set-up-with-ai-coding-tools/anonymize-a-database)
6. [Redgate Test Data Manager: anonymization connection requirements](https://documentation.red-gate.com/tdm/command-line-interface-cli/anonymization/anonymization-connection-requirements)
7. [Redgate Test Data Manager: command line interface](https://documentation.red-gate.com/tdm/command-line-interface-cli)
8. [Redgate Clone documentation](https://documentation.red-gate.com/redgate-clone)
9. [Redgate Clone: database engine support](https://documentation.red-gate.com/redgate-clone/database-engine-support)
10. [Redgate Clone: data image](https://documentation.red-gate.com/redgate-clone/concepts/data-image)
11. [Redgate Clone: data container](https://documentation.red-gate.com/redgate-clone/concepts/data-container)
12. [Redgate Clone: data storage](https://documentation.red-gate.com/redgate-clone/concepts/data-storage)
13. [Redgate Clone: FAQ](https://documentation.red-gate.com/redgate-clone/faq)
14. [Redgate Clone: installing on VMs running Ubuntu or RHEL](https://documentation.red-gate.com/redgate-clone/installation-quick-start-guide/installing-on-vms-running-ubuntu-or-rhel)
15. [Redgate Clone: installation quick start guide](https://documentation.red-gate.com/redgate-clone/installation-quick-start-guide)
16. [Redgate Clone: release notes](https://documentation.red-gate.com/redgate-clone/administration/release-notes)
17. [Redgate products](https://www.red-gate.com/products/)
18. [Redgate Test Data Manager product URL](https://www.red-gate.com/products/test-data-manager/)
19. [Redgate Test Data Manager: release notes](https://documentation.red-gate.com/tdm/release-notes)

## How we compare

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.
