Azure SQL Data Sync Limitations

Azure SQL Data Sync Limitations Pricing and Alternatives

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Before we talk about the Azure SQL Data Sync Limitations, we will need to understand the prerequisites first. The Azure Data Sync has been around for a while (October 2011), and it got better over the years. At the time of writing this, it was still in preview, and we expect this to be released shortly.

The new version supports On-premises SQL Server instance to act as a subscriber, which we think is excellent. For starters, if you are from the SQL Server On-premises world, and have tickled with SQL Server replication services, you will feel right at home. The Azure SQL Data Sync feature is a hybrid of Merge & Transactional replication. At least, that is what we think.

However, the setup complexity is less, and you should be up and running in a few minutes. This was not the case with the on-premises edition. Anyways, let us look at the system requirements first.

Azure SQL Data Sync Limitations

If you want an uneventful deployment, ensure that the setup has met the minimum prerequisites first. Let us look at the system requirements first.

System Requirements for Azure Data Sync

The Data Sync is a cloud feature, and there is not much to set up. However, for the On-premises SQL Server, here are the system requirements:

  • A minimum of SQL Server 2005 SP2. However, it works best with SQL Server 2008 (R2 and later) as support for SQL Database was added to SQL Server Management Studio in SQL Server 2008 R2. Download a free trial from SQL Server Evaluations if you don’t have one.
  • SQL Data Sync (Preview) only supports full editions of SQL Server and Azure SQL Database. Express versions of SQL Server are not supported.
  • A Microsoft Azure account and subscription.
  • A SQL Database subscription.
  • You need at least one SQL Database deployed. If you need to host SQL Database instances in multiple data centers, you need a SQL Database implemented for each data center.
  • Windows Server 2008 or later or Windows Vista or later versions of Windows OS.
  • An x86 or x64 computer.
  • The latest version of the Sync Agent.
  • .NET Framework 4.5 or above

Now, that we have the system requirements clarified, let us look at some of the limitations.

  • The maximum number of sync groups support is five (5)
  • Maximum number of endpoints supported is thirty (30)
  • Maximum On-premises endpoints supported is five (5)
  • Maximum 12 filters per table being replicated. This is for performance reasons.

Dimension Limit

  • Database, table, schema, & column names: 50 characters per name
  • Tables in a sync group: 500
  • Columns in a table in a sync group: 1000
  • Data row size on a table: 24Mb

The SQL Server Agent best practices:

  • Install the client agent using the least privilege account with network service access.
  • It is best if the client agent is installed on a computer separate from your on-premises SQL
    Server computer.
  • Do not register an on-premises DB with more than one agent.
  • Even if syncing different tables for different sync groups.
  • Registering an on-premises database

Best Practices before Data-Sync

When you create a sync group, be sure that only one of the databases contains data before the first synchronization. If multiple databases include data, each current row is treated as a data conflict, even if the data is identical. Data conflicts significantly slow down a synchronization. Depending on the size of your DB, if multiple databases are populated with data, the first sync can take days or weeks. Conflict resolution also requires numerous round trips between the databases. If your databases are in different data centers, these round trips can add significantly to your ingress and egress charges.

Sync Group-Update-Limitations

The subsequent changes to a database schema cannot be applied to a sync group. If you want to consolidate any of these changes to your sync group, you need to delete and re-create the sync association.

  • Changing a column’s data-type.
  • Add, remove or modify a column’s filter.
  • Remove a column that has a filter

Official Documentation:

Getting started: SQL Data Sync
Data Types supported by SQL Data Sync
SQL Data Sync Data Security
SQL Data Sync Troubleshooting Guide

Disclaimer: The Questions and Answers provided on https://datacompute.in are for general information purposes only. We make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose.