Home
Bram Gruneir edited this page May 7, 2024
·
16 revisions
Replicator is a logical-replication toolkit that supports use-cases involving the following products:
- CockroachDB: Source / Target
- PostgreSQL: Source / Target
- MySQL / MariaDB: Source / Target
- Oracle Database: Target
Use-cases:
- Live migrations to CockroachDB.
- Backfill existing database from CockroachDB to preserve a migration fallback option.
- Logical replication to reporting / analytics databases.
- Replication strategies not otherwise supported by CockroachDB (e.g. Hot/Cold, 2DC, DHT Rings).
Notable features:
- Embedded TypeScript / JavaScript environment for configuration and on-the-fly data transforms.
- Common patterns in logical replication can be configured with data behaviors.
- Support for transactionally-consistent replication (including foreign keys) or a free-running,
immediate
, mode for high-throughput applications. - Merge operators can resolve row-level data conflicts.
This is a prototype and is supported by Cockroach Labs through by prior arrangement with Cockroach Field Engineering. Other use of this tool are entirely at your own risk and Cockroach Labs makes no guarantees or warranties about its operation.