SlideShare ist ein Scribd-Unternehmen logo
1 von 19
SQL Azure BCDR
Harsh Chawla
Agenda
• What’s BCDR
• BCDR for SQL Azure DB
• Types of Recovery for Azure DB
Business continuity problem
Enabling the application to continuously operate during
unplanned and planned disruptive events
BCDR for on-premises SQL Server
• Maintaining Full Database / Differential / T-log backups
• SQL Cluster
• Log Shipping
• Database Mirroring
• AlwaysON
• Replication
• Database Snapshots
BCDR for SQL Azure DB
• No full/differential/t-log backup support
• No AlwaysON / SQL Cluster / Mirroring / log shipping etc.
Then How?
SQL Azure DB – Database as a Service
• Microsoft takes the responsibility to keep your data safe
• With every tier uptime SLA defined: 99.99% uptime
• Downtime for 24X7 applications can cause huge financial loss
Performance Tier Uptime SLA
Basic 99.99%
Standard 99.99%
Premium 99.99%
Web 99.9%
Business 99.9%
Create a database copy
Ensure transactional consistent copy
Export backup to storage account
Export to customer storage account
Repeat as needed
Create additional archive copy as needed
Export a database
Flexible and portable option but incurs operational overhead
Pros Cons
Portable data format – logical
schema and data
Need workaround (DB-Copy) to
ensure consistent database
Low cost Slow to restore
Export a database
Types of Recovery
• Recovery from Machine Failure
• Recovery from accidental errors - Oops recovery
• Recovery from regional/datacenter outage
Reads are completed at the primary
Writes are replicated to secondaries
Single logical database
Write
Write Ack
Ack
Read
value write
Ack
Critical capabilities:
 Create new replica
 Synchronize data
 Stay consistent
 Detect failures
 Failover
 99.99% availability
Recovery from Machine Failure
Automatic backup
Full backups weekly, different backup daily,
log backups every 5 minutes
Daily and weekly backups automatically
uploaded to geo-redundant Azure Storage
Self-service restore
Point-in-time up to a second granularity
REST API, PowerShell, or Portal
Creates a new database in the same logical server
Tiered retention policy
Basic - 7 days
Standard - 14 days
Premium - 35 days
No additional cost to retain backups
Geo- replicated
Restore from backup
SQL Database
backups
sabcp01bl21
Azure Storage
sabcp01bl21
Oops recovery - Point-in-time restore
Restores the database to the point of deletion
(earlier backups are deleted)
Creates a new database on the server used by
the original database
You can choose to failover to the restored
database or use scripts to recover data
Recovery after accidental database deletion
Self-service
restore to point
of deletion
Backups retained for 7/14/35 days
Restore deleted database
Now -7 daysTime
Geo-restore
Self-service restore API
Restores last daily backup
No extra cost, no capacity
guarantee
RTO>=24h, RPO=24h
Database URL will change after
restore
Geo- replicated
SQL Database
backups
sabcp01bl21
Azure Storage
sabcp01bl21
Restore to any
Azure region
Demo!!
East US
US West
LS ABC
Failover and
activation of
secondary
(during incident) West US
DB
LS XYZ
DB
• RTO<2h, RPO<5m
• REST and PowerShell API to opt-in and failover
• Automatic data replication and synchronization
• DMV+REST to monitor and guide failover decisions
• Single offline secondary with matching performance level in
the DR paired region
North Central
US
LS OPQ
DB
Recovery from regional/datacenter outage
Standard Replication
Active Geo-replication
LS ABC
South Central US
West US
Failover and
activation of
secondary (any
time)
East US
DB1
LS XYZ LS OPQ
• RTO<1h, RPO<5m
• REST and PowerShell API to opt-in and failover
• DMV+REST to monitor and guide failover decisions
• Automatic data replication and synchronization
• Up to 4 online secondary databases with matching
performance level in any region
DB1
DB1.old
North Central US
LS DFE
DB1
DB1
Demo!!
BCDR Tiered Model
B
Transactions
per hour
Transactions per
minute
Transactions per
second
)
ERT*<12h
RPO**<1h
ERT<12h
RPO<1h
ERT<12h
RPO<1h
ERT<30s RPO<5s ERT<30s
RPO<5s
ERT<30s
RPO<5s
* Estimated Recovery Time (ERT) - The estimated duration for the database to be fully functional after a restore/failover request.
** Recovery Point Objective (RPO) - The amount of most recent data changes (time interval) the application could lose after recovery
Q & A!!
Thank You!

Weitere ähnliche Inhalte

Was ist angesagt?

Ssis optimization –better designs
Ssis optimization –better designsSsis optimization –better designs
Ssis optimization –better designs
varunragul
 
SQL Server 2008 R2 - Implementing High Availabilitty
SQL Server 2008 R2 - Implementing High AvailabilittySQL Server 2008 R2 - Implementing High Availabilitty
SQL Server 2008 R2 - Implementing High Availabilitty
Rishu Mehra
 

Was ist angesagt? (20)

Store Data in Azure SQL Database
Store Data in Azure SQL DatabaseStore Data in Azure SQL Database
Store Data in Azure SQL Database
 
Whats new in Columnstore Indexes for SQL Server 2017
Whats new in Columnstore Indexes for SQL Server 2017Whats new in Columnstore Indexes for SQL Server 2017
Whats new in Columnstore Indexes for SQL Server 2017
 
Tuning your PostgreSQL Database
Tuning your PostgreSQL DatabaseTuning your PostgreSQL Database
Tuning your PostgreSQL Database
 
Countdown to PostgreSQL v9.5 - Foriegn Tables can be part of Inheritance Tree
Countdown to PostgreSQL v9.5 - Foriegn Tables can be part of Inheritance Tree Countdown to PostgreSQL v9.5 - Foriegn Tables can be part of Inheritance Tree
Countdown to PostgreSQL v9.5 - Foriegn Tables can be part of Inheritance Tree
 
SQLServer Database Structures
SQLServer Database Structures SQLServer Database Structures
SQLServer Database Structures
 
An Introduction to Amazon’s DynamoDB
An Introduction to Amazon’s DynamoDBAn Introduction to Amazon’s DynamoDB
An Introduction to Amazon’s DynamoDB
 
ETL with Clustered Columnstore - PASS Summit 2014
ETL with Clustered Columnstore - PASS Summit 2014ETL with Clustered Columnstore - PASS Summit 2014
ETL with Clustered Columnstore - PASS Summit 2014
 
Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs
 
Scylla Summit 2018: Scylla 3.0 and Beyond
Scylla Summit 2018: Scylla 3.0 and BeyondScylla Summit 2018: Scylla 3.0 and Beyond
Scylla Summit 2018: Scylla 3.0 and Beyond
 
Performance Monitoring And Tuning In Sql Server 2008 Tsql
Performance Monitoring And Tuning In Sql Server 2008 TsqlPerformance Monitoring And Tuning In Sql Server 2008 Tsql
Performance Monitoring And Tuning In Sql Server 2008 Tsql
 
How We Made Scylla Maintenance Easier, Safer and Faster
How We Made Scylla Maintenance Easier, Safer and FasterHow We Made Scylla Maintenance Easier, Safer and Faster
How We Made Scylla Maintenance Easier, Safer and Faster
 
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
 
IMC Summit 2016 Breakout - Brian Bulkowski - NVMe, Storage Class Memory and O...
IMC Summit 2016 Breakout - Brian Bulkowski - NVMe, Storage Class Memory and O...IMC Summit 2016 Breakout - Brian Bulkowski - NVMe, Storage Class Memory and O...
IMC Summit 2016 Breakout - Brian Bulkowski - NVMe, Storage Class Memory and O...
 
Migrating Oracle database to PostgreSQL
Migrating Oracle database to PostgreSQLMigrating Oracle database to PostgreSQL
Migrating Oracle database to PostgreSQL
 
Ssis optimization –better designs
Ssis optimization –better designsSsis optimization –better designs
Ssis optimization –better designs
 
High-Load Storage of Users’ Actions with ScyllaDB and HDDs
High-Load Storage of Users’ Actions with ScyllaDB and HDDsHigh-Load Storage of Users’ Actions with ScyllaDB and HDDs
High-Load Storage of Users’ Actions with ScyllaDB and HDDs
 
Columnstore improvements in SQL Server 2016
Columnstore improvements in SQL Server 2016Columnstore improvements in SQL Server 2016
Columnstore improvements in SQL Server 2016
 
Scylla Summit 2016: ScyllaDB, Present and Future
Scylla Summit 2016: ScyllaDB, Present and FutureScylla Summit 2016: ScyllaDB, Present and Future
Scylla Summit 2016: ScyllaDB, Present and Future
 
SQL Server 2008 R2 - Implementing High Availabilitty
SQL Server 2008 R2 - Implementing High AvailabilittySQL Server 2008 R2 - Implementing High Availabilitty
SQL Server 2008 R2 - Implementing High Availabilitty
 
ClustrixDB: how distributed databases scale out
ClustrixDB: how distributed databases scale outClustrixDB: how distributed databases scale out
ClustrixDB: how distributed databases scale out
 

Andere mochten auch

Comp tia cloud foundations managing your customer's clouds
Comp tia cloud foundations   managing your customer's cloudsComp tia cloud foundations   managing your customer's clouds
Comp tia cloud foundations managing your customer's clouds
Ingram Micro Cloud
 

Andere mochten auch (11)

State of Azure Sql Database
State of Azure Sql DatabaseState of Azure Sql Database
State of Azure Sql Database
 
GAB 2016 ASR
GAB 2016 ASRGAB 2016 ASR
GAB 2016 ASR
 
Where Rainmaker's Thrive - Ingram Micro Cloud
Where Rainmaker's Thrive - Ingram Micro CloudWhere Rainmaker's Thrive - Ingram Micro Cloud
Where Rainmaker's Thrive - Ingram Micro Cloud
 
Practical Guide to Business Continuity & Disaster Recovery
Practical Guide to Business Continuity & Disaster RecoveryPractical Guide to Business Continuity & Disaster Recovery
Practical Guide to Business Continuity & Disaster Recovery
 
Ingram Micro IaaS Playbook
Ingram Micro IaaS PlaybookIngram Micro IaaS Playbook
Ingram Micro IaaS Playbook
 
Microsoft Azure in der Praxis
Microsoft Azure in der PraxisMicrosoft Azure in der Praxis
Microsoft Azure in der Praxis
 
Ingram Micro - Presentacion evento Datalogic - Enero 2017
Ingram Micro - Presentacion evento Datalogic - Enero 2017Ingram Micro - Presentacion evento Datalogic - Enero 2017
Ingram Micro - Presentacion evento Datalogic - Enero 2017
 
Cloud University: Ingram Micro
Cloud University: Ingram MicroCloud University: Ingram Micro
Cloud University: Ingram Micro
 
Comp tia cloud foundations managing your customer's clouds
Comp tia cloud foundations   managing your customer's cloudsComp tia cloud foundations   managing your customer's clouds
Comp tia cloud foundations managing your customer's clouds
 
Simplify your BCDR strategy with Azure
Simplify your BCDR strategy with AzureSimplify your BCDR strategy with Azure
Simplify your BCDR strategy with Azure
 
CSEU - Enabling Your Channel Business with Social
CSEU - Enabling Your Channel Business with SocialCSEU - Enabling Your Channel Business with Social
CSEU - Enabling Your Channel Business with Social
 

Ähnlich wie SQL Azure DB - BCDR

Be05 introduction to sql azure
Be05   introduction to sql azureBe05   introduction to sql azure
Be05 introduction to sql azure
DotNetCampus
 
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdfAzure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
bhavyanm2
 
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
LarryZaman
 

Ähnlich wie SQL Azure DB - BCDR (20)

Be05 introduction to sql azure
Be05   introduction to sql azureBe05   introduction to sql azure
Be05 introduction to sql azure
 
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018 Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
 
Denver SQL Saturday The Next Frontier
Denver SQL Saturday The Next FrontierDenver SQL Saturday The Next Frontier
Denver SQL Saturday The Next Frontier
 
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdfAzure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
 
Copy Data Management for the DBA
Copy Data Management for the DBACopy Data Management for the DBA
Copy Data Management for the DBA
 
Samedi SQL QuĂŠbec - Database Backup & copy to Azure par Eric Moreau
Samedi SQL QuĂŠbec - Database Backup & copy to Azure par Eric MoreauSamedi SQL QuĂŠbec - Database Backup & copy to Azure par Eric Moreau
Samedi SQL QuĂŠbec - Database Backup & copy to Azure par Eric Moreau
 
AUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePointAUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePoint
 
Disaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site RecoveryDisaster Recovery Planning using Azure Site Recovery
Disaster Recovery Planning using Azure Site Recovery
 
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
 
Performance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and UnderscoresPerformance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and Underscores
 
Oracle DataGuard Online Training in USA | INDIA
Oracle DataGuard Online Training in USA | INDIAOracle DataGuard Online Training in USA | INDIA
Oracle DataGuard Online Training in USA | INDIA
 
Sql disaster recovery
Sql disaster recoverySql disaster recovery
Sql disaster recovery
 
Azure Data services
Azure Data servicesAzure Data services
Azure Data services
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data Warehouse
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
 
SQL ON Azure (decision-matrix)
SQL  ON  Azure (decision-matrix)SQL  ON  Azure (decision-matrix)
SQL ON Azure (decision-matrix)
 
GWAB 2015 - Data Plaraform
GWAB 2015 - Data PlaraformGWAB 2015 - Data Plaraform
GWAB 2015 - Data Plaraform
 
Azure SQL Database
Azure SQL DatabaseAzure SQL Database
Azure SQL Database
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
 
01_DP-300T00A-Intro.pptx
01_DP-300T00A-Intro.pptx01_DP-300T00A-Intro.pptx
01_DP-300T00A-Intro.pptx
 

Mehr von Harsh Chawla (8)

Alwayson AG enhancements
Alwayson AG enhancementsAlwayson AG enhancements
Alwayson AG enhancements
 
Windows clustering and quorum basics
Windows clustering and quorum basicsWindows clustering and quorum basics
Windows clustering and quorum basics
 
AlwaysON Basics
AlwaysON BasicsAlwaysON Basics
AlwaysON Basics
 
AlwaysON FCI
AlwaysON FCIAlwaysON FCI
AlwaysON FCI
 
Query tuning optimization
Query tuning optimizationQuery tuning optimization
Query tuning optimization
 
Storage spaces - for SQL Server Workloads
Storage spaces - for SQL Server WorkloadsStorage spaces - for SQL Server Workloads
Storage spaces - for SQL Server Workloads
 
Pssdiag and sql nexus
Pssdiag and sql nexusPssdiag and sql nexus
Pssdiag and sql nexus
 
Manage sql server proactively
Manage sql server proactivelyManage sql server proactively
Manage sql server proactively
 

KĂźrzlich hochgeladen

Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
only4webmaster01
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
SUHANI PANDEY
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
9to5mart
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
amitlee9823
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
amitlee9823
 

KĂźrzlich hochgeladen (20)

Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
 

SQL Azure DB - BCDR

  • 2. Agenda • What’s BCDR • BCDR for SQL Azure DB • Types of Recovery for Azure DB
  • 3. Business continuity problem Enabling the application to continuously operate during unplanned and planned disruptive events
  • 4. BCDR for on-premises SQL Server • Maintaining Full Database / Differential / T-log backups • SQL Cluster • Log Shipping • Database Mirroring • AlwaysON • Replication • Database Snapshots
  • 5. BCDR for SQL Azure DB • No full/differential/t-log backup support • No AlwaysON / SQL Cluster / Mirroring / log shipping etc. Then How?
  • 6. SQL Azure DB – Database as a Service • Microsoft takes the responsibility to keep your data safe • With every tier uptime SLA defined: 99.99% uptime • Downtime for 24X7 applications can cause huge financial loss Performance Tier Uptime SLA Basic 99.99% Standard 99.99% Premium 99.99% Web 99.9% Business 99.9%
  • 7. Create a database copy Ensure transactional consistent copy Export backup to storage account Export to customer storage account Repeat as needed Create additional archive copy as needed Export a database Flexible and portable option but incurs operational overhead Pros Cons Portable data format – logical schema and data Need workaround (DB-Copy) to ensure consistent database Low cost Slow to restore Export a database
  • 8. Types of Recovery • Recovery from Machine Failure • Recovery from accidental errors - Oops recovery • Recovery from regional/datacenter outage
  • 9. Reads are completed at the primary Writes are replicated to secondaries Single logical database Write Write Ack Ack Read value write Ack Critical capabilities:  Create new replica  Synchronize data  Stay consistent  Detect failures  Failover  99.99% availability Recovery from Machine Failure
  • 10. Automatic backup Full backups weekly, different backup daily, log backups every 5 minutes Daily and weekly backups automatically uploaded to geo-redundant Azure Storage Self-service restore Point-in-time up to a second granularity REST API, PowerShell, or Portal Creates a new database in the same logical server Tiered retention policy Basic - 7 days Standard - 14 days Premium - 35 days No additional cost to retain backups Geo- replicated Restore from backup SQL Database backups sabcp01bl21 Azure Storage sabcp01bl21 Oops recovery - Point-in-time restore
  • 11. Restores the database to the point of deletion (earlier backups are deleted) Creates a new database on the server used by the original database You can choose to failover to the restored database or use scripts to recover data Recovery after accidental database deletion Self-service restore to point of deletion Backups retained for 7/14/35 days Restore deleted database Now -7 daysTime
  • 12. Geo-restore Self-service restore API Restores last daily backup No extra cost, no capacity guarantee RTO>=24h, RPO=24h Database URL will change after restore Geo- replicated SQL Database backups sabcp01bl21 Azure Storage sabcp01bl21 Restore to any Azure region
  • 14. East US US West LS ABC Failover and activation of secondary (during incident) West US DB LS XYZ DB • RTO<2h, RPO<5m • REST and PowerShell API to opt-in and failover • Automatic data replication and synchronization • DMV+REST to monitor and guide failover decisions • Single offline secondary with matching performance level in the DR paired region North Central US LS OPQ DB Recovery from regional/datacenter outage Standard Replication
  • 15. Active Geo-replication LS ABC South Central US West US Failover and activation of secondary (any time) East US DB1 LS XYZ LS OPQ • RTO<1h, RPO<5m • REST and PowerShell API to opt-in and failover • DMV+REST to monitor and guide failover decisions • Automatic data replication and synchronization • Up to 4 online secondary databases with matching performance level in any region DB1 DB1.old North Central US LS DFE DB1 DB1
  • 17. BCDR Tiered Model B Transactions per hour Transactions per minute Transactions per second ) ERT*<12h RPO**<1h ERT<12h RPO<1h ERT<12h RPO<1h ERT<30s RPO<5s ERT<30s RPO<5s ERT<30s RPO<5s * Estimated Recovery Time (ERT) - The estimated duration for the database to be fully functional after a restore/failover request. ** Recovery Point Objective (RPO) - The amount of most recent data changes (time interval) the application could lose after recovery

Hinweis der Redaktion

  1. Business continuity is the ability to continue business operations when a crisis or disaster occurs. Business continuity planning requires processes, procedures, and measures to ensure that business operations can continue without interruption. This topic focuses on the Azure SQL Database features that enable business continuity and disaster recovery. By storing your data in Azure SQL Database, you take advantage of many fault tolerance and secure infrastructure capabilities that you would otherwise have to design, acquire, implement, and manage. Todays applications need to have the ability to tolerate local failures, recover from disasters, support recovery from user or application errors, and planned events such as an application upgrade.
  2. Ask the question about IaaS and PaaS And then accordingly show the slide
  3. “Deployment Minutes” is the total number of minutes that a given Basic, Standard, or Premium Database has been deployed in Microsoft Azure during a billing month. “Maximum Available Minutes” is the sum of all Deployment Minutes across all Basic, Standard, and Premium Databases for a given Microsoft Azure subscription during a billing month. “Downtime” is the total accumulated Deployment Minutes across all Basic, Standard, and Premium Databases deployed by Customer in a given Microsoft Azure subscription during which the Database is unavailable. A minute is considered unavailable for a given Database if all continuous attempts by Customer to establish a connection to the Database within the minute fail. Monthly Uptime %= Maximum Available Minutes−Downtime Maximum Available Minutes
  4. Pro: Bacpac is a logical schema and local data format that is portable Lower cost that keeping DB running Con: Resource intensive to generate Required creation of another DB to ensure consistency Slow to restore – speed depends on the target edition tier
  5. By storing your data in Azure SQL Database, you take advantage of many fault tolerance and secure infrastructure capabilities that you would otherwise have to design, acquire, implement, and manage. Azure SQL Database has a built-in high availability subsystem that protects your database from failures of individual servers and devices in a datacenter. Azure SQL Database maintains multiple copies of all data in different physical nodes located across fully independent physical sub-systems to mitigate outages due to failures of individual server components, such as hard drives, network interface adapters, or even entire servers. At any one time, three database replicas are running—one primary and two or more replicas. Data is written to the primary and one secondary replica using a quorum based commit scheme before the transaction is considered committed. If the hardware fails on the primary replica, Azure SQL Database detects the failure and fails over to the secondary replica. In case of a physical loss of a replica, a new replica is automatically created. So there are always at minimum two physical, transactionally consistent copies of your data in the datacenter.
  6. Built-in Automatic Backup in Azure SQL Database Azure SQL Database automatically creates backups of every active database using the following schedule: Full database backup once a week, differential database backups once a day, and transaction log backups every 5 minutes. The full and differential backups are replicated across regions to ensure availability of the backups in the event of a disaster. Restoring an Active Database to a Point in Time For a database that is currently active, the earliest restore point available for the database is displayed in the Quick Glance section of the Dashboard for the database on the Azure Management Portal. For a complete walkthrough of restoring a database, see Submit a Database Restore Request.
  7. Restoring a Deleted Database You can restore a database that was deleted during its retention period to the point at which it was deleted. The retention period is determined by the service tier of the database while it existed or the number of days where the database exists, whichever is less.
  8. Geo-Restore Geo-Restore is the most basic disaster recovery option available in Azure SQL Database. It is available with Basic, Standard, and Premium service tiers. The weekly full backup and at least one daily differential backup are stored in a Geo-redundant storage to protect against region wide failures. When you submit a restore request, the database will be restored to the most recent daily backup. There are no charges for the additional backups that are stored, but if you use Geo-Restore, you will be charged for the restored database at normal rates once the restore is complete. For a complete walkthrough, see Submit a Database Restore Request. You can automate this operation using the PowerShell cmdlet <name> or REST API <operation name>. For more information, see Managing Azure SQL Databases with PowerShell and Managing Azure SQL Databases with REST API.
  9. Demo for - 1. Restore deleted databases 2. Point in time recovery of the databases
  10. Demo for configuration of Active- geo Replication Demo for connecting to the secondary replica and show how the sync works
  11. 1m