Presentation is loading. Please wait.

Presentation is loading. Please wait.

State of Azure SQL Database

Similar presentations


Presentation on theme: "State of Azure SQL Database"— Presentation transcript:

1 State of Azure SQL Database
Marco Parenzan @marco_parenzan

2 Sponsors

3 Organizers getlatestversion.it

4 Marco Parenzan | @marco_parenzan
Community Lead 1nn0va – Pordenone Microsoft Azure MVP 2016 Microsoft Azure Trainer Curious about Retrogaming and IoT

5 Agenda Scenario 1 - IoT Scenario 2 – On Line Transactions
Fundamentals JSON Support In-Memory OLTP in Azure SQL Database Temporal Tables Row Level Security Scenario 2 – On Line Transactions Dynamic Data Masking 10 years backup retention Scenario 3 - CQRS GEO replication

6 SCENARIO 1 - IoT

7 DEVICE DATA INGESTION #device 1 SQL Azure (Store) Event Hub (Ingest)
Stream Analytics (BL) #device n

8 DEVICE DATA INGESTION #device 1 SQL Azure (BL+Store)
IoT Hub (Ingest + Device Mgmt) Azure Function (bridge) #device n

9 L FUNDAMENTALS

10 Azure SQL Database Fully managed SQL database service that lets you focus on your business Database provisioning on-demand Predictable performance for enterprise workloads Elastic database pools for unpredictable SaaS workloads 99.99% availability SLA Geo-replication and restore services for data protection Secure and compliant to protect sensitive data Compatible with SQL Server 2016 databases

11 Build multitenant apps with isolation and efficiency
Multitenant efficiency Maximize efficiency with elastic database pools (see Emanuele Zanchettin session) Manage and monitor growth without the administrative overhead of managing each database

12 Predictable performance
Build 2015 12/26/2017 4:45 AM Predictable performance Isolated databases are allocated isolated resources Basic, Standard, and Premium tiers provide increasing performance levels Scale up/down in response to actual or predicted change in workload Databases remain online while scaling Hourly billing at highest rate that hour P11 P6 P4 P2 P1 S3 S2 S1 S0 B 5 10 20 50 100 125 250 500 1000 1750 DTUs © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 SQL Database service tiers (single DB model)
Built For Available SLA Max Storage Business Continuity Security Performance Objectives Database Transaction Units (DTUs) Available Tiers ($/Month) and GA Price Point-in-time Restore (“oops” Recovery) BASIC PREMIUM STANDARD P1 S0 Light transactional workloads Medium transactional workloads Heavy Transactional Workloads 99.99%* 2 GB 250 GB 500 GB Any point within 7 days Any point within 14 days Any point within 35 days Geo-restore, Active geo-replication, up to four readable secondary backups Always Encrypted, Transparent Data Encryption, Azure Active Directory authentication, Auditing, row-level security, dynamic data masking Transactions per hour Transactions per minute Transactions per second 5 $4.99 S1 S2 S3 P2 P4 P6 P11 10 20 50 100 $15 $30 $75 $150 125 250 500 1,000 1,750 $465 $930 $1,860 $3,720 $7,001 1 TB

14 HIPAA business associate agreement (BAA)
Compliance ISO/IEC 27001 FedRAMP/FISMA PCI DSS Level 1 SOC 1 Type 2 and SOC 2 Type 2 HIPAA business associate agreement (BAA) EU Model Clauses

15 JSON SUPPORT

16 Built-in functions for JSON
ISJSON - valid JSON ? JSON_VALUE extracts scalar value JSON_QUERY extracts an object or array

17 OPENJSON

18 FOR JSON In PATH mode dot syntax - 'Item.Price' – formats nested output.

19 IN MEMORY DATABASE

20 In-Memory technology for real-time performance
Expedite query and transaction processing speed AZURE SQL DATABASE In-Memory Analytics In-Memory OLTP Breakthrough Performance Real-time Operational Analytics 100x performance gains Up to 30x faster transactions Real-time business insight based on operational data

21 TEMPORAL TABLES

22 Temporal Tables Automatically keeps track of changed data
Available in SQL Azure Transparent to existing applications (if needed)

23 Temporal Queries AS OF <date_time>
FROM <start_date_time> TO <end_date_time> BETWEEN <start_date_time> AND <end_date_time> CONTAINED IN (<start_date_time> , <end_date_time>) ALL

24 Temporal Tables Some limitations compared to “classic” tables
No TRUNCATE TABLE support INSTEAD OF triggers not supported Temporal tables *can* be ALTERed A few limitations: Cannot add a computed columns Cannot add an Identity column Versioning can be turned on/off as we wish There is *no* automatic cleanup of versioning Stretch Database offer “a sort of” automatic archival (but still no cleaning!) Tips:

25 ROW LEVEL SECURITY

26 Row-level security Protect data privacy by ensuring the right access across rows Give users access only the rows applicable to their role Simplify the design and coding of security in your apps Administer with SQL Server Management Studio or SQL Server Data Tools

27 DYNAMIC DATA MASKING

28 Dynamic data masking Limit the exposure of sensitive data by hiding it from users Auto-discovery of potentially sensitive data to mask Configurable masking policy from the Azure portal or via DDL in the server On-the-fly obfuscation of data in query results Flexibility to define a set of privileged users for un-masked data access

29 GEO REPLICATION

30 Point-in-time restore
Programmatic “oops recovery” of data deletion or alteration Auto backups, transactional logs every 5 min Backups in Azure Storage and geo- replicated Creates a side-by-side copy, non- disruptive REST API, PowerShell or Azure Portal Backups retention policy: Basic, up to 7 days Standard, up to 14 days Premium, up to 35 days 10 years!!!! Automated export of logical backups for long-term backup protection Azure Storage sabcp01bl21 SQL Database Backups sabcp01bl21 Geo- replicated Restore from backup

31 Active geo-replication
Mission-critical businessSelf-service activation in Premium Create up to 4 readable secondaries Replicate to any Azure region Automatic data replication, asynchronous REST API, PowerShell or Azure Portal RTO<1h, RPO<5m, you choose when to failover continuity on your terms, via programmatic APIs

32 Active geo-replication
Mission critical business continuity Service levels Basic, Standard and Premium Self Service Readable Secondaries Up to 4 Regions available Any Azure region Replication Automatic, Asynchronous Manageability tools REST API, PowerShell or Azure Portal Recovery Time Objective (RTO) <1 hour Recovery Point Objective <5 mins Failover On Demand Up to 4 secondaries

33 Conclusions

34 Conclusions Almost complete alignment with IaaS/On Premise SQL Server Think PaaS Think about alternatives to Management System

35 #sqlsatParma #sqlsat566 Thanks! Q&A


Download ppt "State of Azure SQL Database"

Similar presentations


Ads by Google