Database Design Table design Index design Query design Transaction design Capacity Size limits Partitioning (shard) Latency Redundancy Replica overhead.

Slides:



Advertisements
Similar presentations
Hello i am so and so, title/role and a little background on myself (i.e. former microsoft employee or anything interesting) set context for what going.
Advertisements

Connecting Windows Azure to Your Enterprise Network & Applications
DBI403 Few Nodes Many Nodes SalesDB CustomerFederationeration CustomerFederation Federation Members Federation Root Federations.
Challenges Facing Enterprise IT REDUCED MANAGEMENT NEW ECONOMICS INCREASED OPPORTUNITIES.
Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
Eric Nelson Application Architect, Microsoft |
Amazon RDS (MySQL and Oracle) and SQL Azure Emil Tabakov Telerik Software Academy academy.telerik.com.
The Microsoft Cloud Azure Platform This presentation incorporates some content from Microsoft.
“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.
Microsoft's Windows Azure. Microsoft's Windows Azure Platform is a cloud platform offering, that "provides a wide range of Internet services that can.
T Sponsors Paul Larsen Principal Program Manager, Microsoft Integrating cloud with existing IBM Systems BizTalk Summit 2015 – London ExCeL London | April.
Azure Services Platform Piotr Zierhoffer. Agenda Cloud? What is Azure? Environment Basic glossary Architecture Element description Deployment.
Accelerate Business Success With CRM CRM Interoperability.
Microsoft SQL Server x 46% 900+ For Hosting Service Providers
Windows Azure for scalable compute and storage SQL Azure for relational storage for the cloud AppFabric infrastructure to connect the cloud.
DBI210. Cloud and BI Overview Integrating cloud within BI BI services in the cloud.
Connecting Cloud and On-Premises Applications Yousef A. Khalidi Distinguished Engineer Microsoft Corporation.
Windows Azure Platform Sync On-Premises Applications Sync.
Virtual techdays INDIA │ November 2010 SQL Azure Data Sync Shilpa Nirmale │ Associate Manager, Accenture.
Subtitle color From Windows Azure From Outside Microsoft Datacenter From Outside Microsoft Datacenter & Windows Azure Application / Browser Windows.
MICROSOFT CONFIDENTIAL Sept 2009 | Page 1 | BDM Presentation.
Google AppEngine. Google App Engine enables you to build and host web apps on the same systems that power Google applications. App Engine offers fast.
Building Offline/Cache Mode Web Apps Using Sync Framework Mike Clark Group Manager Cloud Data Services Team
Why consider the cloud? Cloud innovation presents challenges for IT.
Cross Platform Mobile Backend with Mobile Services James
Word Wide Cache Distributed Caching for the Distributed Enterprise.
Introduction To Windows Azure Cloud
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer.
WINDOWS AZURE PLATFORM ROADMAP Eric Nelson Slide 1.
Module 11: Programming Across Multiple Servers. Overview Introducing Distributed Queries Setting Up a Linked Server Environment Working with Linked Servers.
Windows Azure SQL Database Deep Dive Chris Auld CTO – Intergen AZR432.
SQL Azure Intro and What’s New Level: Introductory to Intermediate Andy Thiru SQL/BI Developer.
Stu Fox Datacom Systems Ltd. ON-PREMISES SERVICE PROVIDERMICROSOFT CONSISTENT PLATFORM Modern platform for the world’s apps 1.
Konstantinos Pantos MVP, MSc, MCP, Software Solutions Architect
Windows Azure for scalable compute and storage SQL Azure for relational storage for the cloud AppFabric infrastructure to connect the cloud.
Text Microsoft to Or Tweet #uktechdays Questions?
COS308. SQL Azure Database DEMO.
Nagender Vedula & Bradley Bartz ON-PREMISES SERVICE PROVIDERMICROSOFT CONSISTENT PLATFORM Modern platform for the world’s apps 1.
Enhancing Scalability and Availability of the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada
Forthcoming SQL Azure Services: SQL Azure Data Sync & SQL Azure Reporting Mark Scurrell Lead Program Manager Microsoft.
Features Of SQL Server 2000: 1. Internet Integration: SQL Server 2000 works with other products to form a stable and secure data store for internet and.
SQL Database Federations Tips and Tricks Scott Klein Microsoft Corporation.
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.
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
Hello Cloud… Mike Benkovich
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
Page 1 Overview of SQL Azure Jeff Chu |
Deploying Highly Available SQL Server in Windows Azure A Presentation and Demonstration by Microsoft Cluster MVP David Bermingham.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
WINDOWS AZURE AND THE HYBRID CLOUD. Hybrid Concepts and Cloud Services.
Sql Server Architecture for World Domination Tristan Wilson.
Private KEEP OFF! Private KEEP OFF! Open! What is a cloud? Cloud computing is a model for enabling convenient, on-demand network access to a shared.
Migrate SQL Server Apps to SQL Azure Cloud DB
Azure Site Recovery For Hyper-V, VMware, and Physical Environments
Windows Azure SQL Federation
Lead SQL BankofAmerica Blog: SQLHarry.com
Scaling In e Scaling Out através do elastic pool
SQL Azure In this module- Learn how SQL lives in the cloud
Azure SQL Database – Scaling in and Scaling out with elastic pool
SQL Server 2016 Hybrid HyperScale Offer.
Microsoft Azure Fundamentals: Data Understanding Microsoft Azure SQL
What’s New in Microsoft SQL Azure
SQL Server on Linux: High Availability And Disaster Recovery
Windows Azure Keenan Newton 3-021
Storing bits and bytes in the cloud
Azure Enables Mobility, Easy Sync and Share, and Allows Companies to Retain Data Control MINI-CASE STUDY “Azure provides the full stack of technology that.
SQL Azure to .NET Developers
The Database World of Azure
Presentation transcript:

Database Design Table design Index design Query design Transaction design Capacity Size limits Partitioning (shard) Latency Redundancy Replica overhead Distance Affinity Groups SQL Azure Data Sync Sync Fx Concurrency Replication SQL Azure Data Sync Partitioning (shard) Scalability Scale-up Not an option Scale-out Partitioning (shard) SQL Azure Data Sync

Elastic scale – database as a service Pay as you grow and shrinkPay as you grow and shrink Easy to provision and manage database No hardware, no manual database administration required Promotions, events, ticket selling businesses are “bursts – bound” by nature Capacity constraints limit business agilityCapacity constraints limit business agility High costs of entry into new businessHigh costs of entry into new business Difficult to roll out extra capacity quicklyDifficult to roll out extra capacity quickly Idle capacity “off-bursts” is cost prohibitive Capacity Time “Capacity Bursting“ Average Usage Compute # of Hr’s Challenges Today

T1 T2T3T4 T5 T6 T7T8T9 T10 T11 T12T13T14 T15 T16 T17T18T19 T20 All my data is handled by one DB on one server All my data is handled by one DB on one server

Covered by SQL Azure today Coming up in SQL Azure: Federations

Data1Data2Data3Data4Data5 Con- fig

Federation “CustData” Member: [min, 100) AU PK= 5 AU PK=25 AU PK=35 Member: [100, 488) AU PK=10 5 AU PK=23 5 AU PK=36 5 Member: [488, max) AU PK=55 5 AU PK=25 45 AU PK=35 65 (Federation Key: CustID)

Federation “Orders_Fed” (Federation Key: CustID)

Member: [min, max) SalesDB orders Products zipcode

Federation “Orders_Fed” (Federation Key: CustID) Member: [min, max) SalesDB orders Products zipcode Member: [min, 100) orders zipcode Member: [100, max) zipcode orders

Member: [min, 100) AU PK=5 AU PK=25 AU PK=56 App zipcode

CREATE FEDERATION Orders_Fed (RANGE BIGINT) USE FEDERATION Orders_Fed(0) WITH FILTERING=OFF CREATE TABLE orders(orderidbigint, odatedatetime, customeridbigint, primary key (orderid, customerid)) FEDERATE ON (customerid) CREATE UNIQUE INDEX o_idx1 on orders(customerid, odate) CREATE INDEX o_idx2 on orders(odate) CREATE TABLE orderdetails(orderdetailidbigint, orderidbigint, partidbigint, customeridbigint, primary key (orderdetailid, customerid)) FEDERATE ON (customerid) ALTER TABLE orderdetails add constraint orderdetails_fk1 foreign key(orderid,customerid) references orders(orderid,customerid) CREATE TABLE uszipcodes(zipcodenvarchar(128) primary key, state nvarchar(128))

Connect to: InitialCatalog=‘SalesDB’ – get some regular work done (within customer 239) USE FEDERATION Orders_fed(239) WITH FILTERING=ON SELECT * FROM Orders JOIN OrderDetailsON … INSERT INTO Orders (customerid, orderid, odate) VALUES (239, 2, ‘5/7/2010’) – get some cross-customer work done USE FEDERATION Orders_fed(0) WITH FILTERING=OFF DELETE from Orders WHERE odate < ‘1/1/2000’ - Repeat for other members… -- go back to root USE FEDERATION ROOT UPDATE CleanupSchedule set LastCleanupDate = GETSYSTIME()

--Day#2 business grows! ALTER FEDERATION Orders_FedSPLIT AT(1000) --Day#3 black friday! ALTER FEDERATION Orders_FedSPLIT AT(100) ALTER FEDERATION Orders_FedSPLIT AT(200,300,400…) --Day#4 recession hits! ALTER FEDERATION Orders_FedMERGE AT(100) --Day#5 oh boy… double dip. ALTER FEDERATION Orders_FedMERGE AT(200,300,400…)

SQL Server to SQL Azure Sync Sync Benefits Makes cloud extension rather than replacement Enables moving workload to cloud in stages preserving investment in existing infrastructure New scenarios spanning enterprise, cloud SQL Azure

Benefits Geo- synchronization of data across data centers Scale-out read or read/write

SQL Azure to SQL Server Sync Benefits Share data with remote and retail offices, bringing data closer to the end-users Lower latency – data access doesn’t require round trips Higher availability – app still runs if server is unreachable Reduced network utilization – most data access is local SQL Azure

On-Premises Applications Sync Offline Applications Sync SQL Azure Database Sync SQL Azure Data Sync SQL Azure Data Sync CTP2 (Coming in near future) Microsoft Sync Framework 4.0 CTP available now! Sync Retail & Remote Offices SQL Azure Data Sync CTP1 (Available now from

Offline Client Server / Service Remote Store Local Data Cache Client App Sync Query / Update

Sync Simple protocol (OData& Sync) Minimal client & store requirements Client API support Client API support Windows Server / IIS Sync Endpoints Sync Endpoints Auth / Mgmt / Bus Logic SyncFx SQL Server WindowsAzure Sync Endpoints Sync Endpoints Auth / Mgmt / Bus Logic SyncFx SQL Azure Sync smarts on server, not on client Easy to develop the sync endpoints Client API support Client API support Sync Framework v4 Overview

Isolated Storage Provider OData Sync Proxy Cache Controller Windows Azure Application SQL Azure Provider SQL Azure Provider Sync Logic Silverlight Offline Application Isolated Storage Collections Silverlight Offline Application Sync OData Sync Endpoint Business Logic

Isolated Storage Provider Silverlight Offline Application OData Sync Proxy Cache Controller Sync Logic Moves to Server/Service Enables Offline In Isolated Storage with Silverlight 3 & 4 Extensibility to allow 3 rd party storage to be hooked in Isolated Storage Sync Logic Collections Silverlight Offline Client Windows Azure Application SQL Azure Provider SQL Azure Provider Sync Logic OData Sync Endpoint Business Logic Sync

Client Needs To: Track changes on local store (samples for common stores). Implement client side sync proxy (samples for common platforms) Sync Application OData Sync Proxy Store Collectio ns Offline application on any platform Windows Azure Application SQL Azure Provider SQL Azure Provider Sync Logic OData Sync Service Business Logic Sync

Sync Application OData Sync Proxy Store Collectio ns Offline application on any platform Windows Azure Application SQL Azure Provider SQL Azure Provider Sync Logic OData Sync Service Business Logic Sync Simple protocol (OData & Sync)