GETTING STARTED WITH AZURE SQL DB Warner Chaves SQL MCM / MVP SQLTurbo.com Pythian.com
Bio SQL Server DBA for 10 years. Previously an L3 DBA at HP, now a Principal Consultant at Pythian in Ottawa Ontario. SQL Server MCM and MVP. Blog: sqlturbo.com Company site: pythian.com
Agenda GOAL: provide an introduction and overview of the Azure SQL Database service. We’ll cover: How to sign up. Navigating the portal. The different service levels. New features coming cloud first.
Signing up! Go here: You’ll need to put in your info but you won’t get charged until after the trial month if you don’t cancel.
What is it? The SQL database as a service offering on Azure (OLTP). Fully managed by MS as part of Azure. It’s not a full instance. Many features that you’re used to don’t exist because it’s fully managed. Used to be 2 size based tiers, now it’s 3 Service Level based tiers.
Before and After BASIC S0S1S2S3 P1P2P3 Before: Web and Business. Based purely on size. Now: 3 service tiers and sub tiers.
Basic Size Limit: 2GB. Point-in-time Restore: 7 days. DR: Geo-Restore to another Azure region. Auditing allowed. Performance: 5 DTU.
Standard Size Limit: 250GB. Point-in-time Restore: 14 days. DR: Geo-Restore, Standard Geo-replication. Auditing allowed. Performance: DTU. S010 DTU S120 DTU S250 DTU S3100 DTU
Premium Size Limit: 500GB. Point-in-time Restore: 35 days. DR: Geo-Restore, Standard or Active Geo-replication. Partitioning. Columnstores. Auditing allowed. Performance: DTU. P1100 DTU P2200 DTU P31000 DTU
Standard vs Active Geo-Replication Standard RTO < 2h RPO < 30m Active RTO < 1h RPO < 5m Active provides failover control. Active provides up to 4 read-only replicas.
Official Pricing List For the official published price please check: database/ database/ The price can change depending on your specific agreements with Microsoft.
Demo: Walkthrough Azure Portal and SSMS experience
Demo: Point-in-Time Restore
DTU? Database throughput unit. A comparison unit of integrated database performance. Blend of CPU + Data IO + Log IO + Memory. Based on an internal OLTP benchmark from the Azure team.
Tier DTUs TierDTUMax ThreadsMax Sessions Benchmark Throughput Basic trx/hour S trx/min S trx/min S trx/min P trx/sec P trx/sec P trx/sec
Demo: Basic vs S1 comparison
Cloud-first MS is now deploying features on Azure SQL that are NOT in the “box” version of SQL Server: Dynamic Data Masking. Row-Level Security. ALTER COLUMN ONLINE. TRUNCATE PARTITION. Upcoming: SQL Query Store.
Demo: Dynamic Data Masking
QA?