Everyone knows that Azure SQL Database only supports a small subset of SQL Server functionality, small databases, and has really bad performance. Except, everyone is wrong. In fact, Azure SQL Server Database is ready to support many, if not most, databases within your enterprise. This session reintroduces Azure SQL Database and shows the high degree of functionality and improved performance that is now available. You’ll leave this session with a more thorough understanding of the strengths and weaknesses of Azure SQL Database so that you can make a more informed choice over when or if you should use it within your environment.
1. Grant Fritchey | www.ScaryDBA.com
www.ScaryDBA.com
Azure SQL Database
for the Earthed DBA
Grant Fritchey – Red Gate Software
2. Grant Fritchey | www.ScaryDBA.com
Goal
Understand the infrastructure and offerings available withinAzure SQL
Database
Learn how to migrate and manage a database withinAzure SQL
Database
Understand the trade-offs and shortcomings of Azure SQL Database
2
3. Grant Fritchey | www.ScaryDBA.com
Get in touch
scarydba.com
grant@scarydba.com
@gfritchey
Grant Fritchey
4. Grant Fritchey | www.ScaryDBA.com
Agenda
» Purpose ofAzure SQL Database
» Infrastructure in Support of the Purpose
» Things it does
» What it Doesn’t Do
» Managing databases through the Portal
» Putting Management Studio toWork
» Migrate a Database
» Backup & Restore
» Monitoring &Tuning
» Maintenance
» PowershellAllTheThings
» Recommendations
4
10. Grant Fritchey | www.ScaryDBA.com 10
Single DB
Max Size:
2gb – 1tb
DTU:
5 - 1750
Concurrent
Requests:
30 – 2,400
Concurrent
Logins:
30 – 2,400
Max
Sessions:
300 –
32,000
11. Grant Fritchey | www.ScaryDBA.com 11
Elastic Pools (eDTU)
Max Size:
2gb –
500gb
DTU:
5 - 1000
Concurrent
Requests:
200 – 2,400
Max
Sessions:
2,400 –
32,000
eDTU
Range Per
Pool:
100 – 1,500
12. Grant Fritchey | www.ScaryDBA.com 12
T-SQL RDBMS SSMS
VS PowerShell
Most things
database
related
13. Grant Fritchey | www.ScaryDBA.com
Partial Support (Dec 2014)
CREATE DATABASE
CREATE FUNCTION
KILL
CREATE LOGIN
CREATE PROCEDURE
CREATETABLE
CREATE USER
CREATEVIEW
13
14. Grant Fritchey | www.ScaryDBA.com
Unsupported Features
Server level ANYTHING
Cross databaseANYTHING
Database Mail
Distributed Transactions
HA/DR Processes
SQL Agent
Linked Servers
Trace/Profiler
Traceflags
14
Complete list available at: http://bit.ly/1OX3Kss
22. Grant Fritchey | www.ScaryDBA.com 22
Restore
Basic Any point in
last 7 days
Standard 14 days
Premium 35 days
23. Grant Fritchey | www.ScaryDBA.com 23
DR Basic
Geo-restore, any
Azure Region
Standard
Standard Geo-
Replication, offline
secondary
Premium
Active Geo-
Replication, up to 4
readable secondary
33. Grant Fritchey | www.ScaryDBA.com 33
UseYour MSDNAccount to Play
Understand the SLA
Understand DTU
Learn PowerShell
Continue DB Maintenance
34. Grant Fritchey | www.ScaryDBA.com
Goal
Understand the infrastructure and offerings available withinAzure SQL
Database
Learn how to migrate and manage a database withinAzure SQL
Database
Understand the trade-offs and shortcomings of Azure SQL Database
34
35. Grant Fritchey | www.ScaryDBA.com
Get in touch
scarydba.com
grant@scarydba.com
@gfritchey
Grant Fritchey