Book Image

Professional Azure SQL Managed Database Administration - Third Edition

By : Ahmad Osama, Shashikant Shakya
Book Image

Professional Azure SQL Managed Database Administration - Third Edition

By: Ahmad Osama, Shashikant Shakya

Overview of this book

Despite being the cloud version of SQL Server, Azure SQL Database and Azure SQL Managed Instance stands out in various aspects when it comes to management, maintenance, and administration. Updated with the latest Azure features, Professional Azure SQL Managed Database Administration continues to be a comprehensive guide for becoming proficient in data management. The book begins by introducing you to the Azure SQL managed databases (Azure SQL Database and Azure SQL Managed Instance), explaining their architecture, and how they differ from an on-premises SQL server. You will then learn how to perform common tasks, such as migrating, backing up, and restoring a SQL Server database to an Azure database. As you progress, you will study how you can save costs and manage and scale multiple SQL databases using elastic pools. You will also implement a disaster recovery solution using standard and active geo-replication. Finally, you will explore the monitoring and tuning of databases, the key features of databases, and the phenomenon of app modernization. By the end of this book, you will have mastered the key aspects of an Azure SQL database and Azure SQL managed instance, including migration, backup restorations, performance optimization, high availability, and disaster recovery.
Table of Contents (14 chapters)
13
Index

Azure SQL Data Sync

As the name suggests, Azure SQL Data Sync allows bi-directional data syncing between one or more Azure SQL databases and on-premises databases. The Azure SQL Data Sync service is free; however, there are charges for data movement into and out of an Azure SQL database.

Note

Azure SQL Sync doesn't support SQL Managed Instance at the time of writing.

Figure 11.1 shows how data is typically synced between an Azure SQL database and an on-premises database:

Syncing between an Azure SQL database and on-premises database

Figure 11.1: Syncing between an Azure SQL database and on-premises database

Azure SQL Data Sync is based around the idea of sync groups. A sync group has a hub database and one or more member databases. The Data Sync is always from hub to member, or from member to hub. There's no data sync between two member databases.

A sync group has the following components:

  • Hub database: This should be an Azure SQL database. The Data Sync happens to or from the hub database...