sql azure dec 2010 update

42
Eric Nelson Application Architect, Microsoft http://bit.ly/ericnelson | http://twitter.com/ericnel [email protected]

Upload: eric-nelson

Post on 07-Dec-2014

1.005 views

Category:

Technology


1 download

DESCRIPTION

Update from ISV meeting 13th Dec 2010

TRANSCRIPT

Page 1: SQL Azure Dec 2010 Update

Eric NelsonApplication Architect, Microsoft http://bit.ly/ericnelson | http://twitter.com/ericnel [email protected]

Page 2: SQL Azure Dec 2010 Update

Extending SQL Server to the CloudExtending SQL Server to the Cloud

Page 3: SQL Azure Dec 2010 Update
Page 4: SQL Azure Dec 2010 Update
Page 5: SQL Azure Dec 2010 Update

SQL AzureTDS

Your App

Change Connection String

Page 6: SQL Azure Dec 2010 Update

ApplicatioApplicationn

Internet

LBLBTDS (tcp)TDS (tcp)

TDS (tcp)TDS (tcp)

TDS (tcp)TDS (tcp)

Apps use standard SQL client Apps use standard SQL client libraries: ODBC, ADO.Net, PHP, …libraries: ODBC, ADO.Net, PHP, …

Load balancer forwards ‘sticky’ Load balancer forwards ‘sticky’ sessions to TDS protocol tiersessions to TDS protocol tier

Gateway Gateway Gateway Gateway Gateway Gateway

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

SQLSQL SQLSQL SQLSQL SQLSQL SQLSQLSQLSQL

Gateway: TDS protocol gateway, enforces AUTHN/AUTHZ policy; proxy to backend SQLGateway: TDS protocol gateway, enforces AUTHN/AUTHZ policy; proxy to backend SQL

Page 7: SQL Azure Dec 2010 Update

From From Windows AzureWindows Azure

From Outside From Outside Microsoft Datacenter Microsoft Datacenter

From Windows Azure & Outside From Windows Azure & Outside Microsoft Datacenter Microsoft Datacenter

Application / Browser

Windows Azure

SQL Azure

Code NearCode Near

App Code / Tools

SQL Azure

MicrosoftDatacent

er

Code FarCode Far HybridHybrid

Microsoft

Datacenter

SQL Azure

SQL Server

Microsoft Datacenter Windows

Azure

SQL Azure Data Sync

App Code / Tools

Page 8: SQL Azure Dec 2010 Update
Page 9: SQL Azure Dec 2010 Update
Page 10: SQL Azure Dec 2010 Update

Tables require clustered indexes

Page 11: SQL Azure Dec 2010 Update
Page 12: SQL Azure Dec 2010 Update
Page 13: SQL Azure Dec 2010 Update
Page 14: SQL Azure Dec 2010 Update
Page 15: SQL Azure Dec 2010 Update

Sync

SQL

Azure

Page 16: SQL Azure Dec 2010 Update

On-Premises (Headquarters)

Syn

cSyn

c

SyncSync

Remote OfficesData Sync Service For SQL Azure

Retail Stores

SyncSync Sync

Sync

SyncSync

SQL Azure

Database

SyncSync Sync

Sync CTP1

CTP1

CTP2

CTP2

Page 17: SQL Azure Dec 2010 Update
Page 18: SQL Azure Dec 2010 Update
Page 19: SQL Azure Dec 2010 Update
Page 20: SQL Azure Dec 2010 Update
Page 21: SQL Azure Dec 2010 Update
Page 22: SQL Azure Dec 2010 Update

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Page 23: SQL Azure Dec 2010 Update
Page 24: SQL Azure Dec 2010 Update
Page 25: SQL Azure Dec 2010 Update

Service Reque

st

App Data

App

Consistent and accepted latencies

On premises application

Files

Service Reque

st

App DataLatenc

yApp

Increases in quantity and variability of latencies

Cloud based application

Latency

TIP: Expect Web Role to SQL Azure to take about twice as long

Page 26: SQL Azure Dec 2010 Update

Service Reques

tApp Data

Timeouts?App

Increased likelihood of timeouts

Cloud based application

Service Reques

tApp Data

App

Consistent, reliable connectivity and access

On premises application

Yes

No

Yes

NoTried 5 times?

Connection

Successful?

Try to connect

Continue doing work

Fail

Page 27: SQL Azure Dec 2010 Update
Page 28: SQL Azure Dec 2010 Update
Page 29: SQL Azure Dec 2010 Update

TIP: There is a new code library for all this!

Page 30: SQL Azure Dec 2010 Update
Page 31: SQL Azure Dec 2010 Update

Purchasing Database

Product catalogue

Secure Transaction(Service Bus)

Segmentation

Online Shop

Online Shop

Product catalogue

Page 32: SQL Azure Dec 2010 Update

On Premises

Cloud

Sharding

Customer Credit Card #

Shipping Information

Last Name

First Name

Contact ID

Social Security #

Billing Data

Other Information

On Premises

Page 33: SQL Azure Dec 2010 Update

Customer Credit Card #

Shipping Information

Last Name

First Name

Contact ID

Social Security #

Billing Data

Other Information

On Premises

On Premises

Cloud

Encryption

Page 34: SQL Azure Dec 2010 Update
Page 35: SQL Azure Dec 2010 Update
Page 36: SQL Azure Dec 2010 Update

 Single Blob

Drive Queue TableSingle SQL

Azure Database

Structured Data Y Y

Relational Database Y

Server Side Processing YDirect Access from outside Azure

Y Y Y Y

Messaging Infrastructure Y

Persistent Storage Y Y 1 week Y Y

Size Limit200 GB/ 1

TB1 TB 100 TB 100 TB 50 GB (*)

Page 37: SQL Azure Dec 2010 Update

Feature Azure Table SQL Azure Table

Partitioning & Scale

Implicit based on Partition KeyExplicitly managed by the Application (Sharding – future feature)

Index Capabilities

Table indexed on Partition Key + Row Key0 Secondary Indexes

1 Clustered Index on any column999 Secondary Indexes

Table Limits

Row Size – 1 MBColumn Limit – 255Table Limit – 100TB

Row Size – 8MBColumn Limit – 1024Table Limit - ~50GB

Transactions

Transactions on entities within partitionNo Transactions across tables or partitionsUp to 100 operations in a TransactionPayload upto 4MB per Transaction

Fully compatible transactional semantics with SQL Server.

No cross Database transactions

Consistency Model

Transactionally Consistent Transactionally Consistent

Concurrency

Single Optimistic Concurrency Strategy

Full range of isolation and concurrency models as supported by RDBMS

Page 38: SQL Azure Dec 2010 Update

Feature

Azure Table SQL Azure

Data Access

REST API, ADO .NET, Client Library SDKStandard tools and APIs applySSMS, Visual Studio, ADO .NET, ODBC

Column Types

Basic Types Usual SQL Server Data Types

Portability

Data portability coming with Windows Azure Appliance

Data in SQL Azure similar to SQL Server-Easy migration in and out of the cloud-Use multi stream transfer to mitigate network latency.

Queries

Upto 1000 entities [token pagination]Beyond 5 sec – return continuation token

Queries by partition & row key are fast

No Custom Indexes Today Non key queries are scans

Query capabilities as per standard SQL Server database expectations

Offer Server Side Processing through Stored Procedures and Complex Queries

(Aggregation, Joins, Sorts, Filters, etc.)

Page 39: SQL Azure Dec 2010 Update

A traditional set of data that is traditionally stored on the local environment is configuration and user settings. Commonly this is stored in the registry, xml or ini files.

Options Best Case Usage

Blob storage Configuration file that is read only once during app load

SQL database Used in environments where a SQL database already exists

Windows Azure table User settings that may be changed externally from the environment

Page 40: SQL Azure Dec 2010 Update
Page 41: SQL Azure Dec 2010 Update
Page 42: SQL Azure Dec 2010 Update