interoperability. session objectives and takeaways session objective(s): – get up to speed on sql...

29
Interoperability Relational Data and The Cloud Keith Burns Data Architect Microsoft Ltd

Upload: eleanor-lyons

Post on 06-Jan-2018

217 views

Category:

Documents


0 download

DESCRIPTION

Developer ExperienceDeveloper Experience Use existing skills and toolsUse existing skills and tools The Windows Azure Platform platform AppFabric ComputeStorageManagement Relational data Management Connectivity Access control Reporting & BI Billing & Payments Flexible APIs Information Marketplace

TRANSCRIPT

Page 1: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Interoperability

Relational Data and The Cloud

Keith BurnsData ArchitectMicrosoft Ltd

Page 2: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Session Objectives and Takeaways

• Session Objective(s): – Get up to speed on SQL Azure– Learn about the new features in SQL Azure– Demonstration some working features in action– Determine whether SQL Azure is ready for your

application

Page 3: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Developer ExperienceUse existing skills and tools

The Windows Azure Platform

platformAppFabric

Compute Storage Management Relational data Management Connectivity Access control Reporting & BI

Billing & Payments

Flexible APIs

Information Marketplace

Page 4: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Extending SQL Server to the Cloud

Database

Data SyncReporting

Business Intelligence

Symmetric Programming Model and tools

At PDC – core RDBMS capabilities with SQL Azure Database Future Offerings

Additional data platform capabilities: Reporting, BI New services: Data and Web Services

Page 5: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

SQL Azure

Hosted RDBMS Managed RDBMS

– SQL query processor– Familiar relational model – Transactions– Ecosystem of familiar development

and management tools

– Low-friction provisioning– High scale– Multi-tenant– Self-management– Automatic HA and DR

SQL Azure delivers the value of hosted relational database with the differentiated benefits of a managed database as a utility

Page 6: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Customer ScenariosDepartmental Collab. Apps

Departmental workgroup applications with low concurrency and cyclical

usage patterns

Custom Web Applications

Small customers or start ups with Web applications

of all scale that have simple RDBMS needs

Packaged LOB Applications

ISVs extending offering or selling software hosted in the cloud

Page 7: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

DemoProvisioning & Connecting to SQL Azure

Page 8: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Architecture

• Shared infrastructure at SQL database and below– Request routing, security and isolation

• Scalable HA technology provides the glue– Automatic replication and failover

• Provisioning, metering and billing infrastructureSDS Provisioning (databases, accounts, roles, …), Metering, and Billing

Machine 5

SQL Instance

SQL DBUserDB1

UserDB2

UserDB3

UserDB4

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 9: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Database Replicas

Replica 1

Replica 2

Replica 3

DB

Single Database Multiple Replicas

Single Primary

MultipleSecondaries

Page 10: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Scale Unit

Scale Unit

Scale Unit

Scale Unit

Redundant Environment

BC

D

A A

B

BC

CD

D

A

Page 11: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Connection Model

• Use existing client libraries– ADO.NET, ODBC, PHP

• Client libraries pre-installed in Azure roles• Support for ASP.NET controls• Clients connect directly to a database– Cannot hop across DBs (no USE)

Page 12: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Connection Management• Connections may drop due to:

– Network connectivity blips– Idle or long running transactions

• Idle > 30 minutes• Long running transactions > 30 minutes

– Throttling (taking too many resources)• Measured by IO load and CPU utilization

– Database failover activity• Machine failure: automatic recovery• Load balancing used to ensure ‘resource fairness’

• DOS protection may deny connectivity:– If too many failed connection attempts are made– The servers running your databases are not impacted by such attacks

Page 13: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Logical vs. Physical Administration

• SQL Azure focus on logical administration– Schema creation and management– Query optimization– Security management (Logins, Users, Roles)

• Service handles physical management– Automatically replicated with HA “out of box”– Transparent failover in case of failure– Load balancing of data to ensure SLA

DBA role places more focus on logical management

Page 14: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Deployment• Support for basic deployment options– SQL scripts work (but not attach database)

• Co-location of Windows Azure compute and SQL Azure Databases

• Support for Data Tier Applications– DACPAC is unit of deployment– Cloud or on-premise is a deployment time choice– Visibility of data across on-premise and the cloud

Support existing and new forms of deployment

Page 15: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Security Model• Uses regular SQL security model– Authenticate logins, map to users and roles– Authorize users and roles to SQL objects

• Support for standard SQL Auth logins– Username + password

• Future AD Federation, WLID, etc as alternate authentication protocols

Security model is 100% compatible with on-premise SQL

Page 16: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

SQL Azure synchronizationSQL Azure and oData

Demo

Page 17: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

What is supported in SQL Azure?

• Lots of information in– White papers– Blogs– Twitter– Channel9 and YouTube videos

• BUT – very rapid development– Bimonthly “Service Updates”– “Releases” several times a year

• Therefore: Use online documentation!

Page 18: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –
Page 19: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –
Page 20: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –
Page 21: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –
Page 22: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Futures

Page 23: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

50 GB SKU

• Available in SU2 (April) as a preview• Preview requires nomination• Generally available in SU3 (~June)• Pricing being announced

Page 24: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Web based management UI

Page 25: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

MARS Support

Multiple Active Row SetsAvailable in SU2Multiple SQL batches on a single connectionUses connection multiplexingUses “firehose mode”MARS Enabled Statements

SELECTFETCHRECEIVEREADTEXTBULK INSERT / BCPASYNC CURSOR POPULATION

Page 26: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Spatial OverviewAn industry first – SQL Azure will fully support

spatial data in the Cloud.

• Available in SU3 (June)• This will bring native storage and analysis of

spatial objects to the Cloud, facilitating next generation mapping and other web applications which need support for location.

Page 27: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Spatial Objects are Features on Maps

• Streets• Freeways• Railway

• Ferry Route

LINESTRING, MULTILINESTRING

• Buildings•Parks & Gardens• Public Areas• Suburbs

POLYGON, MULTIPOLYGON

• Traffic lights• Railway stations

• Hotels• Points of interest

• Labels

POINT, MULTIPOINT

Page 28: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Spatial Features

• 2D Vector Data Support for two new data types:– Geography - Round-Earth data (latitude, longitude

coordinates)– Geometry - Flat-Earth data (x, y coordinate)

• Support for Point, Line and Area (Polygon) Objects + collections of such objects

• Over 70 T-SQL spatial methods• High performance spatial indexes• Spatial industry standards support• Symmetrical feature as in SQL Server 2008

Page 29: Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL Azure – Learn about the new features in SQL Azure –

Questions ?