Introduction

This page describes how to prepare for Data Sync and the recommended order for setting it up.

To reach Data Sync, select the SQLSync icon on the landing page:

Tip

If SQLSync or the Data Sync menu is not available, check that:

Prerequisites

Before you configure Data Sync, ensure the following:

Warning

A full resync drops and recreates the target table, then reloads all data. Plan accordingly if other processes depend on those target tables. A partial resync (available from Sync Monitoring) only replays Change Tracking history and leaves the target table in place.

Supported platforms

Role Supported platforms
Source Microsoft SQL Server (Azure SQL, Azure SQL Managed Instance, and on-premises)
Target Microsoft Fabric Data Warehouse, or Microsoft SQL Server (Azure SQL, Managed Instance, and on-premises)

Sync is always one-way: source to target. There is no bidirectional sync or conflict resolution.

Note

Throughout Data Sync, Microsoft SQL Server means Azure SQL, Azure SQL Managed Instance, and on-premises Microsoft SQL Server.

Configure Data Sync in this order so each step has what it needs:

  1. Global Configuration - set processor threads, staging, and issue email alerts (optional, but review before you start syncing).
  2. Source Host Configuration - register the SQL Server instance that owns the source data.
  3. Target Host Configuration - register the Fabric or SQL Server destination (including Blob SAS for Fabric).
  4. Schedule Configuration - define when delta, checksum, and resync jobs run.
  5. Queue Configuration - create or reuse a processing queue (a Default queue is provided).
  6. Table List Configuration - select the tables to sync, assign them to a queue, and optionally limit which columns each table syncs.
  7. Sync Configuration - combine source, target, schedule, table list, and databases into a sync job.
  8. Monitoring - confirm tables move from pending to syncing, and use bulk actions as needed.

How sync works

Once a sync configuration is active:

  1. Tables start in a pending/resync state.
  2. The resync schedule performs the initial full load (or a later full reload). The same schedule also processes tables marked for partial resync.
  3. The delta schedule applies ongoing Change Tracking inserts, updates, and deletes to the target. You can also queue an immediate delta from Sync Monitoring with Run Delta for Selected.
  4. An optional checksum schedule compares source and target row counts and checksums for validation.

Target tables also receive C4SQL_CreateDate and C4SQL_LastUpdated metadata columns. Those timestamps are stored in the source server's local time. An optional C4SqlClientDatabaseName column can store the source database name on each target row.

Tip

Use Queue Monitoring if a table stays pending longer than expected, or if errors appear in monitoring.