Data platform · SQL Server replication

SQL Server replication: copy every change to new systems without straining production

SQL Server replication copies each insert, update and delete made in SQL Server to another system shortly after it is committed, so a new database, an event stream or a reporting copy stays current while SQL Server keeps serving the business. Interkey sets it up with iblync, its own replication platform.

Orientation

At a glance

What a SQL Server replication engagement covers, before the detail.

Source
Microsoft SQL Server, on-premises or in the cloud; version and edition confirmed in scoping
Targets
PostgreSQL or another database, Apache Kafka, NoSQL and search systems, cloud storage; pairing confirmed in scoping
How changes are found
Agreed per source with your DBAs; reading the transaction log is the usual choice for production
Protection for production
Throttling, a recorded starting point, and a queue that holds changes while the target is away
Where it runs
Settled per engagement; the bridge and target can run on in-Kingdom infrastructure
Commercial model
Quoted per engagement; iblync by source, target and data volume

In short

  • What it does: sends only what changed in SQL Server, instead of exporting whole tables every night.
  • Why it matters: new systems are fed and proved while SQL Server still takes every transaction.
  • What decides success: change order, schema changes, log space and lag that a named person watches.
  • How it is bought: a scoping conversation, then a quotation for the engagement.

What SQL Server replication is used for

When an organisation modernises, the new pieces need SQL Server's data, and they need it current. A nightly export answers yesterday's question; SQL Server change data capture delivers each committed change, in commit order, while the source keeps working. It is used in four situations:

  • A phased migration. A new database is loaded once, then kept in step through a parallel run. Our SQL Server to PostgreSQL migration page covers that route in full.
  • New services. New applications read changes from a stream, not from the production database.
  • Reporting. A separate copy is fed continuously, so heavy queries leave production.
  • Two systems in parallel. An old and a new application both take writes for a period.

The general mechanics are in our change data capture guide. This page covers the SQL Server side; the same questions for other engines are on our pages on PostgreSQL replication and MySQL replication.

SQL Server CDC and the other ways to replicate SQL Server

Each way of finding what changed puts a different load on the source.

Approaches to SQL Server replication and change data capture, with their effect on the source
ApproachHow it finds changesEffect on the sourceSuits
Polling a "last changed" columnScheduled queries for rows changed since the last runQueries grow with the tables; rows deleted outright are missedSmall tables, or targets that only need periodic copies
Triggers on each tableEach write also writes the change to a change tableExtra work on every insert, update and delete; triggers join the schemaA few tables where deletes must be seen and log access is not allowed
SQL Server's built-in change featuresSQL Server records changes, or the fact that a row changed, inside the databaseBackground jobs, extra storage and settings your DBAs own and maintainTeams that already run these features and a target that can read them
SQL Server's built-in replicationSQL Server publishes changes to subscribing databasesMainly suited to SQL Server targets; adds jobs and servers to look afterSQL Server to SQL Server copies
Reading the transaction logA capture process reads committed changes from the logLittle added load and no change to tables or application; log space must be plannedProduction systems and targets that are not SQL Server

The choice for each source, and the reason, is written down in scoping for your DBAs to review.

SQL Server change data capture and the production server

A DBA's first question is fair: will capture slow down production? Log-based capture adds little load compared with polling or triggers, but it still asks things of the SQL Server team. Agree them first:

  • The capture account and exactly what it may read, on which databases and tables.
  • Log space. Changes must stay readable until captured, so a long pause can make the transaction log grow. Size it and set an alert.
  • The initial load. When it runs, from which recorded point, and how much load it may place on production.
  • Maintenance. How capture fits with log backups, index work and patching.
  • High availability. What the capture does when the server fails over to another node, and where it resumes.
  • Schema changes. Who tells the replication team when a table or column changes.

iblync throttles the initial load and any catch-up, inside a limit your DBAs set.

SQL Server to Kafka: publishing changes as events

Streaming SQL Server to Kafka lets new services react to an order or a status change without touching the production database. Apache Kafka is among the systems iblync's website lists; the pairing is confirmed in scoping. What decides whether the stream can be trusted:

  • Topics and keys. Usually one topic per table, keyed by the primary key, so changes to one record stay in order.
  • Duplicates. After a restart a change can arrive twice, so consumers must handle repeats safely.
  • Schema changes. A new or renamed column changes the shape of the event; agree how consumers learn about it.
  • Sensitive columns. Decide which columns may leave SQL Server, and mask or drop the rest.

A permanent stream is an integration: give it an owner, monitoring and change management.

SQL Server replication with iblync

iblync is Interkey's own data migration and replication platform, built in Saudi Arabia. SQL Server and PostgreSQL are on its published connector list. It brings the parts that protect production and the target:

  • Continuous replication after one initial load, and two-way synchronisation where both sides take writes.
  • Throttling, so replication stays inside the agreed load.
  • A queue that holds changes while the target is unavailable and delivers them when it returns.
  • Resume and validation. iblync's site states that interrupted work resumes where it stopped and that validation uses checksums and row counts.
Read more

iblync's website describes its replication as real time with minimal latency, without a fixed figure for any one system. The delay on your estate depends on change rate, network and target, so it is measured in scoping. See our real-time replication page.

How Interkey sets up SQL Server replication

  1. Scoping.

    Version and edition, tables, daily change volume, targets, sensitive columns, where the bridge runs and the acceptable lag.

  2. Agreement with the DBAs.

    Capture method, account, log space, load limits and failover behaviour, written down and signed off.

  3. Initial load.

    Existing data copied once from a recorded point, throttled to stay inside the agreed load.

  4. Continuous capture.

    Changes since that point applied in commit order, with queueing if the target goes away.

  5. Validation and monitoring.

    Counts and checksums compared, lag measured, alerts to a named owner.

  6. Handover or operation.

    Runbook and handover to your team, or operation by Interkey under a written scope, with support from Riyadh.

SQL Server replication in Saudi Arabia: data residency and local support

A replication stream is production data in motion, so residency applies to it too. Many Saudi organisations must keep certain data inside the Kingdom under the National Cybersecurity Authority's controls (nca.gov.sa) and the Personal Data Protection Law overseen by SDAIA (sdaia.gov.sa). Where the capture process, the queue and the target run is confirmed per engagement. Which data must stay, and why, is settled before any data moves.

Support comes from Riyadh, in Arabic and English, working beside your DBAs from scoping through operation.

When SQL Server replication is not the right tool

If a target only needs yesterday's figures, a scheduled batch load is simpler to run. If you are copying one SQL Server database to another SQL Server and its built-in features already do the job, keep them, and iblync may not be needed. And a replicated copy is not a backup: a table deleted by mistake is deleted on the target too.

What drives the cost and the timeline

We publish no price or duration, because the estate decides both. The drivers are:

  • databases and tables in scope, and daily change volume;
  • the number of targets and how far their data models are from SQL Server's;
  • how closely the target must follow the source;
  • approvals from the DBA and security teams;
  • where the bridge must run, and how the source fails over;
  • whether the stream is temporary, for a migration, or permanent.

Scoping turns these into a schedule and a quotation.

Questions buyers ask

Will SQL Server change data capture slow down our production database?

Some, agreed in advance. Reading the transaction log adds little compared with polling or triggers, and iblync throttles the initial load and any catch-up to the limit your DBAs set.

Can iblync replicate SQL Server changes to Kafka or PostgreSQL?

SQL Server and PostgreSQL are on iblync's published connector list, and Apache Kafka is among the systems its website lists. The pairing for your versions is confirmed in scoping; where a system is not covered, a custom connector is built.

Do we have to switch on SQL Server's own change features for replication?

Not always. The capture method is chosen per source with your DBAs. Log reading is the usual choice; the built-in features or triggers are used where they suit the target or are already running.

How is SQL Server replication priced for Saudi organisations?

By quotation after scoping: iblync by source, target and data volume, the engagement by the work around it. Your SQL Server licensing stays a matter for your existing agreement.

Can replicated SQL Server data stay inside the Kingdom?

Yes. The capture process, the queue and the target can run on in-Kingdom infrastructure, on-premises or in a Saudi cloud region. Which data must stay, and why, is agreed before any data moves.

How long does it take to start replicating from SQL Server?

It depends on DBA and security approvals, the number of tables and targets, the initial load volume and the acceptable lag. Scoping gives a schedule; any duration quoted before it is a guess.

Next step

Scope SQL Server replication

Tell us the SQL Server version, the tables in scope, how much data changes each day, the target and how far behind it may run.

Required field

By sending this form, you agree to our Privacy Notice.

Or directly

+966-11-2180999 [email protected]

Tawuniya Towers, North Tower, 7th Floor, King Fahad Highway, Olaya, P.O. Box 56835, Riyadh 11564, Saudi Arabia

or Compare the approaches

Published by Interkey. Last updated . Interkey is registered in Riyadh, Saudi Arabia under commercial registration 1010156897.