Skip to main content

Data Replication

NineData Data Replication helps you move and continuously synchronize data between supported databases and data platforms. Use it for database migration, real-time synchronization, disaster recovery, active-active architectures, and real-time data integration.

A replication task can include schema replication, full data replication, and incremental data replication. Depending on the source and target, you can run one-way or bidirectional replication and validate the result with Database Comparison before cutover. These capabilities can be part of a broader data movement platform or a real-time data pipeline.

Choose a Guide

TaskRecommended documentation
Create a one-way or bidirectional data replication taskData replication
Assess object and SQL compatibility before migrationMigration Assessment
Build active-active synchronization across multiple data sourcesData replication amongst 3 or more data sources
Replicate sharded databases and tables, or merge shards into one instanceReplicating Sharded Databases and Tables
Run full replication periodicallyPeriodic Full Replication
Transform schemas during replicationSchema Transformation
Clean or transform data during replicationETL Functions
Resynchronize database tablesOne-Click Resynchronization of Database Tables

Common Migration Paths

Source typeMigration and synchronization guides
MySQLData replication between Self-Managed MySQL databases, MySQL Migration Synchronization to PostgreSQL, Self-managed MySQL to ClickHouse, MySQL Migration Synchronization to StarRocks
OracleOracle Replication to MySQL, Oracle Migration to PostgreSQL, Data Replication Between Oracle Instances, Oracle Migration Synchronization to StarRocks, Oracle Migration Synchronization to SelectDB
PostgreSQLPostgreSQL Migration Synchronization to PostgreSQL, PostgreSQL Migration Synchronization to MySQL, PostgreSQL Migration Synchronization to Kafka, PostgreSQL Migration and Synchronization to ClickHouse
SQL ServerData replication between Self-Managed SQL Server databases, SQL Server Migration Synchronization to PostgreSQL, SQL Server Migration Synchronization to SelectDB, SQL Server Migration Synchronization to PolarDB PostgreSQL
Redis, Kafka, and MongoDBData Replication between Redis Instances, Kafka Replication to MySQL, MongoDB Replication to MongoDB
Data warehouse and analytics databasesMigrating and Synchronizing to ClickHouse, Greenplum Migration Synchronization to PostgreSQL, Hive Migration Synchronization to MySQL, DWS Migration Synchronization to PostgreSQL
Cloud and domestic databasesOceanBase MySQL Migration Synchronization to StarRocks, GaussDB Migration Synchronization to GaussDB, KingbaseES for PostgreSQL Migration Synchronization to PostgreSQL, TiDB Migration Synchronization to MySQL

Before You Begin

  • Add the source and target data sources to NineData. For details, see Add Data Source.
  • Review the guide for your source and target types, including permissions, supported versions, network requirements, and replication limits.
  • Decide whether the task needs schema replication, full data replication, incremental data replication, or a combination of these phases.
  • Prepare a validation plan. For migration or cutover workflows, use Database Comparison Overview to verify schema and data consistency.

Typical Workflow

  1. Add and test the source and target data sources.
  2. Open the guide that matches your source and target database types.
  3. Create the replication task and configure the required replication phases.
  4. Start the task and monitor progress, latency, and task status.
  5. Validate the replicated data and schema before switching application traffic or downstream workloads.

What NineData Handles

  • Online migration and business continuity: Combine full data replication with incremental replication to reduce the final cutover window.
  • Schema initialization and supported DDL changes: Replicate database structures and manage supported schema evolution during the task.
  • Data consistency validation: Use Database Comparison with replication tasks to check whether the source and target are consistent.
  • Heterogeneous replication: Move data across supported relational databases, NoSQL systems, message queues, and analytics databases.
  • Operational control: Monitor task status, pause or resume tasks, restart selected full-load steps, and resynchronize inconsistent tables when needed.

Replication Architecture

Replication architecture overview

NineData supports replication across cloud databases, self-managed databases, and databases hosted in private data centers. The available phases, permissions, and limits depend on the selected source and target types.

Real-Time Replication

Real-time replication overview

For supported sources, NineData uses log-based change capture to synchronize ongoing source-side changes to the target. This helps keep the target database current while the application continues to use the source system.

Next Steps