29
Tony Petrossian Microsoft Corporation [email protected] SQL Azure An Introduction

SQL Azure

  • Upload
    carsyn

  • View
    42

  • Download
    0

Embed Size (px)

DESCRIPTION

SQL Azure. An Introduction. Tony Petrossian Microsoft Corporation [email protected]. Agenda. What is SQL Azure Why use SQL Azure How does SQL Azure work Architecture Programming Model and APIs Similarities and differences with SQL Server Business Model Future Roadmap. - PowerPoint PPT Presentation

Citation preview

Page 1: SQL Azure

Tony PetrossianMicrosoft [email protected]

SQL Azure

An Introduction

Page 2: SQL Azure

AgendaWhat is SQL AzureWhy use SQL AzureHow does SQL Azure work

ArchitectureProgramming Model and APIsSimilarities and differences with SQL Server

Business ModelFuture Roadmap

Page 3: SQL Azure

Introduction

Database as a Service

Page 4: SQL Azure

Developer ExperienceUse existing skills and tools

The Windows Azure Platform

platformAppFabric

ComputeStorageManagement Relational data Management Connectivity Access control Reporting & BI

Billing & Payments

Flexible APIs

Information

Marketplace

Page 5: SQL Azure

Information Platform Vision

Mission Critical Platform

CloudDesktop & Mobile Server & Datacenter

Empowered IT Pervasive Insight

Dynamic Development

Page 6: SQL Azure

Elastic Scale Developer Agility

Low Friction

Relational Database as a Service

C R EATE DATABASE myDB

Page 7: SQL Azure

Low FrictionEasy, low-cost provisioning

Wizard-based provisioningSimple database deploymentNo physical administration

Familiar Tools and Interfaces

Manage multiple databases with the same tools you use today

Self-healing platformAuto High AvailabilityBuilt-in fault-tolerantAutomated maintenance

Page 8: SQL Azure

Elastic ScaleProvision When and Where you need

Easy to Scale out with multiple databasePay-as-you-grow databasesNo hardware, physical DB or file management required

Business-Ready SLAsReliability at scaleSecurity management across multiple databases

Multi-tenant ApplicationsLogical schema per tenant with isolated physical storageProvision new tenants quickly and easily

Page 9: SQL Azure

Developer Agility

SQL Azure provides database service for applications built on Windows Azure

Transact-SQL ADO.NETODBC,LINQ Entity Framework Odata, php

Visual Studio SQL Server Management Studio

Leverage familiar T-SQL based relational database model

Integration with existing tools to ensure rapid development and symmetry with on-premises DB

Relational Database for Windows Azure applications

Page 10: SQL Azure

Elastic Scale Developer Agility

Low Friction

Relational Database as a Service

Page 11: SQL Azure

Extending your Database ChoicesRe

sour

ces

Dedicated

SharedHigh“Friction”/Control

SQL Azure V1 targets scenarios that live in the lower left quadrant

Value Props:100% of API surface area

Roll-your-own HA/DR/scale

Hosted Hosted SQL Server Resource governance @ VM Security @ DB Server/OS

On-premise SQL Server or other s/w on-premise Resource governance @ machine Security @ DB Server/OS

Value Props:Full h/w control – size/scale100% of API surface areaRoll-your-own HA/DR/scale

Low

Value Props:Auto HA, Fault-ToleranceFriction-free scaleSelf-provisioningSubset of API surface area

Logical DB serverResource governance @ DB Security @ DB/Logical Server

SQL Azure

Page 12: SQL Azure

Demo

Provisioning & Connecting to SQL Azure

Page 13: SQL Azure

Basic Architecture

SQL Azure Internals

Page 14: SQL Azure

• Each account has zero or more servers– Azure wide, provisioned in a common

portal– Billing instrument

• Each server has one or more databases– It is a logical grouping of databases– Contains metadata for databases and

usage– Unit of authentication– Unit of Geo-location– Generated DNS based name

• A database is what you buy– Unit of consistency– Contains Users, Tables, Views, Indices,

etc.– Most granular unit of billing– Looks just like a SQL Server database

Account

Server

Database

Service Provisioning Model

Page 15: SQL Azure

SQL Azure Topology

Page 16: SQL Azure

Core Database LayerUses shared infrastructure at SQL database and below

Each user database is replicated to one or more servers (configurable based on SLA)Client requests are routed to current “primary server” for read and write operations (based on SQL session)Security, lockdown and isolation enforced in SQL tier

Highly scalable and state-of-the-art HA technologyAutomatic failure detection; client request re-routed to new primary on failure High SLA guarantee using logical replication (hot standby replicas)Automatic management, self-healing and load balancing across shared resource pool

Provides provisioning, metering and billing infrastructure

Machine 5

SQL Instance

SQL DBUserDB1

UserDB2

UserDB3

UserDB4

Scalability and Availability: Fabric, Failover, Replication, and Load balancing

SQL Azure Provisioning (databases, accounts, roles, …, Metering, and Billing

Machine 6

SQL Instance

SQL DBUserDB1

UserDB2

UserDB3

UserDB4

Machine 4

SQL Instance

SQL DBUserDB1

UserDB2

UserDB3

UserDB4

Scalability and Availability: Fabric, Failover, Replication, and Load balancing

Page 17: SQL Azure

Security Model

Uses regular SQL security modelAuthenticate logins, map to users and rolesAuthorize users and roles to SQL objects

Support for standard SQL Auth loginsUsername + password

Future AD Federation, WLID, etc as alternate authentication protocols

Security model is 100% compatible with on-premise SQL

Page 18: SQL Azure

Programming Model

Symmetry with SQL Server

Page 19: SQL Azure

On and Off-Premises SymmetrySQL Azure – Highly Symmetrical at Database Scope

SQL Data PlatformBusiness Intelligence, Data Integration, Data Warehouse

SQL Server InstanceInstance Management & Administration

• Master DB• Extended SPs• Service Broker• SQL Agent• Backup/Restore• Replication• Etc.

SQL DatabaseCore relational database systemRelational Model (DDL)Logical Data Administration (DML)

Relational Query & CRUD

Transaction ManagementStored Procedures, Views, etc. AuthN/AuthZ

Users, Roles, Schemas

• Connectivity– ADO.Net– Astoria– EF– LINQ– PHP– Java

Page 20: SQL Azure

Examples of Supported Transact-SQL Features Constraints Cursors Index management and rebuilding indexes Local temporary tables Stored procedures Statistics management & query plans Transactions Triggers Tables, joins, and table variables Transact-SQL language elements such as

o Create/drop databaseso Create/alter/drop tableso Create/alter/drop users and loginso and so on.

User-defined functions Views, including Relevant DMVs

And on and on… the list is growing

T-SQL Support

Some Features are not needed in the Cloud Service model and they will not be supported

Page 21: SQL Azure

SQL AzureCREATE DATABASE [TPCH]

SQL ServerCREATE DATABASE [TPCH] ON PRIMARY ( NAME = N'TPCH', FILENAME = N'C:\TPCH.mdf' , SIZE = 195840KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) LOG ON ( NAME = N'TPCH_log', FILENAME = N'C: TPCH_log.LDF' , SIZE = 470144KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)

Comparing the DDL

Page 22: SQL Azure

Current Service Offerings

Availability & Pricing

Page 23: SQL Azure

Pricing & Service LevelDatabase

Availability

Database will be available/reachabl

e, external connectivity

Proper requests will be processed

successfully

> 99.9%

Business Edition10 GB DB space

$99.99~ 110 CHF

+ Bandwidth

Web Edition1 GB DB space

$9.99~11 CHFAdditional 5% promotional

discount available to partners(Except storage and bandwidth)

Introductory Offer (promotion)• Free developer starter offer• Limit one per customer

Standard Consumption Offer• Optimized for cloud elasticity

Subscription Offers (promotion)• Predictable and discounted price

MSDN Premium Offer (promotion)• Available to MSDN Premium

subscribers• Limit one per subscription

Low barrier to entry and flexible. Optimized to enable

cloud elasticity. Additional promo and program offers to

drive early adoption

Standard

Consumption

All usage at standard rates No limit in the number of

subscriptionsCharged only for what you use

Initial Offers

Page 24: SQL Azure

Service Presence & AvailabilityAustria Denmark Italy PolandAustralia Finland Japan PortugalBelgium France Luxembourg Puerto RicoBrazil Germany Malaysia RomaniaCanada Greece Mexico SingaporeChile Hong Kong Netherlands SpainColombia Hungary New Zealand SwedenCosta Rica India Norway SwitzerlandCyprus Ireland Peru Trinidad &TobagoCzech Republic Israel Philippines UK

Data centers in US, Europe and Asia

Page 25: SQL Azure

Microsoft SQL Azure Roadmap

2009 Beyond2010

Relational Database as a service for Windows Azure T-SQL query support Core RDBMS features

Data Types BulkCopyADO.NET, ODBC

Tooling SupportSQL Server Management Studio

Visual StudioQuery AnalyzerBCP, SSIS, SQL cmdPowershell, SMO

Security: AuthenticationAuthorizationFirewall

High AvailabilityFault ToleranceAuto ManagementElastic Scale-out

‘Dallas’ information as a serviceData SyncOn-prem to cloud, 2/3-tierManagement of DACs

Multi-tenant ISVs Business continuityScale Up (50GB in June)Reporting as a ServiceBackup/Restore (copy & logical)Spatial Support

BI as a serviceDW as a serviceAutomated migration

Better Sharding SupportCompliancePremium SLAs

Page 26: SQL Azure

Azure Prices and Packageshttp://www.microsoft.com/WindowsAzure/offers/

SQL Azure Informationhttp://www.microsoft.com/windowsazure/sqlazure/

MSDN Resourceshttp://www.microsoft.com/windowsazure/sqlazure/

MSDN Documentationhttp://msdn.microsoft.com/en-us/library/ee336279.aspx

Additional Resources

Come see us at “Windows Azure “Ask the Experts” table if you have questions OR to give us your

feedback

Page 27: SQL Azure

Q&A

Page 28: SQL Azure

Thank you for your Attention!For more Information please contact

Tony PetrossianPrincipal Program ManagerSQL Azure Development

Microsoft [email protected]

Page 29: SQL Azure