Download presentation
Presentation is loading. Please wait.
1
Migrate SQL Server Apps to SQL Azure Cloud DB
9/29/ :45 AM Migrate SQL Server Apps to SQL Azure Cloud DB Joe D’Antoni, Synthes © 2007 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.
2
Session Objectives and Takeaways
Overview of SQL Azure Cloud DB Migrate application databases to Azure Demonstrate database migration from SQL Server to Cloud Application Database Deployment with Data-Tier Application
3
SQL Azure Database The first and only true relational database as a service
Subtitle color Self-managed Elastic Scale Developer Agility Easy provisioning and deployment Auto high-availability and fault tolerance Self-maintaining infrastructure; self-healing No need for server or VM administration Database utility; pay as you grow Flexible load balancing Business-ready SLAs Enable multi-tenant solutions World-wide presence Build cloud-based database solutions on consistent relational model Leverage existing skills through existing ecosystem of developer and management tools Explore new data application patterns
4
Multiple Physical Replicas
9/29/ :45 AM SQL Azure Database Single Logical Database Multiple Physical Replicas Replica 1 Single Primary Based on SQL Server 2008 R2 engine Use same tools and data access frameworks Six global datacenters High Availability & Redundancy Reads are completed at the primary Writes are replicated to a quorum of secondaries Replica 2 DB Slide Objective Use this slide to transition into an explanation of SQL Azure Database (Reporting and Data Sync will be covered later) Explain at a high level how SQL Azure works Speaker Notes Design Principle of SQL Azure: Focus on combining the best features of SQL Server running at scale with low friction SQL Azure is a high availability database Always three transaction consistent replicas of the database One primary replica; two slave replicas Failure of a replica will result in another replica being spun up immediately by the fabric Failure of the primary replica means a slave replica will become the primary and a new slave will spin up Minimal down time Typically just a few dropped connections Easy to code for the failover scenario- if you are ding god connection management and error handling will be fine Clustered index required on all tables to allow replication Notes Useful article from SQL Azure team Replica 3 Multiple Secondaries © 2007 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.
5
Application Topologies
SQL Azure access from within MS Datacenter (Azure compute) SQL Azure Access from outside MS Datacenter (On-premises) SQL Azure Access from within and outside MS Datacenter (On-premises & Azure Compute) SQL Server App code/ Tools Application/ Browser App code/ Tools SOAP/REST HTTP/S Astoria/REST - EDM HTTP/S Windows Azure App Code (ASP.NET) SQL Azure Data Sync App Code (ASP.NET) T-SQL (TDS) T-SQL (TDS) T-SQL (TDS) SQL Azure Windows Azure SQL Azure SQL Azure Code Near Code Far Hybrid
6
SQL Azure Database Management
9/29/ :45 AM SQL Azure Database Management demo © 2007 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.
7
9/29/ :45 AM Application Migration from On-Premises SQL Server to SQL Azure in the Cloud demo © 2007 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.
8
Database Migration from SQL Server to SQL Azure
9/29/ :45 AM Database Migration from SQL Server to SQL Azure demo © 2007 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.
9
On-Premises (Headquarters)
Introducing SQL Azure Data Sync ”Synchronization of SQL Server and SQL Azure Databases” CTP1 (Now) SQL Azure Database Sync Sync SQL Azure Data Sync Remote Offices Retail Stores Sync Sync Sync Sync Sync CTP2 On-Premises (Headquarters)
10
On-Premises to Cloud Symmetry
SQL Server to SQL Azure Sync SQL Azure Benefits Makes cloud extension rather than replacement Enables moving workload to cloud in stages preserving investment in existing infrastructure New scenarios spanning enterprise, cloud Sync
11
SQL Azure to SQL Azure Synchronization
Benefits Geo-synchronization of data across data centers Scale-out read or read/write
12
Extending Data to Retail and Remote Offices
SQL Azure to SQL Server Sync Benefits Share data with remote and retail offices, bringing data closer to the end-users Lower latency – data access doesn’t require round trips Higher availability – app still runs if server is unreachable Reduced network utilization – most data access is local SQL Azure
13
Sync End to End Scenarios
SQL Azure Data Sync CTP1 (Available now from Offline Applications Sync Sync Sync Sync On-Premises Applications Sync Sync Sync SQL Azure Database Sync Sync Sync Microsoft Sync Framework 4.0 CTP available now! Retail & Remote Offices SQL Azure Data Sync CTP2 (Coming in near future) SQL Azure Data Sync
14
Data Tier Applications
Data-Tier Application Project (Departmental apps in V1) New feature in SQL Server 2008 R2 Allows developers to own the database schema and definitions Still needs work (more to come) Microsoft seems to have invested deeply to build this, so it will get better (hopefully) Interacts with SQL Azure—this is one method of deploying application code there Visual Studio Build .dacpac SQL Azure Deploy
15
Software Requirements
So what are the requirements for this? It is part of Visual Studio 2010 functionality. Additionally, to deploy data-tier applications, you need to running SQL 2008 R2 (enterprise
16
What’s in a DACPAC? This is a view of an expanded DACPAC—as you can see it consists of 3 SQL scripts—the main schema script and any pre and post deployment scripts. There are a couple of XML files that define the physical and logical models around the data. As vendors begin to use this technology as method to roll out databases for their technology, as DBAs this will be the place where we can preview their schema and identify any potential issues. Also, not that you would do this, but always review code in a dacpac you downloaded from an unknown source, to ensure that there isn’t any malicious code. In Visual Studio Premium and higher, you can compare two DACPAC schema files, or just use a file comparison tool.
17
Application Deployment to SQL Azure using Data Tier Applications
9/29/ :45 AM Application Deployment to SQL Azure using Data Tier Applications demo © 2007 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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.