Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduktion till Azure SQL Database Robert Folkesson Active Solution.

Similar presentations


Presentation on theme: "Introduktion till Azure SQL Database Robert Folkesson Active Solution."— Presentation transcript:

1 Introduktion till Azure SQL Database Robert Folkesson Active Solution

2 WHY?

3 SQL Database Service A relational database-as-a-service, fully managed by Microsoft. For cloud-designed apps when near-zero administration and enterprise-grade capabilities are key. Perfect for cloud architects and developers looking for programmatic DBA-like functionality.

4 WHY NOT? Not supported in Azure SQL Databases: Full text index SQL Server Agent FILESTREAM, etc - https://msdn.microsoft.com/en-us/library/azure/ee336281.aspx Azure VM + SQL Server Active Directory Data warehouse, full SQL Server 32 cores, 448 GB RAM, 6500 GB SSD, 32 000 IOPS

5 How it works

6 Demo Portalen – SQL Management Studio

7 Point-in-time restore 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 Automated export of logical backups for long-term backup protection Programmatic “oops recovery” of data deletion or alteration Geo- replicated Restore from backup SQL Database Backups sabcp01bl21 Azure Storage sabcp01bl21

8 Available in Basic, Standard and Premium Built on geo-redundant Azure Storage Recover to any Azure region Emergency data recovery when you need it most Geo-restore Geo- replicated SQL Database Backups sabcp01bl21 Azure Storage sabcp01bl21 Restore to any Azure region

9 Opt-in for Standard & Premium databases Creates a stand-by secondary Replicate to pre-paired Azure region Automatic data replication, asynchronous Opt-in via REST API, PowerShell or Azure Portal Microsoft-managed failover Opt-in business continuity for greater geo-redundancies Standard geo-replication Geo- replicated

10 Active geo-replication Self-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 You choose when to failover Mission-critical business continuity on your terms, via programmatic APIs Up to 4 secondaries

11 Auditing Configurable to track & log database activity Dashboard views in the portal for at-a-glance insights Pre-defined Power View reports for deep visual analysis on Audit log data Audit logs reside in your Azure Storage account Available in Basic, Standard, and Premium Gain insight into database events & streamline compliance-related tasks SQL Database Auditing Audit log Applicati on data Azure Storage

12 Demo Point in time restore

13 Migration

14 Web / BusinessBasic / Standard / Premium Machine Compute Writes Reads Memory DB 1 DB 2 DB 3 DB 4 DB 7 DB 5 DB 6 DB 8 DB 9 Machine Compute Writes Reads Memory DB 1 DB 2 DB 3 DB 4 DB 7 DB 5 DB 6 DB 8 DB 9 DB 1 DB 2 DB 3 DB 4 DB 7 DB 5 DB 6 DB 8 DB 9 Noisy neighbor! Bounding boxes eliminates noisy neighbors

15

16 Monitoring % of current Performance Level Utilization 75% Read 50 % Write 50 % CPU 60% Memory Compute Writes Reads Memory DB workload Bounding Box

17

18 BasicStandardPremium Performance Levels (DTU) 5S0: 10 S1: 20 S2: 50 P1: 100 P2: 200 P3: 800 ASDB results16,600 tx/hourS1:,520 tx/minute S1:,940 tx/minute S2: 2,570 tx/minute P1: 105 tx/second P2: 228 tx/second P3: 735 tx/second Maximum DB size2GB250GB500GB Price* per hour (month)$0.0069 (~$5)S0: $0.0208 (~$15) S1: $0.0417 (~$30) S2: $0.1042 (~$75) P1: $0.6458 (~$465) P2: $1.292 (~$930) P3: $5.167 (~$3,720) *Starting November 1 st

19 RESULT CPU Writes Reads CPU Writes Reads SELECT * FROM a JOIN b ON … CPU Writes Reads

20

21

22

23

24 (1) Database (2) Sharding Key... (3) Shard Map Manager (4) Shard (5) Shard Set (6) Sharded Table (7) Reference Table (8) Shardlet Customer IDName 1Alice 2Bob Customer Table Data Center IDDC Name 1Boston 2Miami Data Center Table

25

26 twitter: @rfolkes robert.folkesson@activesolution.se www.robertfolkesson.se Robert Folkesson


Download ppt "Introduktion till Azure SQL Database Robert Folkesson Active Solution."

Similar presentations


Ads by Google