SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Kung-Fu Migration to Windows
Azure SQL Database
Kung-Fu Migration to Windows
Azure SQL Database

Scott Klein
Technical Evangelist
@SQLScott
Agenda

DACFx & Import / Export Service
SQL Server Data Tools
Other Migration Tools
Best Practices
Terminology


DAC – Data-tier Application
DACFx – DAC Framework
DACPAC –Schema only artifact
BACPAC – Deployment artifact containing schema and data
DAC Fx (DAC Framework)

DACFX client library installed automatically by SQL Server
No need for additional client libraries or MSIs
Wizards provided in SSMS to create and distribute DACPAC/BACPAC
Simplify packaging and deployment of databases
Import/Export Service

Import/Export between Windows Azure SQL Database and Blob Storage
Export and Import a logical backup file (BACPAC) containing schema definition and
data
Copy databases between SQL Database servers
Migrate from SQL Server on-premises to SQL Database
Architecture


Blob Storage
                                                                           SQL Database Service Import / Export
SQL Database
DACFx Import/Export Service                         BACPAC
                                     Blob            Copy
                                    Storage




                                     BACPAC
                                     Upload/
                                    Download




SQL Server 2005, 2008/R2, 2012
DACFx
Client-side Tools (SSMS and SSDT)
                                               Client-side Import/Export
Service Benefits

Automated Service Endpoint
Integrated Portal Experience
Performance via data center side deployment
Connection Resiliency
Selective Export
Progressive Status Reporting
Requirements

SQL Server 2012                          Storage Account
All necessary components are installed   SQL Database Server

SQL Server* 2008 R2, 2008, 2005
Data-tier Application Framework
ScriptDOM
System CLR Types
Limitations

SQL Variant Data Type
No transactional consistency
Database must be SQL Database compatible
Secrets not migrated (passwords, encrypted procs, etc.)
No support for SQL Server 2000
SQL Server Data Tools


Declarative, model based database development
Integrated Tools
Application development integration
SQL Server and SQL Database Support
Connected and offline with local testing
Change Detection
SQL Server Data Tools


Connected Development
Project Based Development
Schema Deployment
Additional Tools


Generate Scripts Wizard
BCP
SSIS
SQL Database Migration Wizard
Migration Assistants
Migration considerations


Data Size
Data Types
Frequency
Transactional Consistency
Technology Proficiency
Consider the Options
                                  SQL
                                                     Data
                                Database
 Tools                 Schema              Data    Transfer    Notes
                                 Compat
                                                  Efficiency
                                 Checks

 BCP                     No       N/A      Yes      Good       • Efficient transfer of data to existing table

 SSMS Generate                                                 • Good for smaller databases
                        Yes      Some      Yes      Poor       • Has explicit option for SQL Database script generation
 Scripts wizard
                                                               • Simple UI on top of SSIS; also available in SSMS
 SQL Server Import &
                         No       N/A      Yes      Good
 Export Data

                                                               • Most flexibility
 SSIS                    No       N/A      Yes      Good

                                                               • Great capabilities; e.g. evaluate trace files
 SQL Database
                        Yes       Yes      Yes      Good       • Open source on CodePlex;
 Migration Wizard                                              • Not supported by MSFT
                                                               • Entity containing all database objects including data
 DAC (BACPAC)           Yes       Yes      Yes      Good       • Full SQL Database support

 DAC Database                                                  • Export/import of DAC plus data with DAC framework
                        Yes       Yes      Yes      Good       • Service for cloud-only support coming soon
 Import/Export
                                                               • Create transactionally consistent copy of SQL Database
 SQL Database Copy      Yes       N/A      Yes      Good         instances
                                                               • Currently within the same data center
Thank You!

Weitere ähnliche Inhalte

Was ist angesagt?

SQL Server Reporting Services: IT Best Practices
SQL Server Reporting Services: IT Best PracticesSQL Server Reporting Services: IT Best Practices
SQL Server Reporting Services: IT Best PracticesDenny Lee
 
Choosing the right Cloud Database
Choosing the right Cloud DatabaseChoosing the right Cloud Database
Choosing the right Cloud DatabaseJanakiram MSV
 
SQL Server Database as a Cloud Service
SQL Server Database as a Cloud ServiceSQL Server Database as a Cloud Service
SQL Server Database as a Cloud ServicePio Balistoy
 
Microsoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckMicrosoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckGeorge Walters
 
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at Uber
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at UberWSO2Con USA 2017: Scalable Real-time Complex Event Processing at Uber
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at UberWSO2
 
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...Denny Lee
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsMichaela Murray
 
How Applications Manager helps with application performance monitoring
How Applications Manager helps with application performance monitoringHow Applications Manager helps with application performance monitoring
How Applications Manager helps with application performance monitoringManageEngine, Zoho Corporation
 
AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)Jovan Popovic
 
Introduction to Microsoft's Big Data Platform and Hadoop Primer
Introduction to Microsoft's Big Data Platform and Hadoop PrimerIntroduction to Microsoft's Big Data Platform and Hadoop Primer
Introduction to Microsoft's Big Data Platform and Hadoop PrimerDenny Lee
 
Performance Eye for the SQL Guy
Performance Eye for the SQL GuyPerformance Eye for the SQL Guy
Performance Eye for the SQL GuyWarwick Rudd
 
SQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DACSQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DACsqlserver.co.il
 
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esbWSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esbWSO2
 
Migrating Data and Databases to Azure
Migrating Data and Databases to AzureMigrating Data and Databases to Azure
Migrating Data and Databases to AzureKaren Lopez
 
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid ModelGeek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid ModelIDERA Software
 
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...Lucas Jellema
 

Was ist angesagt? (20)

SQL Server Reporting Services: IT Best Practices
SQL Server Reporting Services: IT Best PracticesSQL Server Reporting Services: IT Best Practices
SQL Server Reporting Services: IT Best Practices
 
Choosing the right Cloud Database
Choosing the right Cloud DatabaseChoosing the right Cloud Database
Choosing the right Cloud Database
 
SQL Server Database as a Cloud Service
SQL Server Database as a Cloud ServiceSQL Server Database as a Cloud Service
SQL Server Database as a Cloud Service
 
Designing for Cloud
Designing for Cloud Designing for Cloud
Designing for Cloud
 
Microsoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckMicrosoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deck
 
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at Uber
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at UberWSO2Con USA 2017: Scalable Real-time Complex Event Processing at Uber
WSO2Con USA 2017: Scalable Real-time Complex Event Processing at Uber
 
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
 
Oow2016 review--paas-microservices-
Oow2016 review--paas-microservices-Oow2016 review--paas-microservices-
Oow2016 review--paas-microservices-
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT Solutions
 
How Applications Manager helps with application performance monitoring
How Applications Manager helps with application performance monitoringHow Applications Manager helps with application performance monitoring
How Applications Manager helps with application performance monitoring
 
AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)AzureSQL Managed Instance (SQLKonferenz 2018)
AzureSQL Managed Instance (SQLKonferenz 2018)
 
Introduction to Microsoft's Big Data Platform and Hadoop Primer
Introduction to Microsoft's Big Data Platform and Hadoop PrimerIntroduction to Microsoft's Big Data Platform and Hadoop Primer
Introduction to Microsoft's Big Data Platform and Hadoop Primer
 
Performance Eye for the SQL Guy
Performance Eye for the SQL GuyPerformance Eye for the SQL Guy
Performance Eye for the SQL Guy
 
SQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DACSQL Explore 2012 - Meir Dudai: DAC
SQL Explore 2012 - Meir Dudai: DAC
 
Extending your data to the cloud
Extending your data to the cloudExtending your data to the cloud
Extending your data to the cloud
 
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esbWSO2 Advantage Webinar  WSO2 BAM2 Integration with mule esb
WSO2 Advantage Webinar WSO2 BAM2 Integration with mule esb
 
Migrating Data and Databases to Azure
Migrating Data and Databases to AzureMigrating Data and Databases to Azure
Migrating Data and Databases to Azure
 
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid ModelGeek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
 
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...
 
Lecture 9: Dynamic web application
Lecture 9: Dynamic web applicationLecture 9: Dynamic web application
Lecture 9: Dynamic web application
 

Ähnlich wie 01 dev room2_kung_fu_migration_scottklein_23Kung Fu Migration to Windows Azure SQL Database

Migrate SQL Server 2008 R2 to Azure Cloud
Migrate SQL Server 2008 R2 to Azure CloudMigrate SQL Server 2008 R2 to Azure Cloud
Migrate SQL Server 2008 R2 to Azure CloudRavi Yadav
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?James Serra
 
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business Intelligence
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business IntelligenceUNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business Intelligence
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business IntelligenceJonathan Pletzke
 
Sql source control
Sql source controlSql source control
Sql source controlAndyPickett
 
SQL Server 2008 Fast Track Data Warehouse
SQL Server 2008 Fast Track Data WarehouseSQL Server 2008 Fast Track Data Warehouse
SQL Server 2008 Fast Track Data WarehouseMark Ginnebaugh
 
Database CI Demo Using Sql Server
Database CI  Demo Using Sql ServerDatabase CI  Demo Using Sql Server
Database CI Demo Using Sql ServerUmesh Kumar
 
Migrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration ServiceMigrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration ServiceAmazon Web Services
 
Windows on AWS
Windows on AWSWindows on AWS
Windows on AWSDatavail
 
Exploring Scalability, Performance And Deployment
Exploring Scalability, Performance And DeploymentExploring Scalability, Performance And Deployment
Exploring Scalability, Performance And Deploymentrsnarayanan
 
Meetup developing building and_deploying databases with SSDT
Meetup developing building and_deploying databases with SSDTMeetup developing building and_deploying databases with SSDT
Meetup developing building and_deploying databases with SSDTSolidify
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platformgiventocode
 
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...Amazon Web Services
 
Migrating Enterprise BI to Azure
Migrating Enterprise BI to AzureMigrating Enterprise BI to Azure
Migrating Enterprise BI to AzureWlodek Bielski
 
PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...
PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...
PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...Sandy Winarko
 
Cloud Computing & Scaling Web Apps
Cloud Computing & Scaling Web AppsCloud Computing & Scaling Web Apps
Cloud Computing & Scaling Web AppsMark Slingsby
 
Gs08 modernize your data platform with sql technologies wash dc
Gs08 modernize your data platform with sql technologies   wash dcGs08 modernize your data platform with sql technologies   wash dc
Gs08 modernize your data platform with sql technologies wash dcBob Ward
 
Migrating Oracle Databases to AWS
Migrating Oracle Databases to AWSMigrating Oracle Databases to AWS
Migrating Oracle Databases to AWSAWS Germany
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and dockerBob Ward
 

Ähnlich wie 01 dev room2_kung_fu_migration_scottklein_23Kung Fu Migration to Windows Azure SQL Database (20)

Database Schema Management & Deployment using SQL Server Data Tools (SSDT)
Database Schema Management & Deployment using SQL Server Data Tools (SSDT)Database Schema Management & Deployment using SQL Server Data Tools (SSDT)
Database Schema Management & Deployment using SQL Server Data Tools (SSDT)
 
Migrate SQL Server 2008 R2 to Azure Cloud
Migrate SQL Server 2008 R2 to Azure CloudMigrate SQL Server 2008 R2 to Azure Cloud
Migrate SQL Server 2008 R2 to Azure Cloud
 
DAC 2012
DAC 2012DAC 2012
DAC 2012
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
 
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business Intelligence
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business IntelligenceUNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business Intelligence
UNC Chapel Hill Ctc Retreat 2014 SAS Visual Analytics and Business Intelligence
 
Sql source control
Sql source controlSql source control
Sql source control
 
SQL Server 2008 Fast Track Data Warehouse
SQL Server 2008 Fast Track Data WarehouseSQL Server 2008 Fast Track Data Warehouse
SQL Server 2008 Fast Track Data Warehouse
 
Database CI Demo Using Sql Server
Database CI  Demo Using Sql ServerDatabase CI  Demo Using Sql Server
Database CI Demo Using Sql Server
 
Migrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration ServiceMigrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration Service
 
Windows on AWS
Windows on AWSWindows on AWS
Windows on AWS
 
Exploring Scalability, Performance And Deployment
Exploring Scalability, Performance And DeploymentExploring Scalability, Performance And Deployment
Exploring Scalability, Performance And Deployment
 
Meetup developing building and_deploying databases with SSDT
Meetup developing building and_deploying databases with SSDTMeetup developing building and_deploying databases with SSDT
Meetup developing building and_deploying databases with SSDT
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platform
 
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
 
Migrating Enterprise BI to Azure
Migrating Enterprise BI to AzureMigrating Enterprise BI to Azure
Migrating Enterprise BI to Azure
 
PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...
PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...
PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...
 
Cloud Computing & Scaling Web Apps
Cloud Computing & Scaling Web AppsCloud Computing & Scaling Web Apps
Cloud Computing & Scaling Web Apps
 
Gs08 modernize your data platform with sql technologies wash dc
Gs08 modernize your data platform with sql technologies   wash dcGs08 modernize your data platform with sql technologies   wash dc
Gs08 modernize your data platform with sql technologies wash dc
 
Migrating Oracle Databases to AWS
Migrating Oracle Databases to AWSMigrating Oracle Databases to AWS
Migrating Oracle Databases to AWS
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and docker
 

Mehr von Microsoft Developer Network (MSDN) - Belgium and Luxembourg

Mehr von Microsoft Developer Network (MSDN) - Belgium and Luxembourg (20)

Code in the Cloud - Ghent - 20 February 2015
Code in the Cloud - Ghent - 20 February 2015Code in the Cloud - Ghent - 20 February 2015
Code in the Cloud - Ghent - 20 February 2015
 
Executive Summit for ISV & Application builders - January 2015
Executive Summit for ISV & Application builders - January 2015Executive Summit for ISV & Application builders - January 2015
Executive Summit for ISV & Application builders - January 2015
 
Executive Summit for ISV & Application builders - Internet of Things
Executive Summit for ISV & Application builders - Internet of ThingsExecutive Summit for ISV & Application builders - Internet of Things
Executive Summit for ISV & Application builders - Internet of Things
 
Executive Summit for ISV & Application builders - January 2015
Executive Summit for ISV & Application builders - January 2015Executive Summit for ISV & Application builders - January 2015
Executive Summit for ISV & Application builders - January 2015
 
Code in the Cloud - December 8th 2014
Code in the Cloud - December 8th 2014Code in the Cloud - December 8th 2014
Code in the Cloud - December 8th 2014
 
Adam azure presentation
Adam   azure presentationAdam   azure presentation
Adam azure presentation
 
release management
release managementrelease management
release management
 
cloud value for application development
cloud value for application developmentcloud value for application development
cloud value for application development
 
Modern lifecycle management practices
Modern lifecycle management practicesModern lifecycle management practices
Modern lifecycle management practices
 
Belgian visual studio launch 2013
Belgian visual studio launch 2013Belgian visual studio launch 2013
Belgian visual studio launch 2013
 
Windows Azure Virtually Speaking
Windows Azure Virtually SpeakingWindows Azure Virtually Speaking
Windows Azure Virtually Speaking
 
Inside the Microsoft TechDays Belgium Apps
Inside the Microsoft TechDays Belgium AppsInside the Microsoft TechDays Belgium Apps
Inside the Microsoft TechDays Belgium Apps
 
TechDays 2013 Developer Keynote
TechDays 2013 Developer KeynoteTechDays 2013 Developer Keynote
TechDays 2013 Developer Keynote
 
Windows Phone 8 Security Deep Dive
Windows Phone 8 Security Deep DiveWindows Phone 8 Security Deep Dive
Windows Phone 8 Security Deep Dive
 
Deep Dive into Entity Framework 6.0
Deep Dive into Entity Framework 6.0Deep Dive into Entity Framework 6.0
Deep Dive into Entity Framework 6.0
 
Applied MVVM in Windows 8 apps: not your typical MVVM session!
Applied MVVM in Windows 8 apps: not your typical MVVM session!Applied MVVM in Windows 8 apps: not your typical MVVM session!
Applied MVVM in Windows 8 apps: not your typical MVVM session!
 
Building SPA’s (Single Page App) with Backbone.js
Building SPA’s (Single Page App) with Backbone.jsBuilding SPA’s (Single Page App) with Backbone.js
Building SPA’s (Single Page App) with Backbone.js
 
Deep Dive and Best Practices for Windows Azure Storage Services
Deep Dive and Best Practices for Windows Azure Storage ServicesDeep Dive and Best Practices for Windows Azure Storage Services
Deep Dive and Best Practices for Windows Azure Storage Services
 
Building data centric applications for web, desktop and mobile with Entity Fr...
Building data centric applications for web, desktop and mobile with Entity Fr...Building data centric applications for web, desktop and mobile with Entity Fr...
Building data centric applications for web, desktop and mobile with Entity Fr...
 
Bart De Smet Unplugged
Bart De Smet UnpluggedBart De Smet Unplugged
Bart De Smet Unplugged
 

01 dev room2_kung_fu_migration_scottklein_23Kung Fu Migration to Windows Azure SQL Database

  • 1. Kung-Fu Migration to Windows Azure SQL Database
  • 2. Kung-Fu Migration to Windows Azure SQL Database Scott Klein Technical Evangelist @SQLScott
  • 3. Agenda DACFx & Import / Export Service SQL Server Data Tools Other Migration Tools Best Practices
  • 4.
  • 5. Terminology DAC – Data-tier Application DACFx – DAC Framework DACPAC –Schema only artifact BACPAC – Deployment artifact containing schema and data
  • 6. DAC Fx (DAC Framework) DACFX client library installed automatically by SQL Server No need for additional client libraries or MSIs Wizards provided in SSMS to create and distribute DACPAC/BACPAC Simplify packaging and deployment of databases
  • 7. Import/Export Service Import/Export between Windows Azure SQL Database and Blob Storage Export and Import a logical backup file (BACPAC) containing schema definition and data Copy databases between SQL Database servers Migrate from SQL Server on-premises to SQL Database
  • 8. Architecture Blob Storage SQL Database Service Import / Export SQL Database DACFx Import/Export Service BACPAC Blob Copy Storage BACPAC Upload/ Download SQL Server 2005, 2008/R2, 2012 DACFx Client-side Tools (SSMS and SSDT) Client-side Import/Export
  • 9. Service Benefits Automated Service Endpoint Integrated Portal Experience Performance via data center side deployment Connection Resiliency Selective Export Progressive Status Reporting
  • 10. Requirements SQL Server 2012 Storage Account All necessary components are installed SQL Database Server SQL Server* 2008 R2, 2008, 2005 Data-tier Application Framework ScriptDOM System CLR Types
  • 11. Limitations SQL Variant Data Type No transactional consistency Database must be SQL Database compatible Secrets not migrated (passwords, encrypted procs, etc.) No support for SQL Server 2000
  • 12.
  • 13.
  • 14. SQL Server Data Tools Declarative, model based database development Integrated Tools Application development integration SQL Server and SQL Database Support Connected and offline with local testing Change Detection
  • 15. SQL Server Data Tools Connected Development Project Based Development Schema Deployment
  • 16.
  • 17.
  • 18. Additional Tools Generate Scripts Wizard BCP SSIS SQL Database Migration Wizard Migration Assistants
  • 19.
  • 20. Migration considerations Data Size Data Types Frequency Transactional Consistency Technology Proficiency
  • 21. Consider the Options SQL Data Database Tools Schema Data Transfer Notes Compat Efficiency Checks BCP No N/A Yes Good • Efficient transfer of data to existing table SSMS Generate • Good for smaller databases Yes Some Yes Poor • Has explicit option for SQL Database script generation Scripts wizard • Simple UI on top of SSIS; also available in SSMS SQL Server Import & No N/A Yes Good Export Data • Most flexibility SSIS No N/A Yes Good • Great capabilities; e.g. evaluate trace files SQL Database Yes Yes Yes Good • Open source on CodePlex; Migration Wizard • Not supported by MSFT • Entity containing all database objects including data DAC (BACPAC) Yes Yes Yes Good • Full SQL Database support DAC Database • Export/import of DAC plus data with DAC framework Yes Yes Yes Good • Service for cloud-only support coming soon Import/Export • Create transactionally consistent copy of SQL Database SQL Database Copy Yes N/A Yes Good instances • Currently within the same data center