As organizations see the beSQL Server and Azure are built for each other. New hybrid scenarios between on-premise SQL Server and Azure mean they don't have to exclude each other but instead you can have the best of both worlds.
For example, by taking advantage of services like Azure Blob Storage or Azure VMs we can increase the availability of our services or distribute data in smart ways that benefit our performance and decrease cost. In this demo-heavy session, you will learn the strongest use cases for hybrid scenarios between on-premises and the cloud, and open a new horizon of what you can do with your SQL Server infrastructure. SQL Server and Azure are built for each other. New hybrid scenarios between on-premise SQL Server and Azure mean they don't have to exclude each other but instead you can have the best of both worlds.
Key Learning: Integrating SQL Server and Azure Scaling on-poremises SQL Server using Azure Extending on-premises to the cloud Demos: The demo will demonstrate some of the capabilities of SQL Server when integration with Azure, like backups to blob storage (with or without managed backups), low-cost DR, stretch databases, etnefits of the cloud, you may find yourself involved in migration projects which target the move from on-premises SQL Server to the cloud. Are you ready for this?
Ähnlich wie [db tech showcase Tokyo 2017] C32: Patterns for building hybrid scenarios with SQL Server and Azure by The Pythian Group Inc. - Murilo Miranda
Ähnlich wie [db tech showcase Tokyo 2017] C32: Patterns for building hybrid scenarios with SQL Server and Azure by The Pythian Group Inc. - Murilo Miranda (20)
19. @murilocmiranda
Introduction
You get all the benefits of
Public and Private HYBRID
Private
Public
Help to increase
Scalability
LOW
HIGH
HIGH
CONTROL
SCALABILITY
HYBRID
Private
Public
Public
Private
22. @murilocmiranda
Hybrid Backup Solutions
Are you doing backups, right?
• Do you test it?
• What is the defined retention?
• Is the storage scalable enough?
• Are you able to meet the SLA?
• What is the best strategy to be used?
24. @murilocmiranda
Backups to Azure
We can take advantage of Azure Blob Storage to
send backups to the cloud!
• Tapes? Why?
• Worry about disk space? Never more!
• Damaged storage? Azure is redundant.
• And more... you pay as you use!
• 1TB ~ € 60 / month
25. @murilocmiranda
Backups to Azure
Simple steps to follow:
1. Create a container under your Azure Storage account.
2. Create the Credential.
Account Key or Shared Access Signature
3. You are ready!
27. @murilocmiranda
Managed Backups
• Managed Backups – Also based on Azure Blob Storage
• A way to make backups “smarter”
• It automates and manages SQL Server backups, based on a
retention period.
28. @murilocmiranda
Managed Backups
SQL Server determines the backup schedule
• Based on the transaction workload
• You can still define a schedule.
Retention settings determine how long
the backups are stored in Azure Blob storage
• Minimum: 1 day
• Maximum: 30 day
29. @murilocmiranda
Managed Backups
Full Database Backup
• When Managed Backup is enabled for the first time,
or when a new database is added.
• Log growth since last full backup is =>1 GB.
• Last full backup is > 1 week old
• The log chain is broken.
35. @murilocmiranda
High Availability & Disaster Recovery
A Disaster Recovery plan is needed, but..
• Can you afford it?
• Is the current SQL Server edition ready for my
RPO and RTO requirements?
37. @murilocmiranda
Database Files in Azure
We can store DB files in Azure!
• SQL Server 2012 SP1 – CU2+
• Supports data and log files.
AzureOn-Premises
38. @murilocmiranda
Database Files in Azure
Good for small/non-critical databases
• Performance is improving, but can be a barrier.
• Good option to create a low-cost DR solution!
Do not forget to save a
copy of db level objects in
Azure Storage.
41. @murilocmiranda
Availability Groups Replica
A domain is no more a requirement for Availability Groups
• Windows Server 2016 is required.
Three possible variations:
Single-domain Clusters – The regular one
Multi-domain Clusters – The flexible one
AD-detached Clusters – The “Database Mirroring Style” one
46. @murilocmiranda
Cloud Witness
Just use a “Cloud Witness”
• New kind of failover cluster witness
• Windows Server 2016
• Leverages Microsoft Azure
• It uses Microsoft Azure Blob Storage
Advantages:
• No need for 3rd separate datacenter.
• Same Storage Account can be used for multiple clusters.
• One blob file per cluster.
• Very low-cost (few read/write operations)
55. @murilocmiranda
Stretch Database
• Dynamically stretch data to Azure.
• No application changes are required.
• Your data is always available.
• SQL Server moves the data in the background for you.
• The table remains online and ready to query — it’s
completely transparent
57. @murilocmiranda
Stretch Database
Compatible with the latest technologies
• Protect your data in motion with Always Encrypted.
• Row-Level Security is also compatible
Reduced maintenance times on-premises
• Backups on-premises data run faster
• Backup is automatic for stretched data
60. @murilocmiranda
Hybrid Partitioning
Azure storage is useful for more!
• Build a simple data archival model.
• By partitioning a table and sending older data to Azure.
PRIMARY
FG1
FGAzure
FG2
FGn
Filegroups Files
Local MDF file
Local NDF file
Local NDF file
Local NDF file
NDF file in Azure
On-Prem
Cloud