2. HELLO MY NAME IS STEVE
Managing Director of StratosTechnology Partners
SharePoint Consultant
Microsoft MVP for Office Servers and Services
Based in Christchurch, New Zealand
Twitter: @nztechtweet
Email: steve@stp.co.nz
3. MY SQL JOURNEY
• Digital EquipmentCorporationVAX
• VMS Operating System
• Rdb relational database
• Terrible performance
• Extremely expensive
• Green screen (or XTerm)
Oracle said “even if Rdb were
free, you couldn’t afford it”.
They were probably right.
4. CANWE DOTHIS BETTER?
• 1 CPU – Pentium 90 with 2 x 52MB IDE (IMP52) drives
mirrored
• Performance was almost 10 times theVAX on the same task
• Price was nearly 25 times less!
• I found a bug and Microsoft released a hot fix
• The solution was affordable for other orgs with smaller
budgets
• The same core software is still in use today, more than 25
years later running on SQL 2016
FUN FACT: DECVMS included LAN
Manager, the forerunner of Windows
NT’s networking
5. SLIDE FOR MARTIN CATHERALL
Steve, can you tell
me more about
SharePoint?
7. WHAT IS AZURE SQL?
Managed Service version of SQLserver (PaaS model)
Available in two pricing models
Throughput based model (DTU – DatabaseThroughput Units)
CPU based model (preview)
Infrastructure as a Service (IaaS)
SQL Server running on anAzureVirtual Machine
Essential the same functionality as on-premises but hosted in Azure data centres
Docker -> https://azure.microsoft.com/en-us/resources/videos/connect-2017-use-sql-
server-2017-in-docker-containers-for-your-ci-cd-process/
10. DATABASETHROUGHPUT UNIT MODEL (DTU)
Basic Standard Premium
Target workload Development and production Development and production Development and production
Uptime SLA 99.99% 99.99% 99.99%
Backup retention 7 days 35 days 35 days
CPU Low Low, Medium, High Medium, High
IO throughput (approximate) 2.5 IOPS per DTU 2.5 IOPS per DTU 48 IOPS per DTU
IO latency (approximate) 5 ms (read), 10 ms (write) 5 ms (read), 10 ms (write) 2 ms (read/write)
Columnstore indexing N/A S3 and above Supported
In-memory OLTP N/A N/A Supported
http://dtucalculator.azurewebsites.net/
11. DTU STORAGE
Basic Standard Premium
Maximum storage size* 2 GB 1TB 4TB
Maximum DTUs 5 3000 4000
Basic Standard Premium
Maximum storage size per database* 2 GB 1TB 1TB
Maximum storage size per pool* 156 GB 4TB 4TB
Maximum eDTUs per database 5 3000 4000
Maximum eDTUs per pool 1600 3000 4000
Maximum number of databases per pool 500 500 100
Single Database
Elastic Storage Pools
12. VCORE MODEL (PREVIEW)
In the vCore-based purchasing model (preview) customers pay for:
Compute (service tier + number of vCores + generation of hardware)*
Type and amount of data and log storage
Number of IOs**
Backup storage (RA-GRS)**
* In the initial public preview, the Gen 4 Logical CPUs are based on Intel E5-2673
v3 (Haswell) 2.4-GHz processors
** During preview, 7 days of backups and IOs are free
13. VCORE PERFORMANCE
General Purpose Business Critical
Best for Most business workloads. Offers budget
oriented balanced and scalable compute and
storage options.
Business applications with high IO requirements.
Offers highest resilience to failures using several
isolated replicas.
Compute 1 to 80 vCore, Generation 4 andGeneration 5 1 to 80 vCore, Generation 4 andGeneration 5
Memory 7 GB per core 7 GB per core
Storage Premium remote storage, 5 GB – 4TB Local SSD storage, 5 GB – 4TB
IO throughput (approximate) 500 IOPS per vCore with 7000 maximum IOPS 5000 IOPS per core with 200000 maximum IOPS
Availability 1 replica, no read-scale 3 replicas, 1 read-scale, zone redundant HA
Backups RA-GRS, 7-35 days (7 days by default) RA-GRS, 7-35 days (7 days by default)*
In-Memory N/A Supported
14. PAAS OR IAAS?
Azure SQL
New cloud apps
Need rapid deployment
Need built in HA and DR
Don’t want to manage a server
Databases size up to 4TB
SQL Server on AzureVirtual Machine
Existing Applications
Minimal change to applications
You want to manage, patch and
configure
Need full administrative rights
Database size up to 64TB
15. SECURITY
Data Protection
Encryption
Data Discovery and Classification
Access Control
Firewall
Authentication (SQL andAAD)
Authorisation (roles)
Row-level security
Dynamic Data Masking
Proactive Monitoring
Auditing
Threat Protection
Compliance
SQL compliance certifications
Security Management
VulnerabilityAssessment
19. TRANSACTIONAL REPLICATION
If you want to minimise downtime use transactional replication from your existing
on premises SQL server to Azure SQL
Publish your source database
Subscription on the destination database
Everything in the schema appears in the Azure SQL database
You can replicate a subset of objects or everything
Once all data has replicated, stop replication and switch your application to the
new datasource
20. MIGRATINGTO A MANAGED INSTANCE
• Restore of system databases is not supported.To migrate instance level objects (stored in
master or msdb databases), we recommend to script them out and runT-SQL scripts on the
destination instance.
• You can also use BACPAC to copy your source database and import into Azure SQL databases
21. BACKUP
Point in time backups every 5-10 mins
Backup retention:
Basic service tier – 1 week
Standard service tier – 5 weeks
Advanced service tier – 5 weeks
Long term retention
Up to 10 years
Weekly full backups copied to long term storage
Backups are encrypted ifTDE is enabled on the database
23. HOW MUCH DOES IT COST?
https://azure.microsoft.com/en-us/pricing/details/sql-database/managed/
24. BURNING QUESTIONS?
Don’t ask me, I’m an MVP for SharePoint ;)
See people like Simon,Warwick, Shaun and Hamish.These guys live and breath this stuff!