Miss a User Group meeting? Forget something that you learned? Want to see content from a User Group not in your area? Want to share with a buddy? We.

Slides:



Advertisements
Similar presentations
Gold Sponsors Bronze Sponsors Silver Sponsors Taking SharePoint to the Cloud Aaron Saikovski Readify – Software Solution Specialist.
Advertisements

Database Throughput Unit – DTU Monitoring % of current Performance Level Utilization 75% Read 50% Write CPU 60% Memory (coming) Compute Writes.
System Center 2012 R2 Overview
Ken Casada Technical Evangelist Microsoft Switzerland What’s new in Microsoft Azure.
INTRODUCTION TO CLOUD COMPUTING CS 595 LECTURE 6 2/13/2015.
Amazon RDS (MySQL and Oracle) and SQL Azure Emil Tabakov Telerik Software Academy academy.telerik.com.
GETTING STARTED WITH AZURE SQL DB Warner Chaves SQL MCM / MVP SQLTurbo.com Pythian.com.
“It’s going to take a month to get a proof of concept going.” “I know VMM, but don’t know how it works with SPF and the Portal” “I know Azure, but.
MyCloudIT Removes the Complexity of Moving Cloud Customers’ Entire IT Infrastructures to Microsoft Azure – Including the Desktop MICROSOFT AZURE ISV: MYCLOUDIT.
Microsoft SQL Server x 46% 900+ For Hosting Service Providers
Basic Standard Premium Basic Premium Standard Scale out/in Scale up/down.
An enterprise-grade database-as-a-service platform with easily accessible tier-1 capabilities.
 Built for SaaS and enterprise applications  Elastic database model for unpredictable workloads  99.99% availability with global reach  Geo-replication.
MICROSOFT CONFIDENTIAL Sept 2009 | Page 1 | BDM Presentation.
Why consider the cloud? Cloud innovation presents challenges for IT.
9 TIME IT CAPACITY Actual Load Allocated IT-capacities Too Much Power Not Enough Power Load Forecast.
Database Design Table design Index design Query design Transaction design Capacity Size limits Partitioning (shard) Latency Redundancy Replica overhead.
Introduction To Windows Azure Cloud
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Migrating Business Apps to Windows Azure Marc Müller Principal Consultant, 4tecture GmbH
Virtual techdays INDIA │ august 2010 SQL Azure – Tips and Tricks Ramaprasanna Chellamuthu │ Developer Evangelist, Microsoft.
Windows Azure: Microsoft’s Cloud Platform By Shahed Chowdhuri.
Communicate with All Workers Involved in the Process of Delivering High-Quality Health Care by Choosing Dossier365 on the Azure Platform MICROSOFT AZURE.
Introduktion till Azure SQL Database Robert Folkesson Active Solution.
Website s Azure Websites is an enterprise class cloud solution for developing, testing and running web apps. Azure Websites allows you to focus on what.
Techcello Provides SaaS Lifecycle Management Solution to “SaaS-ify” Your Application Efficiently on the Powerful Microsoft Azure Cloud Platform MICROSOFT.
High Friction & Control Resources Dedicated Shared Low 100% of API, Virtualized Roll-your-own HA/DR/scale SQL Server in IaaS Virtualized Machine SQL.
COS310 Replica 1 Replica 2 Replica 3 DB Single Logical Database Multiple Physical Replicas.
Windows Azure for scalable compute and storage SQL Azure for relational storage for the cloud AppFabric infrastructure to connect the cloud.
3 TIME IT CAPACITY Actual Load Allocated IT-capacities Too Much Power Not Enough Power Load Forecast.
Azure. SQL, SharePoint, BizTalk Images Distributed Cache Queue Geo Replication Read-Only Secondary Storage Delete Disks Large Memory SKU Tag Expressions.
Text Microsoft to Or Tweet #uktechdays Questions?
COS308. SQL Azure Database DEMO.
MidVision Enables Clients to Rent IBM WebSphere for Development, Test, and Peak Production Workloads in the Cloud on Microsoft Azure MICROSOFT AZURE ISV.
3 TIME IT CAPACITY Actual Load Allocated IT-capacities Too Much Power Not Enough Power Load Forecast.
Scalability == Capacity * Density.
Enabling the Cloud OS Today  New high-density Web Sites with elastic cloud scaling and complete dev-ops experiences  New rich IaaS experience for self-service.
Cloud Cellar Offers Users a Cost-Effective, Turnkey Backup and Restore Solution for Their Applications and Data Hosted in the Microsoft Azure Cloud MICROSOFT.
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
Azure SQL Database Lori Clark SQL Saturday 10/17/2015.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
Scaling out and in with Azure SQL DB Elastic Scale DBA-203 Warner Chaves, MCM/MVP, SQLTurbo.com, Pythian.com.
SQL Server as a Cloud Service November 11th 2015 Warner Chaves SQL MVP/MCM.
ELASTIC DATABASE CAPABILITIES WITH AZURE SQL DB Silvia Doomra Azure SQL DB Program Management.
Microsoft Azure SQL Database – SQL Azure : The Good, The Bad and the Ugly. Pini Krisher DBA TL at etoro
SQL Server as a Cloud Service April 15th 2016 Warner Chaves Data Platform MVP/SQL Server MCM.
DreamFactory for Microsoft Azure Is an Open Source REST API Platform That Enables Mobilization of Data in Minutes across Frameworks and Storage Methods.
Microsoft Dynamics NAV Dynamics NAV 2016 one Azure SQL Dmitry Chadayev Microsoft.
Microsoft Dynamics NAV Microsoft Dynamics NAV managed service for partners, under the hood Dmitry Chadayev Corporate Vice President, Microsoft.
Azure.
Scaling Out Microsoft Azure SQL Databases
Managing a database environment in the cloud
Use relational database as a service
State of Azure SQL Database
Windows Azure SQL Federation
Scaling Out Microsoft Azure SQL Databases
Lead SQL BankofAmerica Blog: SQLHarry.com
Elastic database patterns for SaaS applications in Azure
Couchbase Server is a NoSQL Database with a SQL-Based Query Language
Design and Implement Cloud Data Platform Solutions
04 – Azure SQL Database Bret Stateham | Senior Technical Evangelist​
Azure.
02 | Design and implement database
Elastic Database, going to the infinity *
SQL On Azure Parikshit Savjani, Sr. Premier Field Engineer.
Why? (or … am I really in the right track?)
Elastic Database Capabilities with Azure SQL DB
Request Units & Billing
The Database World of Azure
Presentation transcript:

Miss a User Group meeting? Forget something that you learned? Want to see content from a User Group not in your area? Want to share with a buddy? We know you cannot make it to every User Group meeting, that is why we post them online for you! We now have over 425 presentations online That is over 100 GB of video New Content added all the time! For new content All the topics you care about Including: Agile C# Entity Framework HTML5 MVC Silverlight XAML jQuery and Much More! Presentations from the thought leaders on the topic.

Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure (as a Service) Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime Managed by vendor You manage Platform (as a Service) Managed by vendor You manage Storage Servers Networking O/S Middleware Virtualization Applications Runtime Data Software (as a Service) Managed by vendor Storage Servers Networking O/S Middleware Virtualization Applications Runtime Data

sql-server-iaas/

an-equal-cost-comparison.aspx

Built for SaaS and Enterprise applications Predictable performance & Pricing Elastic database pool for unpredictable SaaS workloads 99.99% availability built-in Geo-replication and restore services for data protection Secure and compliant for your sensitive data Fully compatible with SQL Server 2014 databases Fully managed SQL database service so you can focus on your business

60k / every week A single customer creates DBs 350 M / everyday Logins 1.4 M / as of today Database in use 20 M / per day Database hours 133 countries Use of Azure SQL DB 114 k Single customer application with DB

Database Service Tiers

BasicStandardPremium Database Throughput Units (DTUs) Maximum Database Size2 GB250 GB500 GB – 1 TB Point-in-time Restore (PITR) Up to millisecond within last 7 days Up to millisecond within last 14 days Up to millisecond within last 35 days Disaster RecoveryGeo-Restore, restore to any Azure region Standard geo-replication, 1 offline secondary Active geo-replication, up to 4 online readable secondaries Performance ObjectivesTransaction rate per hourTransaction rate per minute Transaction rate per second

Service TierDTUMAX DB Size Max Concurrent Requests Max Concurrent Logins Max Sessions Benchmark Transaction Rate Predictability Est. Price per Month Basic52 GB ,600 t/p hourGood$5 Standard/S GB t/p minuteBetter$15 Standard/S GB t/p minuteBetter$30 Standard/S GB120 1,2002,570 t/p minuteBetter$75 Standard/S GB200 2,4005,100 t/p minuteBetter$150 Premium/P GB200 2, t/p secondBest$465 Premium/P GB400 4, t/p secondBest$930 Premium/P6 (formerly P3) 1, GB1,600 19, t/p secondBest$3,720 Premium/P111,7501 TBBest$7,001

Compute Writes Reads Memory

B S0 S1 S2 S3 P2 P3 P1

SQL DB V12

Geo-Restore Geo-Redundant Backups RPO < 1 hour Recovery Time Minutes to Hours Geo-Replication Asynchronous Replication RPO < 5 seconds Recovery Time < 30 seconds Point in time restore Continuous backup Restore to any- point Recovery Time Minutes to Hours Accidental Database deletion Tail-end backup Restore to point of deletion Recovery Time Minutes to Hours

Service TierDTUMAX DB Size Max Concurrent Requests Max Concurrent Logins Max Sessions Benchmark Transaction Rate Predictability Est. Price per Month Basic52 GB ,600 t/p hourGood$5 Standard/S GB t/p minuteBetter$15 Standard/S GB t/p minuteBetter$30 Standard/S GB120 1,2002,570 t/p minuteBetter$75 Standard/S GB200 2,4005,100 t/p minuteBetter$150 Premium/P GB200 2, t/p secondBest$465 Premium/P GB400 4, t/p secondBest$930 Premium/P6 (formerly P3) 1, GB1,600 19, t/p secondBest$3,720

Cust. #n Shard #2 Shard #n Cust. #1 Cust. #2 Root Fabrikam Invoice Order Inventory Cust [1,10] Cust [11,20] Root

Vertical: Scale-up vs. scale-down Change service-tiers for a given database as capacity needs fluctuate Horizontal: Scale-out vs. scale-in Add or remove databases as more or less capacity is needed Standard Premium Standard Premium Standard Scale out/in Scale up/down

100 S2 for 5000 DTUs (max size 25TB) -> ($90k / 12 months) 25 P2 for 5000 DTUs (max size 12.5TB) -> ($279k / 12 months) ** * DTU tx as defined in the Azure SQL Database BenchmarkAzure SQL Database Benchmark ** with many additional features

JanMarOct Feb ….. App writes reads Nov App #1#3#N #2 ….. reads/writes.. Time Scale

Single tenant per database Each tenant’s data is stored in a different database Better isolation of tenants as compared to multi-tenant model Multiple tenants per database Multiple tenants share the same database Less isolation of tenants as compared to single tenant model Typically more cost-effective than the single tenant model Hybrid model Some tenants share databases, others get their own database E.g., premium or paying customers get their own databases, while free tier customers share databases Temporal model Sharding based on date/time Most recent shard is constantly loaded with newly arriving data New shards added when current most recent shard nears capacity See guidance from the Azure CAT team on sharding: MSDN: DB 1 Customer 1 Customer 2 Customer 3 DB 2 Customer 4 Customer 5 Customer 6 DB 1 Customer 1 DB 2 Customer 2

Grow/shrink capacity Cross-Shard Capabilities Elastic Scale app shard 1 shard i Elastic Scale Manage- ability Admin/ DevOps Admin/ DevOps Application Developer …… shard j shard n … Shard-local operations Client library Cross- shard extensions Cross-shard operations Client library Shard-local operations Cross-shard operations Note that your application needs to be shardable to benefit from Elastic Scale. If the application does not partition well, Elastic Scale (or any other sharding approach) is likely not going to be a good fit.

Azure SQL DB Shard Set DB 1 [0-100)... DB 2 [ ) DB 3 [ ) DB 4 [ ) DB 5 [ ) DB 6 [ ) DB n [n-n+100)

Shard map management Define groups of shards for your application Manage mapping of routing keys to shards Data dependent routing (DDR) Route incoming requests to the correct shard, e.g., given a customer ID Ensure correct routing as tenants move Cache routing information for efficiency Multi-shard query (MSQ) Interactive processing across several shards Same statement executed on all shards with UNION all semantics Split/Merge (SM) Grow or shrink capacity by adding or removing databases Re-balance data among shards Isolate hotspots Shard Elasticity (SE) Dynamically adjust scale factor of database Trigger adjustment through policies Client.NET APIs Management Services

Azure SQL DB DB 1 [0-100)... DB 2 [ ) DB 3 [ ) DB 4 [ ) DB 5 [ ) DB 6 [ ) DB n [n-n+100)

Application Developer Client App DDR APIs ( ) SELECT * FROM customers WHERE customer ID = 104 DB 1 [0-100)... DB 2 [ ) DB 3 [ ) DB 4 [ ) DB 5 [ ) DB 6 [ ) DB n [n-n+100)

Application Developer Client App DDR APIs ( ) Shard Map Manager DB 1 [0-100) GSM Cache LSM

Application Developer Client App DDR APIs Shard Map Manager DB 2 [100, 200) GSM Cache LSM ShardMap.OpenConnectionForKey( 104 /* Tenant ID */, “…”/* Credentials Only */, ConnectionOptions.Validate /* Validate */ )); [100, 200): DB2 spValidate

Application Developer Client App MSQ APIs ( ) SELECT count(*) FROM customers UNION ALL result set Shard Map Manager DB 1 [0-100)... DB 2 [ ) DB 3 [ ) DB 4 [ ) DB 5 [ ) DB 6 [ ) DB n [n-n+100)

using (MultiShardConnection conn = new MultiShardConnection( m_shardMap.GetShards(), MultiShardTestUtils.GetTestSqlCredential())) { using (MultiShardCommand cmd = conn.CreateCommand()) { cmd.CommandText = "SELECT dbNameField, TestIntField, TestBigIntField FROM ShardedTable"; cmd.CommandType = CommandType.Text; cmd.ExecutionPolicy = MultiShardExecutionPolicy.PartialResults; cmd.ExecutionOptions = MultiShardExecutionOptions.IncludeShardNameColumn; using (MultiShardDataReader sdr = cmd.ExecuteReader()) { while (sdr.Read()) { var dbNameField = sdr.GetString(0); var testIntField = sdr.GetFieldValue (1); var testBigIntField = sdr.GetFieldValue (2); string shardIdPseudoColumn = sdr.GetFieldValue (3); } “Best Effort” (off by default) Where do I live?

Admin/ DevOps Split/Merge Customer Hosted Split/Merge Customer Hosted Split Merge DB 1 [0-100)... DB 2 [ ) DB 3 [ ) DB 4 [ ) DB 5 [ ) DB 6 [ ) DB n [n-n+100) DB 5.1 [ ) DB 5.2 [ ) DB 2.1 [ )

Admin/ DevOps Azure Automation (SE) Vertical scaling DB 1 [0-100)... DB 2 [ ) DB 3 [ ) DB 4 [ ) DB 5 [ ) DB 6 [ ) DB n [n-n+100) P3P1S2 S0 time Horizontal scaling

Shard1 [-inf, 0) SMM Shard Map Shard2 [1,6) Fed Root Federation Shard1 [-inf, 0) Shard2 [2,inf) Member1 [-inf, 2) Member2 [2,inf) 1) Migrate Fed Root to SMM 2) Develop POC against using SMM + APIs against Fed members 3) Drop Fed, Keep Existing