Windows Azure SQL Federation

Slides:



Advertisements
Similar presentations
PLATFORM FOR BIG DATA, NOSQL AND RELATIONAL DATA. WHAT MAKES SENSE FOR ME? (+AZURE)
Advertisements

Big Data Working with Terabytes in SQL Server Andrew Novick
Amazon RDS (MySQL and Oracle) and SQL Azure Emil Tabakov Telerik Software Academy academy.telerik.com.
Business Continuity and DR, A Practical Implementation Mich Talebzadeh, Consultant, Deutsche Bank
Wade Wegner Windows Azure Technical Evangelist Microsoft Corporation Windows Azure AppFabric Caching.
 Built for SaaS and enterprise applications  Elastic database model for unpredictable workloads  99.99% availability with global reach  Geo-replication.
Running Your Database in the Cloud Eran Levin VP R&D - Xeround.
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
Distributed Data Stores – Facebook Presented by Ben Gooding University of Arkansas – April 21, 2015.
Windows Azure SQL Database and Storage Name Title Organization.
Road to the Cloud The Economics of Cloud Computing.
Databases with Scalable capabilities Presented by Mike Trischetta.
Database Design Table design Index design Query design Transaction design Capacity Size limits Partitioning (shard) Latency Redundancy Replica overhead.
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Windows Azure SQL Federation Name Title Microsoft Corporation.
Windows Azure SQL Database Deep Dive Chris Auld CTO – Intergen AZR432.
Scott Klein Technical Evangelist. Scott Klein.
Copyright © 2006, GemStone Systems Inc. All Rights Reserved. Increasing computation throughput with Grid Data Caching Jags Ramnarayan Chief Architect GemStone.
SQL Database Federations Tips and Tricks Scott Klein Microsoft Corporation.
Mick Badran Using Microsoft Service Fabric to build your next Solution with zero downtime – Lvl 300 CLD32 5.
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
Cloud Computing from a Developer’s Perspective Shlomo Swidler CTO & Founder mydrifts.com 25 January 2009.
SQL Server 2016 Security Features Marek Chmel Microsoft MVP: Data Platform Microsoft MCT: Regional Lead MCSE: Data Platform Certified Ethical Hacker.
ELASTIC DATABASE CAPABILITIES WITH AZURE SQL DB Silvia Doomra Azure SQL DB Program Management.
Aaron Stanley King. What is SQL Azure? “SQL Azure is a scalable and cost-effective on- demand data storage and query processing service. SQL Azure is.
Oracle Database Native Sharding: a customer perspective ©2016 PayPal Inc. Confidential and proprietary. John Kanagaraj, Sr. Member of Technical Staff,
Scaling Out Microsoft Azure SQL Databases
Use Cloud Computing to Achieve Small Enterprise Savings
Understanding and Improving Server Performance
How to tune your applications before moving your database to Microsoft Azure SQL Database (MASD) OK, you've jumped into your Azure journey by creating.
Data Platform and Analytics Foundational Training
Lecture 18: Scalable Web Services
Windows Azure SQL Database - Advance
Secrets to Fast, Easy High Availability for SQL Server in AWS
SQL 2016 new Hosting Offers Secure Database Hybrid HyperScale
SQL Database Federations Tips and Tricks
Elastic database patterns for SaaS applications in Azure
Maximum Availability Architecture Enterprise Technology Centre.
Azure Cosmos DB Venitta J Microsoft Connect /6/2018 4:36 PM
NOSQL.
Scaling In e Scaling Out através do elastic pool
GlassFish in the Real World
Azure SQL Database – Scaling in and Scaling out with elastic pool
04 – Azure SQL Database Bret Stateham | Senior Technical Evangelist​
Bridging the Gap From On-Premises to the Cloud
AWS. Introduction AWS launched in 2006 from the internal infrastructure that Amazon.com built to handle its online retail operations. AWS was one of the.
Cloud Database Based on SQL Server 2012 Technologies
Cloud Scalability Helps Marketing Campaign Solution Handle Demands of Holiday Season MINI-CASE STUDY “Microsoft Azure has allowed us to quickly scale our.
Azure SQL Database – Scaling in and Scaling out with elastic pool
What is the Azure SQL Datawarehouse?
Microsoft Azure Fundamentals: Data Understanding Microsoft Azure SQL
1 Demand of your DB is changing Presented By: Ashwani Kumar
Arrested by the CAP Handling Data in Distributed Systems
Azure the Power, Scale Behind Pre-Roll Ad SaaS Solution That Offers Real-Time Ad Decision Logic “With AdQ built upon the Microsoft Azure cloud platform,
Modernizing your enterprise with hybrid it
Microsoft Azure Batch Makes Scalable Video Encoding in the Cloud Available at Right Price MINI-CASE STUDY "Working with Azure Batch means that we can encode.
Outline Virtualization Cloud Computing Microsoft Azure Platform
Go Large with SQL Azure Federations Do you want shards with that?
Mobile Services and Cloud Scalability Enable Connections Between Brands and Customers MINI-CASE STUDY “It became clear that Microsoft Azure was the way.
AWS Cloud Computing Masaki.
Quasardb Is a Fast, Reliable, and Highly Scalable Application Database, Built on Microsoft Azure and Designed Not to Buckle Under Demand MICROSOFT AZURE.
Taming the Big Data Fire Hose
Targeting Wait Statistics with Extended Events
Azure Cosmos DB with SQL API .Net SDK
Software Development at ORTEC
Building Scalable and Reliable Applications with Windows Azure
04 | Performance and the Premium SKU
Building global and highly-available services using Windows Azure
Advanced Database Topics
The Database World of Azure
Presentation transcript:

Windows Azure SQL Federation Nitin Chandra Salgar Database Consultant Redbox

Agenda Scalability SQL Federation Federation Architecture Management Best Practices

Scalability

Database Scalability Scale-up Scale-Out Single database that houses all the data of an application Hard to handle peak load OK with exponential incremental cost Scale-Out Multiple databases spread over multiple independent nodes Cost effective, commodity class hardware Typical patterns: Sharding and Horizontal Partitioning

Scalability Model For The Cloud Cloud Applications Require Scale Beyond Scale-Up Demand the Best Economics Best Price/Performance Elasticity + Pay-as-you-go

SQL Federation

SQL Federation Database Elasticity Extend the scalability model to the database tier Add and remove SQL Database nodes via database partitioning (Federations) Scale on demand to your traffic without any downtime Larger User Traffic SQL Database Front Tier Front Tier Middle User Traffic Single Database LB Front Tier Middle Tier SQL Azure

Why Use SQL Federation? Database Scalability Create an elastic database tier that can expand and contract with your applications workload without downtime Gain practically unlimited scale by harnessing 100s of SQL Database nodes SQL Database

Why Use SQL Federation? Database Multi-tenancy Build Multi-tenant Solutions Tenant Management with Federations Multiple-tenants per database Single tenant per database Multiple databases per tenant

Who Are SQL Federation for? A Few Examples Web Scale DB Solutions Multi-tenant Saas ISVs Workloads with Spikes, Bursts, Peaks, etc… NoSQL Applications

SQL Federation Architecture

Architecture Federation Federation Root Federation Member An object contained within a user database Defines the scheme for the federation Represent the database being sharded Federation Root Database that houses the federation object Federation Member System managed SQL databases Contain part, or “slices” of data Federations SalesDB Orders_federation Orders_federation Orders_Fed Federation Root Federation Members CREATE FEDERATION fed_name(fed_key_label fed_key_type distribution_type)

Architecture Cont. Federation Key Atomic Unit The key used for data distribution int, bigint, guid, varbinary Atomic Unit Represent a single instance of a federation key. All rows in all federated tables with the same federation key value. SalesDB Orders_federation Orders_Fed Federation Members Federations Federation Root Member: range [1000, 2000) AU PK=5 AU PK=25 AU PK=35 AU PK=5 AU PK=25 AU PK=35 AU PK=1005 AU PK=1025 AU PK=1035 Atomic Units

Architecture Cont. Federated Table Reference Table Contains only atomic units for member’s key range Reference Table Non-Federated table

Repartitioning Dynamic Partitioning SPLIT members to spread workloads over to more nodes DROP members to shrink back to fewer nodes ALTER FEDERATION Orders_Fed SPLIT AT (tenant_id=7500) SalesDB Orders_federation Orders_federation Orders_Fed [5000, 7500) & [7500, 10000) [5000, 10000)

Reliable Routing Built-in Data-Dependent Routing (DDR) Ensure apps can discover where the data is just-in-time No “Shard Map” caching Guaranteed member routing USE FEDERATION Orders_Fed (tenant_id=7509) SalesDB Orders_federation Orders_federation Orders_Fed [5000, 7500) & [7500, 10000)

Management

New Dynamic Management Views Monitoring and Troubleshooting sys.federations - Returns the federations within a database sys.federation_distributions - Returns the distribution type and data types used by a federation sys.federation_members - Returns Information on member to federation associations sys.federation_member_distributions - Returns distribution information about members within a federation sys.federation_table_columns - Returns specialized federation properties of federated tables

Dynamic Management Views View Federation History sys.federation_history - Returns historical information about a federation sys.federation_distribution_history - Returns historical information about the distribution type and data types used by a federation sys.federation_member_history - Returns historical information for each member of a federation sys.federation_member_distribution_history - Returns historical information about the distribution range for federation members. NOTE: Cleanup of historical data is performed automatically every two weeks.

Best Practices

Best Practices And Design Considerations Federations Normalize your data model all the way Apply Scale-First design principles Select Table Groups that need Scale-out Federation Keys and Atomic Units Target latency and scale sensitive queries Ensure transaction boundaries Distribute the app workload equally across members Fit in the scale-up limit Unique Key Generation Identity Uniqueidentifier

Fan-out Queries Cross-Federation Queries Process data across federation members Union or aggregate data across members Utilize Unaligned queries Member / Summary processing *Not in Version 1.

SQL Federation Demo

Fan-out Queries Demo

www.windowsazureblog.com http://blogs.msdn.com/b/cbiyikoglu/ References www.windowsazureblog.com http://blogs.msdn.com/b/cbiyikoglu/

Nitin.Salgar@gmail.com @nitinsalgar www.linkedin.com/in/SalgarNC Contact Info Nitin.Salgar@gmail.com @nitinsalgar www.linkedin.com/in/SalgarNC