0% found this document useful (0 votes)
17 views

AAC_SQLonAzure_July22 (1)

Uploaded by

sumitabha88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

AAC_SQLonAzure_July22 (1)

Uploaded by

sumitabha88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 75

Azure Architects Connect

SQL on Azure

Steffen Krause
Global Blackbelt SQL & Hybrid
[email protected]

Ralph Kemperdick
Cloud Solution Architect – Data
[email protected]
An introduction to

The family of SQL cloud databases

Steffen Krause
Global Blackbelt SQL & Hybrid
[email protected]
Introducing Microsoft
Intelligent Data
Platform
Cash flow challenges Cybersecurity threats

Datacenter contract expiry Budget and resource constraints

Migration

Rapidly scale web apps


Enabling remote work Modernization and infrastructure

Faster time to market Drive Innovation

Unlocking more cost optimization


Migration Modernization

Enterprise-grade Infrastructure Innovate faster with a fully


for less managed platform

Move on your terms with hybrid flexibility

Protect your most valuable assets with trusted cloud security every step of the way

Comprehensive programs to help


you move with confidence
A.I.
Intelligent by default

Scale Hybrid
Limitless Operational freedom

Security
Always a step ahead
Introducing Azure SQL
The family of SQL cloud databases

Providing flexible options for


Migration
Modernization
Development
Run any workload anywhere on the industry-leading SQL Server engine

Fully-managed and Protect your data with


Use your existing SQL Save with the lowest
built-in, real-time
always up to date experience in the cloud total cost of ownership intelligent security

Be more productive with AI- Build on what you know with a Get more cloud for less with Secure your data with layers of
powered features that automate consistent code base and leading price-performance protection, built-in controls,
tasks and optimize performance deploy it anywhere from edge and savings up to 85% off pay- intelligent threat detection,
for you to cloud as-you-go rates with Azure and the broadest set of
Hybrid Benefit. compliance offerings
Azure SQL
The family of SQL cloud to edge databases

SQL Server on Azure Azure SQL Azure SQL Azure SQL


Virtual Machines Managed Instance Database Edge
Best for lift and shift Best for modernizing Best for supporting Best for extending
and/or workloads existing apps modern cloud apps apps to IoT edge
requiring OS-level access

Azure SQL enabled by Azure Arc Azure Arc SQL Managed Instance
Run Azure SQL on premises and in multi-cloud environments Run PaaS Azure SQL on premises and multi-cloud

Azure is the cloud that knows SQL Server best


Customer challenge Key features Azure differentiators
I want to build a modern multi-tenant Single database or elastic pool Industry highest availability SLA
SaaS apps and scale independently Hyperscale storage (100TB+) of 99.995%
when needed Industry only business continuity
Serverless compute
SLA with 5 second RPO and 30
Fully managed service second RTO
Solution Private link Price-performance leader for
High availability with AZ isolation mission-critical workloads while
costing up to 86 percent less than
Business continuity at scale
AWS RDS (GigaOm)

Broadcast Music, Inc. (BMI) uses Azure SQL Database Hyperscale


to scale on demand and speed up song matching without
managing on-premises infrastructure.
Customer challenge Key features Azure differentiators
I want to migrate to the cloud, remove Available as single instance or Near zero downtime migration
management overhead and take instance pool using log shipping
advantage of leading features SQL Server surface area (vast Fully managed business
majority) continuity with failover groups
Native virtual network support Projected return on investment of
Solution 238 percent over three years1
Fully managed service
On-premise identities enabled on The best of SQL Server with the
cloud instances, through benefits of a managed service
integration with Azure Active
Directory and AD Connect

Komatsu easily migrated 1.5 TBs of data thanks to near complete


compatibility with SQL Server
1. Forrester Consulting. The Total Economic Impact™ of Microsoft Azure SQL Database Managed Instance.


aka.ms/azuretsqldiff








SQL Server on Azure VMs

Customer challenge Key features Azure differentiators


I want to migrate to the cloud as fast SQL Server and OS server access Free Extended Security Updates
as possible but maintain operating Expansive SQL and OS version for SQL Server 2012/R2
system control support 478 percent overall return on an
File stream, DTC, and Simple Azure IaaS investment over three
Recovery model available years1
Solution
Get the combined performance, security, Automated manageability
and analytics of SQL Server, backed by features for SQL Server
the flexibility, security, and hybrid Automatic security patching
connectivity of Azure with SQL Server on Point in time restore with Azure
Azure VMs Backup

Healthcare software manufacturer saves costs when reusing


licenses while moving 600 on-premises VMs to Azure
1. Forrester Consulting. The Total Economic Impact™ of Microsoft Azure IaaS
SQL Server on Azure VMs

• Best all-purpose SQL Server virtual machine

Edsv5-series
• Good remote throughput
• Large local drives with high local/cached throughput
• Offers best price-performance for SQL Server workloads

• Highest I/O throughput and memory available in Azure

Mv2-series*
• Great for mission critical OLTP and high-end data warehouse
workloads
• Expensive – it is recommended to start with Edsv4 first if possible

• Entry level SQL Server virtual machine

Ddsv5-series
• Good choice for dev/test workloads
• Works for smaller production database environments
SQL Server on Azure VMs

Recommended SQL VM Memory Optimized Series


• Highest remote I/O throughput available in Azure

Ebdsv5-series
• Large local drives with high local/cached throughput
• Offers the best price-performance for SQL Server
workloads

• Highest I/O throughput and memory available in Azure

M-series
• Great for mission critical OLTP and high-end data
warehouse workloads
• Very expensive – start with Edsv4 first if possible

DSv2-series • Good entry level SQL Server virtual machine

11-15
https://aka.ms/AzureSQLVMPricePerf
SQL Server on Azure VMs

Resource Provider brings the functionality of Azure Marketplace images to SQL Server instances self-installed
on Azure Virtual Machines

Comprehensive Dashboard view for Simple license Straightforward


feature set VM awareness conversions compliance

Self-installed VMs registered Azure VMs are now discoverable Self-installed VMs with RP Self-installed VMs with RP
with RP now can access on the new Azure SQL blade can be easily converted automatically indicate usage
automation features in in Azure Marketplace to PAYG images of Azure Hybrid Benefit
Azure Marketplace images

Leverage auto-backup and Easily manage your SQL VM Save money by converting Ensure compliance with
auto-patching to avoid and SQL PaaS deployments variable workloads with Software Azure terms and conditions
time-consuming admin from one central location Assurance to PAYG images without any extra effort
and VM customization

Learn more aka.ms/sqlvm_rp and aka.ms/sqlvm_rp_documentation


SQL Server on Azure SQL Azure SQL Azure SQL
Azure virtual Database Managed Instance Edge
machines

SQL virtual Single database Elastic pool Single instance Instance pool Edge gateways
machine and devices
SQL Server and OS Hyperscale storage Resource sharing SQL Server surface Pre-provision Containerized
server access (up to 100TB) between multiple area (vast majority) compute resources Microsoft SQL
databases to price for migration database engine on
Expansive SQL And Serverless compute Native virtual
optimize ARM64 and x64
OS version support network support Enables cost-efficient
Fully managed edge devices
Simplified migration.
Automated service Fully managed
manageability performance service Ability to host Time-series, data
management for streaming and AI
features for SQL smaller instances
Server multiple databases (2Vcore) capabilities
Fully managed Native integration
Currently in public
service with Azure services
preview
Whether you’re looking to migrate to IaaS or PaaS or deploy on a hybrid platform, Azure SQL has Cloud migration effort and administration continuum
you covered. Azure SQL offers three core deployment options for moving your SQL Server
workloads to the cloud. The following diagram outlines which option will best meet your needs and
summarizes key differences in manageability.

Rebuild
Azure SQL Database
Do you need Do you need Platform-as-a-Service (PaaS)

• Full access to Transaction • Capabilities • Event


operating Coordinator? at instance Notifications Azure SQL Managed Instance
and file level? Platform-as-a-Service (PaaS)
• PolyBase/File • Transactional
system of a
VM
stream? No • Cross-DB Replication No
transactions? • CLR Are you using just the
• SQL versions • SSRS/SSAS? database engine SQL Server on Azure VMs

Rehost
• Linked Integration features of SQL Server?
2008-2019? • Linked server Infrastructure-as-a-Service (IaaS)
Server to
to third-party • SQL Agent?
• Microsoft SQL? Higher administration Lower administration
DBMS?
Distributed • SSIS?
• Service
Broker Azure SQL gives you cloud database options that
meet your needs
Yes Yes No Yes
• Lift-and-shift your SQL workloads to SQL Server on
Azure VMs with ease and maintain them with 100%
SQL Server compatibility and operating system-level
SQL Server Azure SQL access.
on Azure VMs Managed Instance Azure SQL Database
• Modernize your existing SQL Server applications at
scale on a fully managed Azure SQL Managed
Instance.
• Build modern cloud applications on the intelligent,
managed Azure SQL Database that includes
serverless compute.
23
Azure SQL Managed Instance vs SQL Server on AWS RDS SQL Server on Azure VM vs SQL Server on AWS EC2
MSOLTPE Benchmark Transactional Field Test Benchmark
April 2022 April 2022

$198,45 $96,68

$66,34
Price/Transactions
per second (tps)

Price/Transaction
$13,14

Price performance comparison. Lower is better. Price performance comparison. Lower is better.
Includes Azure Hybrid Benefit Includes Azure Hybrid Benefit and 3-yr commitment
Customer challenge Key features Azure differentiators
I want to be able to store, process, and Streaming capability using the Deploy and manage across a large
analyze data at the edge to overcome same constructs as Azure Stream number of edge devices via Azure
latency and security concerns. Analytics IoT Hub and the Azure Portal
Built-in machine learning Store, process, and analyze
capabilities through ONNX runtime relational and non-relational, such
Solution Familiar Transact-SQL (T-SQL) as JSON and time-series, data
Azure SQL Edge is a containerized SQL programming surface area
database engine optimized for IoT with
data streaming, time series, and ML Native integration with other Azure
capabilities built-in. services such as Azure Machine
Learning, and Azure SQL

Global geo-data specialist reduces time to process and deliver


reports from offshore locations from two weeks to eight minutes.
Azure Arc-enabled SQL SQL Server on
Managed Instance Arc-enabled servers

Azure SQL Managed Instance Organize, inventory


on any infrastructure Azure Defender for advanced security
Fully managed, evergreen SQL Server Free SQL Assessment service
Cloud billing model for on-premises
Cloud experience for data workloads anywhere
GENERALLY AVAILABLE Azure SQL Managed Instance PUBLIC PREVIEW Azure Database for PostgreSQL

Support all connectivity modes

Unified
Always current As-a-Service Elastic scale
management

Any hardware, any Kubernetes


Key Benefits

Some scenarios may require a hybrid approach: Always current


Access the latest Azure features
Data latency and capabilities for on-premises
Regulations data workloads
Distributed compute
Multi-cloud
Elastic scale
Dynamically scale up or out
Bring Azure innovation and cloud benefits on- your data workloads based
premises, multi-cloud, and at the edge with Azure on capacity
Arc enabled SQL Managed Instance

“I really like the SQL version control, which helps reduce the
time that senior administrators must spend upgrading all
Unified management
those different versions.” Gain a single view of your
Kristina Melo, IT Manager, Ferguson Enterprises data across on-premises and
cloud environments
Maximize existing investments in on-premises licenses with
Azure Hybrid Benefit discounted rates on Azure SQL Database. Save up to 59% vs. AWS.

Reserve Azure SQL resources in advance and save up to 33%. Combine


Reserved capacity with Azure Hybrid Benefit for savings up to 80%.

Save up to 55% versus list prices, eligible with active


Dev/test pricing Visual Studio subscriptions .

Get free extended security updates for SQL Server 2012 and 2012
Extended Security Updates R2 for three years when running on Azure Virtual Machines.
Azure Hybrid Benefit for SQL Server
Azure-only benefit for customers with active SA or subscriptions on SQL cores

Significantly reduce the costs of running


SQL IaaS and PaaS in Azure Azure SQL Database
Business Critical
8 vCores, US West 2,
Pay only the ‘base rate’ in Azure on SQL IaaS, 730 hours per month ~55%
SQL DB PaaS, and ADF v2 SSIS

Available for SQL Server core licenses only


Azure SQL Database
Business Critical
8 vCores, US West 2,
Customers can use their cores on-premises, 730 hours per month
OR as vCores in Azure

$3,967.91 $1,777.91
However, cores can be used on-premises and in Azure
Without Hybrid Benefit With Hybrid Benefit
simultaneously for up to 180 days, to allow for migration
Qualified license Azure Data Service1 Ratio of cores : vCores
Azure SQL Database (Managed Instance, Elastic Pool and Single Database) – General
1 Core License : 4 vCores
Purpose
Azure SQL Database (Managed Instance, Elastic Pool and Single Database) – Business
1 Core License : 1 vCore
Critical

SQL Server Azure SQL Database (Managed Instance and Single Database) - Hyperscale 1 Core License : 4 vCores
Enterprise (core)
Azure Data Factory and SQL Server Integration Services (Standard) 1 Core License : 4 vCore
Azure Data Factory and SQL Server Integration Services (Enterprise) 1 Core License : 1 vCore
SQL Server Standard Virtual Machines 1 Core License2 : 4 vCPU
SQL Server Enterprise Virtual Machines 1 Core License : 1 vCPU
Azure SQL Database (Managed Instance, Elastic Pool and Single Database) – General
1 Core License : 1 vCore
Purpose
Azure SQL Database (Managed Instance, Elastic Pool and Single Database) –
4 Core License : 1 vCore
Business Critical
SQL Server Standard Azure SQL Database (Managed Instance and Single Database) – Hyperscale 1 Core License : 1 vCore
(core)
Azure Data Factory SQL Server Integration Services (Standard) 1 Core License : 1 vCore
Azure Data Factory SQL Server Integration Services (Enterprise) 4 Core License : 1 vCore
SQL Server Standard Virtual Machines 1 Core License : 1 vCPU
SQL Server Enterprise Virtual Machines 4 Core License : 1 vCPU
1. Azure Hybrid Benefit is not available in the serverless compute tier of Azure SQL Database
2. Subject to a minimum of four Core Licenses per Virtual Machine
Centrally-managed Azure Hybrid Benefit
Customer procurement role purchases Admin assigns AHB licenses at overall account Customer enjoys system-
WS/SQL SA and subscriptions with and subscription levels. optimized cost savings by
Azure Hybrid Benefit (AHB). using AHB instead of PAYG

Account-level AHB License Assignment


Problem 1: Managing AHB Azure Account Problem 2: Compliance
by resource is concerns from dev-ops
cumbersome, prone to applying AHB
error, and doesn’t scale
Solution 2: Admin role able
Subscription-level License Assignment
Solution 1: Manage AHB by x x x x
to sustain better license
overall account or x x x x
awareness
subscription rather than by
resource Subscription

Resource Group
SQL SQL
VM VM VM VM VM
DB DB
SQL Server Developer Edition
here
Visual Studio Subscriptions No Microsoft software charges on Virtual Machines! Only on Azure!
HA/DR benefits for SQL Server only on Azure
Save on Azure by not needing to license the passive server

SA benefit with disaster recovery replica New SA benefit with two secondary replicas

Primary or Active Passive Secondary for HA or DR Primary or Active Passive Secondary for HA Passive Secondary for DR

Core Core
24 0 24 0 0
licenses licenses
Additional Additional
$30,756 $0 $30,756 $0 $0
cost cost

42
Cost Optimization New revenue models

On- IaaS Containers PaaS/Serverless AI/Cognitive


Premises Infrastructure Managed Application Platform A.I. Platform
Infrastructure Platform Container Platform
Platform “lift & shift”
Migration Strategy vs cost/benefit

Optimize resource usage and Highlights


reduce operational overhead
(DB PaaS, Container, Modern
OS/Identity)
Choose a migration
strategy on an application
Rapid datacenter exit, Transform -by-application basis
mergers and acquisitions, Choose a migration approach
BENEFIT

divestitures
that has highest business
value with an acceptable cost
Optimize Strategic initiatives that and risk profile
are enabling innovation,
insights and artificial Optimize has best overall
intelligence value to IT (Platform
capabilities, Process
Lift & Shift Automation and reduced
security risk)
Existing Modernization has highest ROI
On-Prem
applications COST to business but also higher risk
and cost (development and
operations)
Azure Cloud Migration Cost Optimization Trajectory

...
Large scale migration strategy
On-premises
estate
Azure

Mainstream Continuous
Pilot
Migration improvement

5-10 pilot VMs 80-90% of estate

SQL Server
Virtual Machine SQL Virtual Machine SQL Virtual Machine SQL

2-3 apps 10-20% of estate improvement

SQL Managed Instance SQL Managed Instance SQL Managed Instance

Special cases
if required to stay on prem

Azure Arc SQL Server Azure Arc SQL Server

Special cases Other Other


New app development

SQL Server

Relational App Innovation

New Development Azure Database for PostgreSQL

NoSQL App Innovation

Azure Cosmos DB

Special cases Other


Modernizing on Azure SQL yields even greater benefits…

Key report benefits


and findings1
+17% 53%
Additional cost savings on Lower cost of application
Azure SQL managed administration

Up to 47% databases vs Azure SQL VMs

90% +$30M
Cost savings on Azure SQL VMs vs
on-premises SQL Server
Lower cost of systems Additional revenue due to faster
administration time to market

1Results are based on interviewed customers. “The Economic Value of Migration On-premises SQL Server Instances to Microsoft Azure SQL Solutions,” a commissioned study conducted by The Enterprise Strategy
Group on behalf of Microsoft, October 2020.
Key report benefits
and findings1
25% 40% $10.9M
Increase in productivity Improvement in Savings from avoided
for IT teams productivity for in- hardware, network,

238% Total ROI house DBAs storage and ongoing


maintenance costs
3 years after initial investment &
migration to Azure SQL’s managed
databases “We needed our DBAs and IT staff to focus on improving the
customer experience and other things critical to our company, not on
patching databases and trying to manage our own infrastructure.”

3 months or less Chief architect, financial services company


Head of development,
Payback post migration
technology company

1Results are for a composite organization based on interviewed customers. “The Total Economic ImpactTM of Migration to Microsoft Azure SQL Managed Databases,” a commissioned study conducted by Forrester
Consulting on behalf of Microsoft, March 2020.
SQL SERVER MIGRATION TO AZURE

OUTCOMES TOOLS

• Inventory database assets, and application stack


discovery
• Assess your databases, Apps and components Microsoft
Assessment Azure Migrate
• Choose Deployment Model
• Build a migration plan / pilot Planning
Toolkit

Azure Data Data Migration


Studio Assistant (DMA)
(ADS)

• Build identity, network, storage and compute Azure Migrate


infrastructure
• Migrate Security and Logins Azure Data Studio
• Migrate your workloads (ADS)

Azure Database
Migration Service
Data Migration
Assistant (DMA)
(DMS)
Tools Matrix Overview
Tools Data Migration Azure Data Studio (SQL Azure Database Migration Azure Migrate
Assistant (DMA) Migration Extension (ADS) Service (DMS) (At Scale)
Capability ASSESS + MIGRATE ASSESS + MIGRATE MIGRATE DISCOVERY + ASSESS +
MIGRATE

Assess SQL data estate YES YES NO Centralize HUB in azure


Upload your DMA outputs
to Azure Migrate
Migrate SQL server to YES : Azure SQL DB YES : Azure SQL MI YES : Azure SQL DB & Azure Not directly : refer to DMS
PAAS Azure SQL Database SQL MI or ADS
or Azure SQL Managed
Instance (Q2)
Migrate SQL Server to IAAS YES YES YES YES
Azure SQL VM (Q2) Lift & Shift possible
ONLINE / OFFLINE OFFLINE (Azure SQL ONLINE (Azure SQLMI & ONLINE (Azure SQLMI) + ONLINE + OFFLINE as it rely
Migration DB & Azure SQLVM) Azure SQLVM) + OFFLINE OFFLINE (Azure SQL MI & on DMS
(Q3) (Azure SQLMI & Azure Azure SQL DB & Azure SQL VM)
SQLVM)
From Source To Destination PUSH PUSH or PULL PULL Depend if you choose DMS
: PUSH or PULL or ADS
UI / CmdLine UI & CmdLine UI & UI Azure Portal & Cmdline(az UI Azure Portal & Azure
Scripting (poweshell+CLI) dms) PowerShell cmdlets
Platform Window Azure Azure
Windows/Macs OS/Linux
Where to find it ? Download and Install Download and Install Azure Service Azure Service
Discover Migrate Optimize

Azure Migrate Azure Site Recovery


Azure security and management
Microsoft Movere Azure Database Migration Service (e.g., backup, monitoring, security
assessment, cost management with
Database Azure Cost Management)
Migration Assistant Azure Data Box

Partners

Use the mix of tool(s) that best meet your requirements


https://azure.microsoft.com/en-us/migrate/
Get started today!

Web pages Other Resources –


3rd party studies infographics

Azure SQL family ESG Economic Value report on Infographic: Azure SQL family
SQL Server on Azure Virtual Machines migrating to Azure SQL
Azure SQL Jumpstart Guide
Azure SQL Managed Instance Principled Technologies price- Infographic: Forrester Consulting Total
Azure SQL Database performance study Economic ImpactTM study
Azure SQL Edge Forrester Consulting Total Economic
Choose Your Azure SQL database tool Impact™ study

Azure Hybrid Benefit for SQL Server


Azure Database Migration Service
Migration guide
Inside Availability for Azure SQL
Ralph Kemperdick, Cloud Solution Architect, Data
Inspired by the work of:
Bob Ward, Principal Architect
Microsoft Azure Data
Availability capabilities Availability tasks

• Auto and user-controlled BACKUP/RESTORE • Choose Edition for RTO and RPO
• Built-in HADR and read replicas requirements

• Availability Zones • Configure HADR

• Geo-replication and Failover Groups • Monitoring Availability

• Database Availability
• Replication
• CDC (Preview in Azure DatabaseNEW)
• Database Consistency

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Auto backups and Point in Time Restore (PITR)
• Full Database backup once a week
Backups retained for 7/35 days
• Log Backups every 5-10 minutes
• Differential Backups every 12-24 hours Now
Time
-7 days
• Backup files on Azure storage with RA-GRS replicated
• Can optionally select LRS or ZRS
• Backup Integrity checks
Self-service restore
• Restore to new database to a point in time
• Long-term retention (up to 10 years) of backups
• Geo-restore of databases if primary region down
• Restore backups of deleted databases DB1 DB1

Manual COPY_ONLY Backup/Restore with Managed Instance

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
General Purpose High Availability
• Behaves like Failover Cluster Instance Azure Region

• Remote storage provides data redundancy GW


GW
GW
Application
within a datacenter
Control Ring
• Backup files are in a different location with
geo-redundancy Primary Failover

• Failover decisions based on SQL and Replica


Nodes with
Service Fabric SSD,
spare capacity
tempdb
• Recovery time depends on spare capacity
SSD,
• Connectivity redirection built-in tempdb

Data and Azure premium storage


log files (LRS) data/log

Backup Azure standard storage


files (RA-GRS, LRS, ZRS)

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Business Critical High Availability
• Based on Always On Availability Groups Azure Region

• 3 secondary replicas automatically created GW


GW
GW
Application
• Four replicas kept available Control Ring

• Backup files in a different location with


geo-redundancy
Secondary
Secondary
Replica
Replica

• At least one secondary must sync for SSD, SSD,


data, log
commits data, log

• Automatic failover based on SQL and Primary


Replica
AlwaysON Availability Group

Service Fabric SSD,


Failover
Secondary
• Recovery time extremely fast data, log Replica
SSD,
• Connectivity redirection built-in data, log

• Read Scale-Out from one of the replicas Azure standard storage


Backup
files (RA-GRS, LRS, ZRS)

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Demo
Faster failovers with Business critical
Hyperscale High Availability
Read-Write Read-Only
• Paired page servers Compute
nodes
• Redundant log and data through
Azure Storage Primary
Compute
Secondary
Compute
Secondary
Compute

• Backup/Restore snapshots SqlServr.exe SqlServr.exe SqlServr.exe Log Service


RBPEX RBPEX RBPEX

• Log Service feeds replicas Data Cache Data Cache Data Cache Landing Zone
(Azure Premium
Storage)
• 0 to 4 secondary replicas for read
Page Log Service
Servers
Log Cache
scale and failover Page Page Page
Long term log
storage for PITR
• Named replicas (Preview)NEW Server Server Server (Azure Standard
Storage)
RBPEX RBPEX RBPEX
• Automatic failover based on SQL and Data Cache Data Cache Data Cache

Service Fabric
• Recovery time depends on existence
Data Pathway
Data Data Data
File File File Log Pathway

of replicas Snapshots Snapshots Snapshots


Local SSD Cache

RBPEX Resilient Buffer Pool Extension

Azure Standard Storage

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Zone redundancy – Business Critical
Azure Traffic Manager

AZ 1 AZ 2 AZ 3
• Replicas are automatically created Application
GW GW GW GW GW GW
across zones GW GW GW

• Synchronous replication
Control Ring Control Ring Control Ring

• Database resilient to zonal outage Secondary


Replica
Secondary
Replica
• Free for Business Critical & Premium SSD, AlwaysON SSD,
data, log Availability Group data, log
Primary
Replica
Failover
Secondary
Replica
SSD,
data, log
SSD,
data, log

Backup Azure standard storage


files (RA-GRS, LRS, ZRS)

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Zone redundancy – General Purpose
Azure Traffic Manager

• Currently in preview for SQL Database Application


AZ 1 AZ 2 AZ 3
GW GW GW GW GW GW
(provisioned and serverless) GW GW GW

• Remote storage is zone redundant Control Ring Control Ring Control Ring

• Guaranteed compute capacity in other Failover


Failover
Availability Zones Nodes with
Nodes with
spare
SSD, spare capacity
• Database resilient to zonal outage tempdb capacity

SSD, SSD,
• For pricing details visit the pricing pages tempdb tempdb

for single databases and elastic pools


Data and Azure premium storage
log files (ZRS) data/log

Backup Azure standard storage


files (RA-GRS, LRS, ZRS)

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Service tier Single Multiple Business continuity Service tier SLA
zone SLA zones SLA
Recovery point objective Business critical 5 sec
Basic, Standard, General 99.99% N/A (RPO) with Geo-DR
Purpose
Recovery Time Objective Business critical 30 sec
Premium, Business critical 99.99% 99.995% (RTO) with Geo-DR

Hyperscale w/ 0 replicas 99.5% N/A

Hyperscale w/ 1 replica 99.9% N/A

Hyperscale w/ 2+ replica 99.99% N/A

SLA for Azure SQL Database


SLA for Azure SQL Managed Instance

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Active geo-replication vs auto-failover groups

Geo-replication Auto-failover groups


Automatic failover No Yes

Fail over multiple databases simultaneously No Yes

Update connection string after failover Yes No

Managed instance supported No Yes

Can be in same region as primary Yes No

Multiple replicas Yes No

Supports read-scale Yes Yes

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Active geo-replication vs auto-failover groups
Geo-replication Auto-failover groups
Azure Traffic Manager Azure Traffic Manager
User device End user User device End user
traffic traffic

Primary Secondary Primary Secondary


Ingress logical server logical server Ingress Ingress logical server logical server Ingress
LB LB LB Failover group LB
Geo-
replication Geo-
replication

Application
(read-write) Application
Read-write (read-write)
DB traffic listener
Application DB traffic
(read-only) Application
Read-only (read-only)
listener

Primary region Secondary region Primary region Secondary region

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Availability Consistency
• •
• •
• •
• •




Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
?
How it works Key questions
• •
• •
• •
• •

Read the paper

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Demo
Accelerated Database Recovery
✓ Decide if you need long-term backups
✓ Decide on your RTO and RPO needs
✓ Review the Azure SQL SLA
✓ Do you need read replicas?
✓ Do you need Availability Zones?
✓ Do you need geo HADR or Failover Groups?
✓ Is your application ready?

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Region and
Server Database Backup/Restore
Datacenter Replica Status Failover reasons
availability availability history
availability

Azure portal T-SQL CLI

Service Health
Az Module for
Dashboard and Resource Health Azure Monitor Log Analytics XEvent Catalog Views DMVs Azure CLI REST APIs
PowerShell
feeds

Custom
dashboards
Management Pack for Azure SQL
KQL
Database and Managed Instance

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Automated Backups with PITR

Built-in HA including read replicas

Go further with Zone Redundancy and multi-region HA

Configure per your SLA and RPO/RTO needs

Monitor with the Azure portal, T-SQL, and CLI

Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary
Microsoft Learn: Azure SQL fundamentals learning path
aka.ms/azuresqlfundamentals

Select the Azure SQL Workshop


aka.ms/sqlworkshops

How to choose tool


aka.ms/chooseazuresql

Azure SQL documentation


aka.ms/azuresqldocs

More videos from our team


aka.ms/azuresql4beginners
aka.ms/azuresqlyt
aka.ms/azuresqlbook aka.ms/azuresqlfordevelopers

Scenario discussion Additional information Call to action


Decision Trees when to use which Azure Data Service
https://albero.cloud/

Notes on Azure Synapse Disaster Recovery Architecture


https://www.linkedin.com/pulse/some-notes-azure-synapse-disaster-recovery-andrei-zaichikov/

Database SLAs and refunds


https://azure.microsoft.com/de-de/support/legal/sla/

PostgreSQL Options and SLAs


https://docs.microsoft.com/en-us/azure/postgresql/single-server/overview-postgres-choose-
server-options

MySQL - Flexible Server High availability


https://docs.microsoft.com/en-us/azure/mysql/flexible-server/overview#high-availability-within-
and-across-availability-zones

Scenario discussion Additional information Call to action


Get your free Azure Service today
https://azure.microsoft.com/de-de/free/

Fortbildung zum Thema Azure


https://aka.ms/learn

Become a Azure certified Data Engineer


https://docs.microsoft.com/de-de/learn/certifications/roles/data-engineer

Scenario discussion Additional information Call to action


Azure SQL Database and Azure SQL Managed Instance

Optimize price-
Streamline app Hyperscale demanding Save with the best total
performance with
modernization workloads cost of ownership
serverless compute

Accelerate app modernization Rapidly adapt to changing Build modern apps your way with Meet mission critical
with minimal code changes on the requirements with Hyperscale flexible compute options that requirements while costing up to
only cloud with evergreen SQL storage up to 100 TB include auto-scaling serverless. 86% less than the competition
Pay only for what you use.

Built-in AI Advanced data security Always On reliability


Optimizes performance Secure your data with layers of Maximize uptime with built-in high
and durability for you protection, built-in controls and availability and an industry-leading
leading compliance availability SLA up to 99.995%
SQL Server on Azure Virtual Machines

Experience high
Save with the best total Rehost onto an industry- Protect your data and ease
performance on any
cost of ownership leading database maintenance
operating system

Pay up to 84% less than AWS Built on an enterprise-grade, High performance virtual Automatic security updates and
unified data platform machines for SQL Server on Linux built-in availability
and Windows

Get the performance, security, and analytics of SQL Server backed by the flexibility and hybrid connectivity of Azure
Azure SQL
Azure SQL Edge

Time series, data Native data movement Your choice Unparalleled Simplified
streaming and AI to Azure of platform performance & security pricing for IoT

Stream, store, and analyze IoT Consistent app development Run SQL on your choice of Flexible high availability and $10 per month/device or
data and apply business logic and management from cloud platform Including ARM 64 industry-leading data as low as $60 per year/device
using built-in AI & ML to data center to edge and x64 architecture protection and security tools for a 3-year commitment*.
capabilities

Develop once Deploy anywhere


SQL
Consistent application development Simplify your architecture from
and management experience ground to cloud to edge
Azure SQL SQL Server Azure SQL Edge

Optimized for IoT edge gateways and devices, this small-but-mighty SQL engine enables
real-time insights, in connected, disconnected, or hybrid environments

* Terms and conditions apply. See Azure.com for details.


Overview Backup and restore Built-in HA/DR Availability and consistency Configuring and monitoring availability Summary

You might also like