Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL...
-
Upload
eleanor-lyons -
Category
Documents
-
view
217 -
download
0
description
Transcript of Interoperability. Session Objectives and Takeaways Session Objective(s): – Get up to speed on SQL...
![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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/1.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/2.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/3.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/4.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/5.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/6.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/7.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/8.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/9.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/10.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/11.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/12.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/13.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/14.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/15.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/16.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/17.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/18.jpg)
![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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/19.jpg)
![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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/20.jpg)
![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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/21.jpg)
![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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/22.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/23.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/24.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/25.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/26.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/27.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/28.jpg)
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 –](https://reader035.fdocuments.us/reader035/viewer/2022062523/5a4d1ae17f8b9ab05997730c/html5/thumbnails/29.jpg)
Questions ?