01 dev room2_kung_fu_migration_scottklein_23kung fu migration to windows azure sql database
Post on 29-Nov-2014
572 Views
Preview:
DESCRIPTION
TRANSCRIPT
Kung-Fu Migration to Windows Azure SQL Database
Kung-Fu Migration to Windows Azure SQL Database
Scott KleinTechnical Evangelist@SQLScott
Agenda
DACFx & Import / Export ServiceSQL Server Data ToolsOther Migration ToolsBest Practices
DACFx & Import / Export Service
Terminology
Some DefinitionsDAC – Data-tier ApplicationDACFx – DAC FrameworkDACPAC –Schema only artifactBACPAC – Deployment artifact containing schema and data
DAC Fx (DAC Framework)
Client DAC ComponentsDACFX client library installed automatically by SQL ServerNo need for additional client libraries or MSIsWizards provided in SSMS to create and distribute DACPAC/BACPACSimplify packaging and deployment of databases
Import/Export Service
Simplified MigrationImport/Export between Windows Azure SQL Database and Blob StorageExport and Import a logical backup file (BACPAC) containing schema definition and dataCopy databases between SQL Database serversMigrate from SQL Server on-premises to SQL Database
On-Premises
SQL Database
Blob Storage
DACFxImport/Export
Service
SQL Database Service Import / Export
BACPACUpload/
Download
Architecture
Windows AzureBlob StorageSQL DatabaseDACFx Import/Export Service
Client-side Import/Export
BACPAC
Copy
Import / Export Request (REST)On-Premises
SQL Server 2005, 2008/R2, 2012DACFxClient-side Tools (SSMS and SSDT)
Service Benefits
Included with the ServiceAutomated Service EndpointIntegrated Portal ExperiencePerformance via data center side deploymentConnection ResiliencySelective ExportProgressive Status Reporting
Requirements
On-PremisesSQL Server 2012All necessary components are installed
SQL Server* 2008 R2, 2008, 2005Data-tier Application FrameworkScriptDOMSystem CLR Types
Windows AzureStorage AccountSQL Database Server
Note:The dependencies are not needed if you plan on only using the service
Limitations
Not SupportedSQL Variant Data TypeNo transactional consistencyDatabase must be SQL Database compatibleSecrets not migrated (passwords, encrypted procs, etc.)No support for SQL Server 2000
Demos
SQL Server Data Tools
SQL Server Data Tools
FoundationDeclarative, model based database developmentIntegrated ToolsApplication development integrationSQL Server and SQL Database SupportConnected and offline with local testingChange Detection
SQL Server Data Tools
Key BenefitsConnected DevelopmentProject Based DevelopmentSchema Deployment
Demo
Other Migration Tools
Additional Tools
Microsoft and 3rd PartyGenerate Scripts WizardBCPSSISSQL Database Migration WizardMigration Assistants
Considerations and Best Practices
Migration considerations
Things to Keep in MindData SizeData TypesFrequencyTransactional ConsistencyTechnology Proficiency
Consider the Options
Tools Schema
SQL Database Compat Checks
DataData
Transfer Efficiency
Notes
BCP No N/A Yes Good • Efficient transfer of data to existing table
SSMS Generate Scripts wizard
Yes Some Yes Poor• Good for smaller databases• Has explicit option for SQL Database script generation
SQL Server Import & Export Data
No N/A Yes Good• Simple UI on top of SSIS; also available in SSMS
SSIS No N/A Yes Good• Most flexibility
SQL Database Migration Wizard
Yes Yes Yes Good• Great capabilities; e.g. evaluate trace files• Open source on CodePlex;• Not supported by MSFT
DAC (BACPAC) Yes Yes Yes Good• Entity containing all database objects including data• Full SQL Database support
DAC Database Import/Export
Yes Yes Yes Good• Export/import of DAC plus data with DAC framework• Service for cloud-only support coming soon
SQL Database Copy Yes N/A Yes Good• Create transactionally consistent copy of SQL Database
instances• Currently within the same data center
Thank You!
top related