Presentation is loading. Please wait.

Presentation is loading. Please wait.

Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011.

Similar presentations


Presentation on theme: "Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011."— Presentation transcript:

1 Migrating Data to SQL Azure Arunraj Chandrasekaran http://www.SQLXpertise.com Twitter - @SQLXpertise June 21, 2011

2  Introduction  What data can be moved to SQL Azure ?  Preparation for Migration  Migration Tools  SQL Server / Azure Migration Assistants  Access  MySQL  SQL Azure Migration Wizard  DAC Database Import / Export  SQL Azure Sync Service  SQL Azure Database Copy  SSMS Generate Scripts, BCP, SSIS Agenda

3  SQL Azure Database  Highly available, and scalable cloud database service built on SQL Server technologies  SQL Azure Data Sync Service  Cloud-based data synchronization service built on Microsoft Sync Framework technologies. It provides bi- directional data synchronization and data management capabilities allowing data to be easily shared between multiple SQL Azure databases and between on-premises and SQL Azure databases Introduction

4 What data can be moved to SQL Azure ? SQL Server SQL Azure SQL Server SQL Azure

5  Clustered Index required for All Tables  Connection Handling  Database Size and Scaling  Features not supported  Encryption  SQL CLR  Cross Database Queries  SQL Server Agent  Database Mail  Full Text  Service Broker Preparation for Migration

6 ToolSchemaDataComments SQL Server Migration AssistantYes Supported by Microsoft, Free SQL Azure Migration WizardYes Not supported, Free, Open Source DAC v 1.0 (SQL Server 2008 R2)YesNoFull SQL Azure support DAC v 2.0 (SQL Server “Denali”)Yes Good, Still in Beta will be released along with Denali SQL Azure Data Sync ServiceYes Bi Directional, Support for migrating changes, multiple members SQL Azure Database CopyYes Only within SQL Azure SSMS Generate Scripts optionYesNo BCPNoYes SSIS / Import Export WizardNoYes Migration Tools

7  Free Tool available with Support from Microsoft  Supports Migration to SQL Server and Azure  Access ( http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4b37df74-7522-41cf-9c1a-01b6415d9608 )  MySQL ( http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ac017a90-3b53-49b6-92a7-0f91623ef530 )  Sybase ( http://go.microsoft.com/?linkid=9771006 )  Oracle (Currently Supports SQL Server, SQL Azure support will be released in future) ( http://www.microsoft.com/download/en/details.aspx?id=23945 )  Migrates Schema and Data SQL Server Migration Assistant DEMO

8  Free Available on http://sqlazuremw.codeplex.com/http://sqlazuremw.codeplex.com/  Support SQL Server 2005 / 2008 / 2008 R2 migration  Supports Schema Analysis and fixing of basic issues SQL Azure Migration Wizard DEMO

9  DAC Framework V 2.0 available in www.SQLAzureLabs.com as CLI www.SQLAzureLabs.com  Support for Schema and Data  Support Export data from SQL Azure and Import to SQL Server and vice versa  For more information about API, Please read http://msdn.microsoft.com/en- us/library/ff381683(SQL.100).aspx http://msdn.microsoft.com/en- us/library/ff381683(SQL.100).aspx DAC Import / Export v 2.0

10  Export Schema and Data DacImportExportCli.exe -s serverName.database.windows.net -d databaseName -f C:\filePath\exportFileName.bacpac -x -u userName -p password  Import Schema and Data DacImportExportCli.exe -s serverName.database.windows.net -d databaseName -f C:\filePath\exportFileName.bacpac -i –edition business –size 30 -u userName -p password  Drop Database and DACPAC DacImportExportCli.exe -s serverName.database.windows.net -drop databaseName -u userName -p password DAC Import / Export v 2.0 DEMO

11  Built on Sync Framework  No Code  Easy to configure  Support Bi-Directional and Unidirectional Sync  Conflict Handling  Logging and Monitoring  Change Tracking SQL Azure Data Sync Service DEMO

12  Supports Sync of selected Tables  Batch Transfers  Snapshot Isolation enabled for SQL Server databases  Currently in CTP2 ( http://connect.microsoft.com/sqlazurectps )  No Support for Views  Future Support  Row Filter  Option to define Conflict resolution policy SQL Azure Data Sync Service DEMO

13  Supports creating databases within SQL Azure server transiently  Supports across SQL Azure servers as well  Usage CREATE DATABASE destination_database_name AS COPY OF [source_server_name.] source_database_name SQL Azure Database Copy DEMO

14  Supports only Schema SSMS Generate Scripts DEMO

15  Supports exporting or import Text Files or CSV files  No support for Schema BCP DEMO

16  Support Data migration  No support for Schema SSIS / SQL Server Import Export Wizard DEMO

17 Free SQL Azure 30 Day Pass

18  SQL Azure MSDN - http://msdn.microsoft.com/en- us/windowsazure/sqlazure/cc500985http://msdn.microsoft.com/en- us/windowsazure/sqlazure/cc500985  SQL Azure Forums - http://social.msdn.microsoft.com/forums/en- US/ssdsgetstarted/threadshttp://social.msdn.microsoft.com/forums/en- US/ssdsgetstarted/threads  SQL Azure Team Blog - http://blogs.msdn.com/b/sqlazure/http://blogs.msdn.com/b/sqlazure/  Free Training Videos / Demos - http://sqlazure.codeplex.com/http://sqlazure.codeplex.com/  SQL Azure Labs - https://www.sqlazurelabs.com/https://www.sqlazurelabs.com/  My Blog – http://www.SQLXpertise.comhttp://www.SQLXpertise.com References


Download ppt "Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011."

Similar presentations


Ads by Google