Book Image

Professional Azure SQL Database Administration

By : Ahmad Osama
Book Image

Professional Azure SQL Database Administration

By: Ahmad Osama

Overview of this book

As the cloud version of SQL Server, Azure SQL Database differs in key ways when it comes to management, maintenance, and administration. It’s important to know how to administer SQL Database to fully benefit from all of the features and functionality that it provides. This book addresses important aspects of an Azure SQL Database instance such as migration, backup restorations, pricing policies, security, scalability, monitoring, performance optimization, high availability, and disaster recovery. It is a complete guide for database administrators, and ideal for those who are planning to migrate from on premise SQL Server database to an Azure SQL Server database.
Table of Contents (13 chapters)
Professional Azure SQL Database Administration
Contributors
Preface
Free Chapter
1
Microsoft Azure SQL Database Primer
4
Restoring an Azure SQL Database
Index

High Availability


High availability refers to providing business continuity when the physical server hosting the Azure SQL Database fails.

As discussed in Chapter 1, Microsoft Azure SQL Database Primer, an Azure SQL Database is hosted on three servers – one primary and two secondary servers:

Figure 8.1: Azure SQL Database is Hosted on Three Servers

The toyfactory database consists of three servers; one primary and at least two secondary servers. The Azure SQL Server is just a logical server name used for connection. When an application sends a connection request, the gateway finds out the current primary server and routes the request to the primary server.

The primary and secondary servers are within the same datacentre and together form a quorum-set.

All read and writes are made to the primary server. Azure SQL Database uses a quorum-based commit method that makes sure that the data is hardened at the primary server and replicated to at least one secondary server before the transaction...