Upload
carsyn
View
42
Download
0
Tags:
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
AgendaWhat is SQL AzureWhy use SQL AzureHow does SQL Azure work
ArchitectureProgramming Model and APIsSimilarities and differences with SQL Server
Business ModelFuture Roadmap
Introduction
Database as a Service
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
Information Platform Vision
Mission Critical Platform
CloudDesktop & Mobile Server & Datacenter
Empowered IT Pervasive Insight
Dynamic Development
Elastic Scale Developer Agility
Low Friction
Relational Database as a Service
C R EATE DATABASE myDB
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
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
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
Elastic Scale Developer Agility
Low Friction
Relational Database as a Service
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
Demo
Provisioning & Connecting to SQL Azure
Basic Architecture
SQL Azure Internals
• 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
SQL Azure Topology
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
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
Programming Model
Symmetry with SQL Server
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
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
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
Current Service Offerings
Availability & Pricing
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
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
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
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
Q&A
Thank you for your Attention!For more Information please contact
Tony PetrossianPrincipal Program ManagerSQL Azure Development
Microsoft [email protected]