SlideShare a Scribd company logo
1 of 28
Download to read offline
© Brent Ozar Unlimited®. All rights reserved. 1
Planning a SQL Server to
Azure Migration in 2021
99-05: dev, architect, DBA
05-08: DBA, VM, SAN admin
08-10: MCM, Quest Software
Since: consulting DBA
www.BrentOzar.com
Help@BrentOzar.com
© Brent Ozar Unlimited®. All rights reserved. 2
Today’s session
You manage database servers for your company, and
they're thinking about migrating everything to Microsoft
Azure. You've searched the web for information and advice,
but everything you're finding is outdated.
You just want a list of things to review on your servers, an
overview of what won't work in the cloud, and how to pick
alternatives or workarounds.
In this one-hour session, we'll cover pure technical details,
zero marketing, and get you up to speed quickly.
Out of scope today
Software-as-a-service shops (one db per client)
Methods of moving data (log shipping, replication)
Other cloud vendors
Hybrid environments
© Brent Ozar Unlimited®. All rights reserved. 3
Migration steps
1. Which Azure service should you migrate to?
2. How do you work around unavailable services?
3. How do you provision the right power?
4. How do you tune once you’re there?
1. Picking a target
© Brent Ozar Unlimited®. All rights reserved. 4
“Easy” There’s not a wizard to do it for you, but there’s
good documentation, and if you follow it and do
the work, you’ll succeed.
“Doable” It’s possible, but not easy. A few things may not
work as advertised, or docs may be off. You may
also have to make compromises.
“Challenging” The brochure says it’s doable, but you won’t find
simple, straightforward documentation on how.
You’ll be blazing a new trail.
“Nah” I wouldn’t recommend this approach.
Why I emphasize documentation
The cloud is evolving rapidly.
There’s no reliable changelog.
There are no announcements of new deployments
(only of new feature, and the feature may be deployed
much earlier than the announcement.)
When the documentation isn’t right, you’ll need to
open a support case: takes time, money.
© Brent Ozar Unlimited®. All rights reserved. 5
When do you want to jump in?
1. The feature is deployed
2. The feature is documented
3. People use the feature, test it, call support
4. The feature & documentation are updated to
reflect how it really works
5. The public writes best practices & checklists
When do you want to jump in?
1. The feature is deployed
2. The feature is documented
3. People use the feature, test it, call support
4. The feature & documentation are updated to
reflect how it really works
5. The public writes best practices & checklists
Sometimes, businesses HAVE to jump in this early.
© Brent Ozar Unlimited®. All rights reserved. 6
When do you want to jump in?
1. The feature is deployed
2. The feature is documented
3. People use the feature, test it, call support
4. The feature & documentation are updated to
reflect how it really works
5. The public writes best practices & checklists
But you’re better off when the above is done…
When do you want to jump in?
1. The feature is deployed
2. The feature is documented
3. People use the feature, test it, call support
4. The feature & documentation are updated to
reflect how it really works
5. The public writes best practices & checklists
Just be aware that you won’t find this yet
for new services & behaviors:
© Brent Ozar Unlimited®. All rights reserved. 7
Which service to migrate to?
If you have… Azure SQL DB
Azure SQL DB
Hyperscale
Azure SQL DB
Managed Instance
Azure VM
1 app in 1
database
Easy Easy Easy Easy
1 app in groups
of databases
Challenging Nah Easy Easy
1 SQL Server Nah Nah Doable Easy
Groups of SQL
Servers
Nah Nah Doable Doable
Easy != guaranteed to work.
It’s easy IF you’re only using supported features.
• Inventory unusual features you’re using
• Find out if each is available in your target
• If not:
• Can you stop using that feature, or
• Can you work around it with a hack, or
• Do you need to pick another target?
© Brent Ozar Unlimited®. All rights reserved. 8
How to inventory your features
Start with sp_Blitz @CheckServerInfo = 1:
https://BrentOzar.com/blitz/
Look for:
• Non-default server options
• Non-default database options
• Anything outside of a user database
• Every line in the output: did SQL Server come this way,
or did we add/change something?
© Brent Ozar Unlimited®. All rights reserved. 9
Particularly problematic
1. Anything stored outside of user databases
(msdb, master, registry, trace flags, sp_configure)
2. Anything involving multiple databases at once
(distributed transactions, linked servers)
© Brent Ozar Unlimited®. All rights reserved. 10
Example: Agent jobs
Data is stored in msdb, outside of user databases
Execution happens on a separate service (Agent)
Common uses:
• Database maintenance (backups, indexes, stats)
• Report scheduling
• Job scheduler for application code
(run SSIS, run app logic queries, send emails)
Is Agent available?
But before you rule out the left two, ask:
• Can you stop using that feature, or
• Can you work around it with a hack, or
• Do you need to pick another target?
And the answer can be different for different jobs.
Azure SQL DB
Azure SQL DB
Hyperscale
Azure SQL DB
Managed Instance
Azure VM
SQL Agent jobs Nah Nah Kinda Yes
© Brent Ozar Unlimited®. All rights reserved. 11
Common Agent uses
Short-term backups: no longer necessary
Long-term backups: still necessary, but can be
worked around with Azure SQL DB:
https://docs.microsoft.com/en-us/azure/azure-
sql/database/long-term-retention-overview
App code like running SSIS, making queries happen:
you’ll need a workaround
DBA monitoring scripts: consider Elastic Jobs
Remember, easy != guaranteed to work
If you have… Azure SQL DB
Azure SQL DB
Hyperscale
Azure SQL DB
Managed Instance
Azure VM
1 app in 1
database
Easy Easy Easy Easy
It’s easy IF you’re only using supported features.
• Inventory unusual features you’re using
• Find out if each is available in your target
• If not:
• Can you stop using that feature, or
• Can you work around it with a hack, or
• Do you need to pick another target?
© Brent Ozar Unlimited®. All rights reserved. 12
So back to the problematic stuff:
1. Anything stored outside of user databases
(msdb, master, registry, trace flags, sp_configure)
2. Anything involving multiple databases at once
(distributed transactions, linked servers)
The first one is easy to catch with sp_Blitz:
© Brent Ozar Unlimited®. All rights reserved. 13
Common challenges
Agent jobs
Bulk insert from file
system
Change Data Capture
Collations (always CI AS)
CLR, XPs
Database mail
OLE Automation
OPENQUERY
Query Notifications
Replication publisher
Resource Governor
Service Broker
But these are way harder to catch
1. Anything stored outside of user databases
(msdb, master, registry, trace flags, sp_configure)
2. Anything involving multiple databases at once
(distributed transactions, linked servers)
Because people may be doing it without the DBA
team being aware, like cross-database transactions.
© Brent Ozar Unlimited®. All rights reserved. 14
Cross-database transaction
BEGIN TRAN
UPDATE StoreDB.dbo.Orders
SET Status = 'Shipped';
UPDATE InventoryDB.dbo.Products
SET QtyInStock = QtyInStock -1;
COMMIT
Cross-SERVER transaction
BEGIN TRAN
UPDATE StoreDB.dbo.Orders
SET Status = 'Shipped';
UPDATE Server2.InventoryDB.dbo.Products
SET QtyInStock = QtyInStock -1;
COMMIT
© Brent Ozar Unlimited®. All rights reserved. 15
Catching this is really hard.
Applications have been doing this for years.
Doesn’t require special permissions.
Very common to see with 3rd
party apps that ship with
multiple databases, and you can’t edit their code.
Very common to see with linked server queries that
copy or move data between servers.
Transaction support
Azure SQL DB
Azure SQL DB
Hyperscale
Azure SQL DB
Managed Instance
Azure VM
Cross-db
queries
No No Yes Yes
Cross-db
transactions
No No Yes Yes
Cross-server
transactions
No No No Yes
Azure SQL DB has had cross-database query aka Elastic Query in preview for two years:
https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-query-overview
Managed Instances has cross-server transactions in preview, but only with other MIs:
https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-transactions-overview
© Brent Ozar Unlimited®. All rights reserved. 16
2. Working around
unavailable services
To find Microsoft’s workarounds
Read the release notes & feature comparisons to hear
what the product team suggests.
Keep in mind they sing from the Microsoft songbook:
they won’t advise you not to use a feature, and they’ll
be tactful about really big problems.
© Brent Ozar Unlimited®. All rights reserved. 17
What’s New in Azure SQL DB
https://docs.microsoft.com/en-us/azure/azure-
sql/database/doc-changes-updates-release-
notes?tabs=single-database
Pay attention to features in preview, known issues:
Sometimes, there’s a workaround
But you have to even know that this issue exists: it’s
not like you get a warning when your distributed
transactions suddenly start failing.
© Brent Ozar Unlimited®. All rights reserved. 18
Often, YOU are the workaround.
And this can seem overwhelming, especially as you
inventory everything you’re using – or you run out of
time to inventory it all.
That’s why a lot of folks lift & shift.
If you have… Azure SQL DB
Azure SQL DB
Hyperscale
Azure SQL DB
Managed Instance
Azure VM
1 app in 1
database
Easy Easy Easy Easy
1 app in groups
of databases
Challenging Nah Easy Easy
1 SQL Server Nah Nah Doable Easy
Groups of SQL
Servers
Nah Nah Doable Doable
Often, companies skip
these 3 columns altogether
in their first cloud migration.
© Brent Ozar Unlimited®. All rights reserved. 19
Lift & shift migration
Lift your databases from their current host
Shift them up into the cloud,
but in a very similar configuration: just VMs
Even “just VMs” is hard, because we still face the
CPU, memory, and storage configuration limitations
Later, you’ll migrate individual databases or apps
over to cloud-native designs like Azure SQL DB
3. Provisioning
horsepower
© Brent Ozar Unlimited®. All rights reserved. 20
When you built your own servers…
CPU cores, speed
$ $$$$
Storage size, throughput
$ $$$$
Memory size, GB
$ $$$$
That’s not how the cloud works.
The dials are tied together:
• Each CPU core only gets so much memory
• Each CPU core only gets so much storage
throughput, too
• Server families have storage throughput limits
The more creative you’ve been in the past, the more
you’ll have challenges in the cloud.
© Brent Ozar Unlimited®. All rights reserved. 21
Provisioning a new Azure SQL DB
© Brent Ozar Unlimited®. All rights reserved. 22
Not configurable:
memory size, log space,
TempDB data files,
storage throughput
© Brent Ozar Unlimited®. All rights reserved. 23
Azure storage throughput limits
Each disk has limits on throughput, IOPs.
To get more, stripe multiple disks together.
But also, each VM has limits on:
• Cached throughput, IOPs to shared storage
• Uncached throughput, IOPs to shared storage
• Local ephemeral throughput, IOPs
The VM limits are based on:
• The VM family
• The exact size of the VM
This often comes as a shock
When you build your own VM, you have control over it:
https://docs.microsoft.com/en-us/azure/virtual-
machines/disks-performance
When you use Azure SQL DB, you don’t: Microsoft
sets limits based on the server size you picked:
https://docs.microsoft.com/en-us/azure/azure-
sql/database/resource-limits-logical-
server#resource-governance
© Brent Ozar Unlimited®. All rights reserved. 24
“Perfect is the
enemy of good.”
Voltaire
Another version
“Give them the third-best to go on with.
The second best comes too late,
the best never comes.”
Robert Watson-Watt,
inventor of radar during WWII
© Brent Ozar Unlimited®. All rights reserved. 25
4. Tuning once
you’re up there
Measuring wait stats
Traditional SQL Server in VMs Azure SQL DB (all flavors)
sys.dm_os_wait_stats sys.dm_db_wait_stats
Server-level, includes all databases Database-level, must be tracked for each
individual database
Resets on SQL Server startup Resets at any time, can’t tell when it was
restarted
Cumulative, 24/7 Cumulative/24/7
Needs monitoring software REALLY needs monitoring software
© Brent Ozar Unlimited®. All rights reserved. 26
sp_BlitzFirst @SinceStartup = 1
Shows your cumulative wait types since startup,
excluding harmless idle/sleep waits.
Download: BrentOzar.com/go/download
Works in Azure SQL DB, too. Installs in any db.
Azure SQL DB adds new waits.
Say we’re loading a lot of data into a new table:
WRITELOG: writing to the transaction log
LOG_RATE_GOVERNOR: the storage could go
faster, but Azure’s limiting us.
© Brent Ozar Unlimited®. All rights reserved. 27
We have 3 dials to fix it
Table design, indexes
$ $$$$
Azure size, spend,
configuration
$ $$$$
Query design
$ $$$$
Recap
© Brent Ozar Unlimited®. All rights reserved. 28
Migration steps
1. Which Azure service should you migrate to?
In 2021, a lot of folks are still doing lift-and-shift.
2. How do you work around unavailable services?
Lift-and-shift kicks this can down the road.
3. How do you provision the right power?
Don’t overthink it: start similar to prod, monitor.
4. How do you tune once you’re there?
Monitor wait stats, adjust queries, indexes, HW.

More Related Content

What's hot

Azure SQL Database & Azure SQL Data Warehouse
Azure SQL Database & Azure SQL Data WarehouseAzure SQL Database & Azure SQL Data Warehouse
Azure SQL Database & Azure SQL Data WarehouseMohamed Tawfik
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceJavier Villegas
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed InstanceJames Serra
 
A Tour of Azure SQL Databases (NOVA SQL UG 2020)
A Tour of Azure SQL Databases  (NOVA SQL UG 2020)A Tour of Azure SQL Databases  (NOVA SQL UG 2020)
A Tour of Azure SQL Databases (NOVA SQL UG 2020)Timothy McAliley
 
Azure SQL Database Introduction by Tim Radney
Azure SQL Database Introduction by Tim RadneyAzure SQL Database Introduction by Tim Radney
Azure SQL Database Introduction by Tim RadneyHasan Savran
 
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 Antonios Chatzipavlis
 
Azure SQL DB Managed Instances Built to easily modernize application data layer
Azure SQL DB Managed Instances Built to easily modernize application data layerAzure SQL DB Managed Instances Built to easily modernize application data layer
Azure SQL DB Managed Instances Built to easily modernize application data layerMicrosoft Tech Community
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platformgiventocode
 
AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)Jovan Popovic
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure Antonios Chatzipavlis
 
Data Platform Overview
Data Platform OverviewData Platform Overview
Data Platform OverviewHamid J. Fard
 
Tarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshooting
Tarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshootingTarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshooting
Tarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshootingJovan Popovic
 
Microsoft certified azure developer associate
Microsoft certified azure developer associateMicrosoft certified azure developer associate
Microsoft certified azure developer associateGaurav Singh
 
McGraw-Hill Optimizes Analytics Workloads with Databricks
 McGraw-Hill Optimizes Analytics Workloads with Databricks McGraw-Hill Optimizes Analytics Workloads with Databricks
McGraw-Hill Optimizes Analytics Workloads with DatabricksAmazon Web Services
 
Azure Data Factory | Moving On-Premise Data to Azure Cloud | Microsoft Azure ...
Azure Data Factory | Moving On-Premise Data to Azure Cloud | Microsoft Azure ...Azure Data Factory | Moving On-Premise Data to Azure Cloud | Microsoft Azure ...
Azure Data Factory | Moving On-Premise Data to Azure Cloud | Microsoft Azure ...Edureka!
 
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)Chad Green
 
Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Mohamed Tawfik
 
SQL Azure the database in the cloud
SQL Azure the database in the cloud SQL Azure the database in the cloud
SQL Azure the database in the cloud Eduardo Castro
 

What's hot (20)

Azure SQL Database & Azure SQL Data Warehouse
Azure SQL Database & Azure SQL Data WarehouseAzure SQL Database & Azure SQL Data Warehouse
Azure SQL Database & Azure SQL Data Warehouse
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed Instance
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
 
A Tour of Azure SQL Databases (NOVA SQL UG 2020)
A Tour of Azure SQL Databases  (NOVA SQL UG 2020)A Tour of Azure SQL Databases  (NOVA SQL UG 2020)
A Tour of Azure SQL Databases (NOVA SQL UG 2020)
 
Azure SQL Database Introduction by Tim Radney
Azure SQL Database Introduction by Tim RadneyAzure SQL Database Introduction by Tim Radney
Azure SQL Database Introduction by Tim Radney
 
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
 
Azure SQL DB Managed Instances Built to easily modernize application data layer
Azure SQL DB Managed Instances Built to easily modernize application data layerAzure SQL DB Managed Instances Built to easily modernize application data layer
Azure SQL DB Managed Instances Built to easily modernize application data layer
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platform
 
AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure
 
Azure Cosmos DB
Azure Cosmos DBAzure Cosmos DB
Azure Cosmos DB
 
Data Platform Overview
Data Platform OverviewData Platform Overview
Data Platform Overview
 
Tarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshooting
Tarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshootingTarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshooting
Tarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshooting
 
Microsoft certified azure developer associate
Microsoft certified azure developer associateMicrosoft certified azure developer associate
Microsoft certified azure developer associate
 
McGraw-Hill Optimizes Analytics Workloads with Databricks
 McGraw-Hill Optimizes Analytics Workloads with Databricks McGraw-Hill Optimizes Analytics Workloads with Databricks
McGraw-Hill Optimizes Analytics Workloads with Databricks
 
Azure Data Factory | Moving On-Premise Data to Azure Cloud | Microsoft Azure ...
Azure Data Factory | Moving On-Premise Data to Azure Cloud | Microsoft Azure ...Azure Data Factory | Moving On-Premise Data to Azure Cloud | Microsoft Azure ...
Azure Data Factory | Moving On-Premise Data to Azure Cloud | Microsoft Azure ...
 
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
 
Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services
 
SQL Azure the database in the cloud
SQL Azure the database in the cloud SQL Azure the database in the cloud
SQL Azure the database in the cloud
 

Similar to Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar

Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Jess Coburn
 
Geek Sync | Field Medic’s Guide to Database Mirroring
Geek Sync | Field Medic’s Guide to Database MirroringGeek Sync | Field Medic’s Guide to Database Mirroring
Geek Sync | Field Medic’s Guide to Database MirroringIDERA Software
 
The Key to Effective Analytics: Fast-Returning Queries
The Key to Effective Analytics: Fast-Returning QueriesThe Key to Effective Analytics: Fast-Returning Queries
The Key to Effective Analytics: Fast-Returning QueriesEric Kavanagh
 
Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...
Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...
Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...Citrix
 
Azure + DataStax Enterprise (DSE) Powers Office365 Per User Store
Azure + DataStax Enterprise (DSE) Powers Office365 Per User StoreAzure + DataStax Enterprise (DSE) Powers Office365 Per User Store
Azure + DataStax Enterprise (DSE) Powers Office365 Per User StoreDataStax Academy
 
Building a Fast, Reliable SQL Server for kCura Relativity
Building a Fast, Reliable SQL Server for kCura RelativityBuilding a Fast, Reliable SQL Server for kCura Relativity
Building a Fast, Reliable SQL Server for kCura RelativityBrent Ozar
 
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...
Idera live 2021:   Managing Databases in the Cloud - the First Step, a Succes...Idera live 2021:   Managing Databases in the Cloud - the First Step, a Succes...
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...IDERA Software
 
Performance Optimization of Cloud Based Applications by Peter Smith, ACL
Performance Optimization of Cloud Based Applications by Peter Smith, ACLPerformance Optimization of Cloud Based Applications by Peter Smith, ACL
Performance Optimization of Cloud Based Applications by Peter Smith, ACLTriNimbus
 
Sql interview question part 8
Sql interview question part 8Sql interview question part 8
Sql interview question part 8kaashiv1
 
High Performance Mysql
High Performance MysqlHigh Performance Mysql
High Performance Mysqlliufabin 66688
 
SOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBSOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBUniFabric
 
KoprowskiT_SQLSat409_MaintenancePlansForBeginners
KoprowskiT_SQLSat409_MaintenancePlansForBeginnersKoprowskiT_SQLSat409_MaintenancePlansForBeginners
KoprowskiT_SQLSat409_MaintenancePlansForBeginnersTobias Koprowski
 
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginnersKoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginnersTobias Koprowski
 
Search on the fly: how to lighten your Big Data - Simona Russo, Auro Rolle - ...
Search on the fly: how to lighten your Big Data - Simona Russo, Auro Rolle - ...Search on the fly: how to lighten your Big Data - Simona Russo, Auro Rolle - ...
Search on the fly: how to lighten your Big Data - Simona Russo, Auro Rolle - ...Codemotion
 
Scaling apps for the big time
Scaling apps for the big timeScaling apps for the big time
Scaling apps for the big timeproitconsult
 
SQL PASS Summit 2018
SQL PASS Summit 2018SQL PASS Summit 2018
SQL PASS Summit 2018Kendra Little
 
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013Amazon Web Services
 
How to manage and monitor large sql server estates
How to manage and monitor large sql server estatesHow to manage and monitor large sql server estates
How to manage and monitor large sql server estatesRed Gate Software
 
DATABASE AUTOMATION with Thousands of database, monitoring and backup
DATABASE AUTOMATION with Thousands of database, monitoring and backupDATABASE AUTOMATION with Thousands of database, monitoring and backup
DATABASE AUTOMATION with Thousands of database, monitoring and backupSaewoong Lee
 

Similar to Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar (20)

Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11
 
Geek Sync | Field Medic’s Guide to Database Mirroring
Geek Sync | Field Medic’s Guide to Database MirroringGeek Sync | Field Medic’s Guide to Database Mirroring
Geek Sync | Field Medic’s Guide to Database Mirroring
 
The Key to Effective Analytics: Fast-Returning Queries
The Key to Effective Analytics: Fast-Returning QueriesThe Key to Effective Analytics: Fast-Returning Queries
The Key to Effective Analytics: Fast-Returning Queries
 
Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...
Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...
Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...
 
Azure + DataStax Enterprise (DSE) Powers Office365 Per User Store
Azure + DataStax Enterprise (DSE) Powers Office365 Per User StoreAzure + DataStax Enterprise (DSE) Powers Office365 Per User Store
Azure + DataStax Enterprise (DSE) Powers Office365 Per User Store
 
Building a Fast, Reliable SQL Server for kCura Relativity
Building a Fast, Reliable SQL Server for kCura RelativityBuilding a Fast, Reliable SQL Server for kCura Relativity
Building a Fast, Reliable SQL Server for kCura Relativity
 
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...
Idera live 2021:   Managing Databases in the Cloud - the First Step, a Succes...Idera live 2021:   Managing Databases in the Cloud - the First Step, a Succes...
Idera live 2021: Managing Databases in the Cloud - the First Step, a Succes...
 
Performance Optimization of Cloud Based Applications by Peter Smith, ACL
Performance Optimization of Cloud Based Applications by Peter Smith, ACLPerformance Optimization of Cloud Based Applications by Peter Smith, ACL
Performance Optimization of Cloud Based Applications by Peter Smith, ACL
 
Sql interview question part 8
Sql interview question part 8Sql interview question part 8
Sql interview question part 8
 
Ebook8
Ebook8Ebook8
Ebook8
 
High Performance Mysql
High Performance MysqlHigh Performance Mysql
High Performance Mysql
 
SOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBSOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DB
 
KoprowskiT_SQLSat409_MaintenancePlansForBeginners
KoprowskiT_SQLSat409_MaintenancePlansForBeginnersKoprowskiT_SQLSat409_MaintenancePlansForBeginners
KoprowskiT_SQLSat409_MaintenancePlansForBeginners
 
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginnersKoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
 
Search on the fly: how to lighten your Big Data - Simona Russo, Auro Rolle - ...
Search on the fly: how to lighten your Big Data - Simona Russo, Auro Rolle - ...Search on the fly: how to lighten your Big Data - Simona Russo, Auro Rolle - ...
Search on the fly: how to lighten your Big Data - Simona Russo, Auro Rolle - ...
 
Scaling apps for the big time
Scaling apps for the big timeScaling apps for the big time
Scaling apps for the big time
 
SQL PASS Summit 2018
SQL PASS Summit 2018SQL PASS Summit 2018
SQL PASS Summit 2018
 
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
Understanding AWS Database Options (DAT201) | AWS re:Invent 2013
 
How to manage and monitor large sql server estates
How to manage and monitor large sql server estatesHow to manage and monitor large sql server estates
How to manage and monitor large sql server estates
 
DATABASE AUTOMATION with Thousands of database, monitoring and backup
DATABASE AUTOMATION with Thousands of database, monitoring and backupDATABASE AUTOMATION with Thousands of database, monitoring and backup
DATABASE AUTOMATION with Thousands of database, monitoring and backup
 

More from IDERA Software

The role of the database administrator (DBA) in 2020: Changes, challenges, an...
The role of the database administrator (DBA) in 2020: Changes, challenges, an...The role of the database administrator (DBA) in 2020: Changes, challenges, an...
The role of the database administrator (DBA) in 2020: Changes, challenges, an...IDERA Software
 
Problems and solutions for migrating databases to the cloud
Problems and solutions for migrating databases to the cloudProblems and solutions for migrating databases to the cloud
Problems and solutions for migrating databases to the cloudIDERA Software
 
Public cloud uses and limitations
Public cloud uses and limitationsPublic cloud uses and limitations
Public cloud uses and limitationsIDERA Software
 
Optimize the performance, cost, and value of databases.pptx
Optimize the performance, cost, and value of databases.pptxOptimize the performance, cost, and value of databases.pptx
Optimize the performance, cost, and value of databases.pptxIDERA Software
 
Monitor cloud database with SQL Diagnostic Manager for SQL Server
Monitor cloud database with SQL Diagnostic Manager for SQL ServerMonitor cloud database with SQL Diagnostic Manager for SQL Server
Monitor cloud database with SQL Diagnostic Manager for SQL ServerIDERA Software
 
Database administrators (dbas) face increasing pressure to monitor databases
Database administrators (dbas) face increasing pressure to monitor databasesDatabase administrators (dbas) face increasing pressure to monitor databases
Database administrators (dbas) face increasing pressure to monitor databasesIDERA Software
 
Six tips for cutting sql server licensing costs
Six tips for cutting sql server licensing costsSix tips for cutting sql server licensing costs
Six tips for cutting sql server licensing costsIDERA Software
 
Idera live 2021: The Power of Abstraction by Steve Hoberman
Idera live 2021:  The Power of Abstraction by Steve HobermanIdera live 2021:  The Power of Abstraction by Steve Hoberman
Idera live 2021: The Power of Abstraction by Steve HobermanIDERA Software
 
Idera live 2021: Why Data Lakes are Critical for AI, ML, and IoT By Brian Flug
Idera live 2021:  Why Data Lakes are Critical for AI, ML, and IoT  By Brian FlugIdera live 2021:  Why Data Lakes are Critical for AI, ML, and IoT  By Brian Flug
Idera live 2021: Why Data Lakes are Critical for AI, ML, and IoT By Brian FlugIDERA Software
 
Idera live 2021: Will Data Vault add Value to Your Data Warehouse? 3 Signs th...
Idera live 2021: Will Data Vault add Value to Your Data Warehouse? 3 Signs th...Idera live 2021: Will Data Vault add Value to Your Data Warehouse? 3 Signs th...
Idera live 2021: Will Data Vault add Value to Your Data Warehouse? 3 Signs th...IDERA Software
 
Idera live 2021: Managing Digital Transformation on a Budget by Bert Scalzo
Idera live 2021:  Managing Digital Transformation on a Budget by Bert ScalzoIdera live 2021:  Managing Digital Transformation on a Budget by Bert Scalzo
Idera live 2021: Managing Digital Transformation on a Budget by Bert ScalzoIDERA Software
 
Idera live 2021: Keynote Presentation The Future of Data is The Data Cloud b...
Idera live 2021:  Keynote Presentation The Future of Data is The Data Cloud b...Idera live 2021:  Keynote Presentation The Future of Data is The Data Cloud b...
Idera live 2021: Keynote Presentation The Future of Data is The Data Cloud b...IDERA Software
 
Idera live 2021: Database Auditing - on-Premises and in the Cloud by Craig M...
Idera live 2021:  Database Auditing - on-Premises and in the Cloud by Craig M...Idera live 2021:  Database Auditing - on-Premises and in the Cloud by Craig M...
Idera live 2021: Database Auditing - on-Premises and in the Cloud by Craig M...IDERA Software
 
Idera live 2021: Performance Tuning Azure SQL Database by Monica Rathbun
Idera live 2021:  Performance Tuning Azure SQL Database by Monica RathbunIdera live 2021:  Performance Tuning Azure SQL Database by Monica Rathbun
Idera live 2021: Performance Tuning Azure SQL Database by Monica RathbunIDERA Software
 
Geek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERA
Geek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERAGeek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERA
Geek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERAIDERA Software
 
How Users of a Performance Monitoring Tool Can Benefit from an Inventory Mana...
How Users of a Performance Monitoring Tool Can Benefit from an Inventory Mana...How Users of a Performance Monitoring Tool Can Benefit from an Inventory Mana...
How Users of a Performance Monitoring Tool Can Benefit from an Inventory Mana...IDERA Software
 
Benefits of Third Party Tools for MySQL | IDERA
Benefits of Third Party Tools for MySQL | IDERABenefits of Third Party Tools for MySQL | IDERA
Benefits of Third Party Tools for MySQL | IDERAIDERA Software
 
Achieve More with Less Resources | IDERA
Achieve More with Less Resources | IDERAAchieve More with Less Resources | IDERA
Achieve More with Less Resources | IDERAIDERA Software
 
Benefits of SQL Server 2017 and 2019 | IDERA
Benefits of SQL Server 2017 and 2019 | IDERABenefits of SQL Server 2017 and 2019 | IDERA
Benefits of SQL Server 2017 and 2019 | IDERAIDERA Software
 
Be Proactive: A Good DBA Goes Looking for Signs of Trouble | IDERA
Be Proactive: A Good DBA Goes Looking for Signs of Trouble | IDERABe Proactive: A Good DBA Goes Looking for Signs of Trouble | IDERA
Be Proactive: A Good DBA Goes Looking for Signs of Trouble | IDERAIDERA Software
 

More from IDERA Software (20)

The role of the database administrator (DBA) in 2020: Changes, challenges, an...
The role of the database administrator (DBA) in 2020: Changes, challenges, an...The role of the database administrator (DBA) in 2020: Changes, challenges, an...
The role of the database administrator (DBA) in 2020: Changes, challenges, an...
 
Problems and solutions for migrating databases to the cloud
Problems and solutions for migrating databases to the cloudProblems and solutions for migrating databases to the cloud
Problems and solutions for migrating databases to the cloud
 
Public cloud uses and limitations
Public cloud uses and limitationsPublic cloud uses and limitations
Public cloud uses and limitations
 
Optimize the performance, cost, and value of databases.pptx
Optimize the performance, cost, and value of databases.pptxOptimize the performance, cost, and value of databases.pptx
Optimize the performance, cost, and value of databases.pptx
 
Monitor cloud database with SQL Diagnostic Manager for SQL Server
Monitor cloud database with SQL Diagnostic Manager for SQL ServerMonitor cloud database with SQL Diagnostic Manager for SQL Server
Monitor cloud database with SQL Diagnostic Manager for SQL Server
 
Database administrators (dbas) face increasing pressure to monitor databases
Database administrators (dbas) face increasing pressure to monitor databasesDatabase administrators (dbas) face increasing pressure to monitor databases
Database administrators (dbas) face increasing pressure to monitor databases
 
Six tips for cutting sql server licensing costs
Six tips for cutting sql server licensing costsSix tips for cutting sql server licensing costs
Six tips for cutting sql server licensing costs
 
Idera live 2021: The Power of Abstraction by Steve Hoberman
Idera live 2021:  The Power of Abstraction by Steve HobermanIdera live 2021:  The Power of Abstraction by Steve Hoberman
Idera live 2021: The Power of Abstraction by Steve Hoberman
 
Idera live 2021: Why Data Lakes are Critical for AI, ML, and IoT By Brian Flug
Idera live 2021:  Why Data Lakes are Critical for AI, ML, and IoT  By Brian FlugIdera live 2021:  Why Data Lakes are Critical for AI, ML, and IoT  By Brian Flug
Idera live 2021: Why Data Lakes are Critical for AI, ML, and IoT By Brian Flug
 
Idera live 2021: Will Data Vault add Value to Your Data Warehouse? 3 Signs th...
Idera live 2021: Will Data Vault add Value to Your Data Warehouse? 3 Signs th...Idera live 2021: Will Data Vault add Value to Your Data Warehouse? 3 Signs th...
Idera live 2021: Will Data Vault add Value to Your Data Warehouse? 3 Signs th...
 
Idera live 2021: Managing Digital Transformation on a Budget by Bert Scalzo
Idera live 2021:  Managing Digital Transformation on a Budget by Bert ScalzoIdera live 2021:  Managing Digital Transformation on a Budget by Bert Scalzo
Idera live 2021: Managing Digital Transformation on a Budget by Bert Scalzo
 
Idera live 2021: Keynote Presentation The Future of Data is The Data Cloud b...
Idera live 2021:  Keynote Presentation The Future of Data is The Data Cloud b...Idera live 2021:  Keynote Presentation The Future of Data is The Data Cloud b...
Idera live 2021: Keynote Presentation The Future of Data is The Data Cloud b...
 
Idera live 2021: Database Auditing - on-Premises and in the Cloud by Craig M...
Idera live 2021:  Database Auditing - on-Premises and in the Cloud by Craig M...Idera live 2021:  Database Auditing - on-Premises and in the Cloud by Craig M...
Idera live 2021: Database Auditing - on-Premises and in the Cloud by Craig M...
 
Idera live 2021: Performance Tuning Azure SQL Database by Monica Rathbun
Idera live 2021:  Performance Tuning Azure SQL Database by Monica RathbunIdera live 2021:  Performance Tuning Azure SQL Database by Monica Rathbun
Idera live 2021: Performance Tuning Azure SQL Database by Monica Rathbun
 
Geek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERA
Geek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERAGeek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERA
Geek Sync | How to Be the DBA When You Don't Have a DBA - Eric Cobb | IDERA
 
How Users of a Performance Monitoring Tool Can Benefit from an Inventory Mana...
How Users of a Performance Monitoring Tool Can Benefit from an Inventory Mana...How Users of a Performance Monitoring Tool Can Benefit from an Inventory Mana...
How Users of a Performance Monitoring Tool Can Benefit from an Inventory Mana...
 
Benefits of Third Party Tools for MySQL | IDERA
Benefits of Third Party Tools for MySQL | IDERABenefits of Third Party Tools for MySQL | IDERA
Benefits of Third Party Tools for MySQL | IDERA
 
Achieve More with Less Resources | IDERA
Achieve More with Less Resources | IDERAAchieve More with Less Resources | IDERA
Achieve More with Less Resources | IDERA
 
Benefits of SQL Server 2017 and 2019 | IDERA
Benefits of SQL Server 2017 and 2019 | IDERABenefits of SQL Server 2017 and 2019 | IDERA
Benefits of SQL Server 2017 and 2019 | IDERA
 
Be Proactive: A Good DBA Goes Looking for Signs of Trouble | IDERA
Be Proactive: A Good DBA Goes Looking for Signs of Trouble | IDERABe Proactive: A Good DBA Goes Looking for Signs of Trouble | IDERA
Be Proactive: A Good DBA Goes Looking for Signs of Trouble | IDERA
 

Recently uploaded

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 

Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar

  • 1. © Brent Ozar Unlimited®. All rights reserved. 1 Planning a SQL Server to Azure Migration in 2021 99-05: dev, architect, DBA 05-08: DBA, VM, SAN admin 08-10: MCM, Quest Software Since: consulting DBA www.BrentOzar.com Help@BrentOzar.com
  • 2. © Brent Ozar Unlimited®. All rights reserved. 2 Today’s session You manage database servers for your company, and they're thinking about migrating everything to Microsoft Azure. You've searched the web for information and advice, but everything you're finding is outdated. You just want a list of things to review on your servers, an overview of what won't work in the cloud, and how to pick alternatives or workarounds. In this one-hour session, we'll cover pure technical details, zero marketing, and get you up to speed quickly. Out of scope today Software-as-a-service shops (one db per client) Methods of moving data (log shipping, replication) Other cloud vendors Hybrid environments
  • 3. © Brent Ozar Unlimited®. All rights reserved. 3 Migration steps 1. Which Azure service should you migrate to? 2. How do you work around unavailable services? 3. How do you provision the right power? 4. How do you tune once you’re there? 1. Picking a target
  • 4. © Brent Ozar Unlimited®. All rights reserved. 4 “Easy” There’s not a wizard to do it for you, but there’s good documentation, and if you follow it and do the work, you’ll succeed. “Doable” It’s possible, but not easy. A few things may not work as advertised, or docs may be off. You may also have to make compromises. “Challenging” The brochure says it’s doable, but you won’t find simple, straightforward documentation on how. You’ll be blazing a new trail. “Nah” I wouldn’t recommend this approach. Why I emphasize documentation The cloud is evolving rapidly. There’s no reliable changelog. There are no announcements of new deployments (only of new feature, and the feature may be deployed much earlier than the announcement.) When the documentation isn’t right, you’ll need to open a support case: takes time, money.
  • 5. © Brent Ozar Unlimited®. All rights reserved. 5 When do you want to jump in? 1. The feature is deployed 2. The feature is documented 3. People use the feature, test it, call support 4. The feature & documentation are updated to reflect how it really works 5. The public writes best practices & checklists When do you want to jump in? 1. The feature is deployed 2. The feature is documented 3. People use the feature, test it, call support 4. The feature & documentation are updated to reflect how it really works 5. The public writes best practices & checklists Sometimes, businesses HAVE to jump in this early.
  • 6. © Brent Ozar Unlimited®. All rights reserved. 6 When do you want to jump in? 1. The feature is deployed 2. The feature is documented 3. People use the feature, test it, call support 4. The feature & documentation are updated to reflect how it really works 5. The public writes best practices & checklists But you’re better off when the above is done… When do you want to jump in? 1. The feature is deployed 2. The feature is documented 3. People use the feature, test it, call support 4. The feature & documentation are updated to reflect how it really works 5. The public writes best practices & checklists Just be aware that you won’t find this yet for new services & behaviors:
  • 7. © Brent Ozar Unlimited®. All rights reserved. 7 Which service to migrate to? If you have… Azure SQL DB Azure SQL DB Hyperscale Azure SQL DB Managed Instance Azure VM 1 app in 1 database Easy Easy Easy Easy 1 app in groups of databases Challenging Nah Easy Easy 1 SQL Server Nah Nah Doable Easy Groups of SQL Servers Nah Nah Doable Doable Easy != guaranteed to work. It’s easy IF you’re only using supported features. • Inventory unusual features you’re using • Find out if each is available in your target • If not: • Can you stop using that feature, or • Can you work around it with a hack, or • Do you need to pick another target?
  • 8. © Brent Ozar Unlimited®. All rights reserved. 8 How to inventory your features Start with sp_Blitz @CheckServerInfo = 1: https://BrentOzar.com/blitz/ Look for: • Non-default server options • Non-default database options • Anything outside of a user database • Every line in the output: did SQL Server come this way, or did we add/change something?
  • 9. © Brent Ozar Unlimited®. All rights reserved. 9 Particularly problematic 1. Anything stored outside of user databases (msdb, master, registry, trace flags, sp_configure) 2. Anything involving multiple databases at once (distributed transactions, linked servers)
  • 10. © Brent Ozar Unlimited®. All rights reserved. 10 Example: Agent jobs Data is stored in msdb, outside of user databases Execution happens on a separate service (Agent) Common uses: • Database maintenance (backups, indexes, stats) • Report scheduling • Job scheduler for application code (run SSIS, run app logic queries, send emails) Is Agent available? But before you rule out the left two, ask: • Can you stop using that feature, or • Can you work around it with a hack, or • Do you need to pick another target? And the answer can be different for different jobs. Azure SQL DB Azure SQL DB Hyperscale Azure SQL DB Managed Instance Azure VM SQL Agent jobs Nah Nah Kinda Yes
  • 11. © Brent Ozar Unlimited®. All rights reserved. 11 Common Agent uses Short-term backups: no longer necessary Long-term backups: still necessary, but can be worked around with Azure SQL DB: https://docs.microsoft.com/en-us/azure/azure- sql/database/long-term-retention-overview App code like running SSIS, making queries happen: you’ll need a workaround DBA monitoring scripts: consider Elastic Jobs Remember, easy != guaranteed to work If you have… Azure SQL DB Azure SQL DB Hyperscale Azure SQL DB Managed Instance Azure VM 1 app in 1 database Easy Easy Easy Easy It’s easy IF you’re only using supported features. • Inventory unusual features you’re using • Find out if each is available in your target • If not: • Can you stop using that feature, or • Can you work around it with a hack, or • Do you need to pick another target?
  • 12. © Brent Ozar Unlimited®. All rights reserved. 12 So back to the problematic stuff: 1. Anything stored outside of user databases (msdb, master, registry, trace flags, sp_configure) 2. Anything involving multiple databases at once (distributed transactions, linked servers) The first one is easy to catch with sp_Blitz:
  • 13. © Brent Ozar Unlimited®. All rights reserved. 13 Common challenges Agent jobs Bulk insert from file system Change Data Capture Collations (always CI AS) CLR, XPs Database mail OLE Automation OPENQUERY Query Notifications Replication publisher Resource Governor Service Broker But these are way harder to catch 1. Anything stored outside of user databases (msdb, master, registry, trace flags, sp_configure) 2. Anything involving multiple databases at once (distributed transactions, linked servers) Because people may be doing it without the DBA team being aware, like cross-database transactions.
  • 14. © Brent Ozar Unlimited®. All rights reserved. 14 Cross-database transaction BEGIN TRAN UPDATE StoreDB.dbo.Orders SET Status = 'Shipped'; UPDATE InventoryDB.dbo.Products SET QtyInStock = QtyInStock -1; COMMIT Cross-SERVER transaction BEGIN TRAN UPDATE StoreDB.dbo.Orders SET Status = 'Shipped'; UPDATE Server2.InventoryDB.dbo.Products SET QtyInStock = QtyInStock -1; COMMIT
  • 15. © Brent Ozar Unlimited®. All rights reserved. 15 Catching this is really hard. Applications have been doing this for years. Doesn’t require special permissions. Very common to see with 3rd party apps that ship with multiple databases, and you can’t edit their code. Very common to see with linked server queries that copy or move data between servers. Transaction support Azure SQL DB Azure SQL DB Hyperscale Azure SQL DB Managed Instance Azure VM Cross-db queries No No Yes Yes Cross-db transactions No No Yes Yes Cross-server transactions No No No Yes Azure SQL DB has had cross-database query aka Elastic Query in preview for two years: https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-query-overview Managed Instances has cross-server transactions in preview, but only with other MIs: https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-transactions-overview
  • 16. © Brent Ozar Unlimited®. All rights reserved. 16 2. Working around unavailable services To find Microsoft’s workarounds Read the release notes & feature comparisons to hear what the product team suggests. Keep in mind they sing from the Microsoft songbook: they won’t advise you not to use a feature, and they’ll be tactful about really big problems.
  • 17. © Brent Ozar Unlimited®. All rights reserved. 17 What’s New in Azure SQL DB https://docs.microsoft.com/en-us/azure/azure- sql/database/doc-changes-updates-release- notes?tabs=single-database Pay attention to features in preview, known issues: Sometimes, there’s a workaround But you have to even know that this issue exists: it’s not like you get a warning when your distributed transactions suddenly start failing.
  • 18. © Brent Ozar Unlimited®. All rights reserved. 18 Often, YOU are the workaround. And this can seem overwhelming, especially as you inventory everything you’re using – or you run out of time to inventory it all. That’s why a lot of folks lift & shift. If you have… Azure SQL DB Azure SQL DB Hyperscale Azure SQL DB Managed Instance Azure VM 1 app in 1 database Easy Easy Easy Easy 1 app in groups of databases Challenging Nah Easy Easy 1 SQL Server Nah Nah Doable Easy Groups of SQL Servers Nah Nah Doable Doable Often, companies skip these 3 columns altogether in their first cloud migration.
  • 19. © Brent Ozar Unlimited®. All rights reserved. 19 Lift & shift migration Lift your databases from their current host Shift them up into the cloud, but in a very similar configuration: just VMs Even “just VMs” is hard, because we still face the CPU, memory, and storage configuration limitations Later, you’ll migrate individual databases or apps over to cloud-native designs like Azure SQL DB 3. Provisioning horsepower
  • 20. © Brent Ozar Unlimited®. All rights reserved. 20 When you built your own servers… CPU cores, speed $ $$$$ Storage size, throughput $ $$$$ Memory size, GB $ $$$$ That’s not how the cloud works. The dials are tied together: • Each CPU core only gets so much memory • Each CPU core only gets so much storage throughput, too • Server families have storage throughput limits The more creative you’ve been in the past, the more you’ll have challenges in the cloud.
  • 21. © Brent Ozar Unlimited®. All rights reserved. 21 Provisioning a new Azure SQL DB
  • 22. © Brent Ozar Unlimited®. All rights reserved. 22 Not configurable: memory size, log space, TempDB data files, storage throughput
  • 23. © Brent Ozar Unlimited®. All rights reserved. 23 Azure storage throughput limits Each disk has limits on throughput, IOPs. To get more, stripe multiple disks together. But also, each VM has limits on: • Cached throughput, IOPs to shared storage • Uncached throughput, IOPs to shared storage • Local ephemeral throughput, IOPs The VM limits are based on: • The VM family • The exact size of the VM This often comes as a shock When you build your own VM, you have control over it: https://docs.microsoft.com/en-us/azure/virtual- machines/disks-performance When you use Azure SQL DB, you don’t: Microsoft sets limits based on the server size you picked: https://docs.microsoft.com/en-us/azure/azure- sql/database/resource-limits-logical- server#resource-governance
  • 24. © Brent Ozar Unlimited®. All rights reserved. 24 “Perfect is the enemy of good.” Voltaire Another version “Give them the third-best to go on with. The second best comes too late, the best never comes.” Robert Watson-Watt, inventor of radar during WWII
  • 25. © Brent Ozar Unlimited®. All rights reserved. 25 4. Tuning once you’re up there Measuring wait stats Traditional SQL Server in VMs Azure SQL DB (all flavors) sys.dm_os_wait_stats sys.dm_db_wait_stats Server-level, includes all databases Database-level, must be tracked for each individual database Resets on SQL Server startup Resets at any time, can’t tell when it was restarted Cumulative, 24/7 Cumulative/24/7 Needs monitoring software REALLY needs monitoring software
  • 26. © Brent Ozar Unlimited®. All rights reserved. 26 sp_BlitzFirst @SinceStartup = 1 Shows your cumulative wait types since startup, excluding harmless idle/sleep waits. Download: BrentOzar.com/go/download Works in Azure SQL DB, too. Installs in any db. Azure SQL DB adds new waits. Say we’re loading a lot of data into a new table: WRITELOG: writing to the transaction log LOG_RATE_GOVERNOR: the storage could go faster, but Azure’s limiting us.
  • 27. © Brent Ozar Unlimited®. All rights reserved. 27 We have 3 dials to fix it Table design, indexes $ $$$$ Azure size, spend, configuration $ $$$$ Query design $ $$$$ Recap
  • 28. © Brent Ozar Unlimited®. All rights reserved. 28 Migration steps 1. Which Azure service should you migrate to? In 2021, a lot of folks are still doing lift-and-shift. 2. How do you work around unavailable services? Lift-and-shift kicks this can down the road. 3. How do you provision the right power? Don’t overthink it: start similar to prod, monitor. 4. How do you tune once you’re there? Monitor wait stats, adjust queries, indexes, HW.