Successfully migrate existing databases to Azure SQL Database. John Sterrett Principal Consultant

Similar documents
Azure SQL Database Training. Complete Practical & Real-time Trainings. A Unit of SequelGate Innovative Technologies Pvt. Ltd.

Database Administration for Azure SQL DB

Index. Pranab Mazumdar, Sourabh Agarwal, Amit Banerjee 2016 P. Mazumdar et al., Pro SQL Server on Microsoft Azure, DOI /

SQL Server in Azure. Marek Chmel. Microsoft MVP: Data Platform Microsoft MCSE: Data Management & Analytics Certified Ethical Hacker

Manohar Punna. Azure Database Migration Choosing the Right Tier

The Freedom to Choose

Randy Pagels Sr. Developer Technology Specialist DX US Team AZURE PRIMED

Azure SQL Database Training. Complete Practical & Real-time Trainings. A Unit of Sequel Gate Innovative Technologies Pvt. Ltd.

Kathryn Varrall. The secret sauce to successful database migrations

Welcome to the. Migrating SQL Server Databases to Azure

SQL Server Databases in the Clouds

17/05/2017. What we ll cover. Who is Greg? Why PaaS and SaaS? What we re not discussing: IaaS

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

Administering a SQL Database Infrastructure (M20764)

Monitoring & Tuning Azure SQL Database

Developing Microsoft Azure Solutions (70-532) Syllabus

20533B: Implementing Microsoft Azure Infrastructure Solutions

exam.100q. Number: Passing Score: 800 Time Limit: 120 min Provisioning SQL Databases

Q&As Provisioning SQL Databases (beta)

SQL Server Course Administering a SQL 2016 Database Infrastructure. Length. Prerequisites. Audience. Course Outline.

Administering Microsoft SQL Server 2012/2014 Databases

70-532: Developing Microsoft Azure Solutions

Administering Microsoft SQL Server Databases

Course 20533B: Implementing Microsoft Azure Infrastructure Solutions

Azure SQL Database. Indika Dalugama. Data platform solution architect Microsoft datalake.lk

Azure SQL Database for Gaming Industry Workloads Technical Whitepaper

SERVERS TO SERVICES HOW MICROSOFT AZURE CAN MODERNISE YOUR IT INFRASTRUCTURE. Joey Lau 9 November 2017

Designing Database Solutions for Microsoft SQL Server 2012

70-532: Developing Microsoft Azure Solutions

Implementing Microsoft Azure Infrastructure Solutions

Administering Microsoft SQL Server 2012 Databases

Infrastructure modernization with Microsoft Azure

Designing Modern Apps Using New Capabilities in Microsoft Azure SQL Database. Bill Gibson, Principal Program Manager, SQL Database

Choosing your database migration path to Azure

Basic knowledge of the Microsoft Windows operating system and its core functionality.

Developing Microsoft Azure Solutions (70-532) Syllabus

Administering a SQL Database Infrastructure Microsoft Official Curriculum (MOC 20764)

Updating your Database Skills to Microsoft SQL Server 2012

Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led

SQL Server Managed Instance PaaS offering with IaaS functionality

Things I Learned The Hard Way About Azure Data Platform Services So You Don t Have To -Meagan Longoria

Developing Microsoft Azure Solutions (70-532) Syllabus

Actual4Dumps. Provide you with the latest actual exam dumps, and help you succeed

Microsoft Design and Implement Cloud Data Platform Solutions. Download Full version :

COURSE 10977A: UPDATING YOUR SQL SERVER SKILLS TO MICROSOFT SQL SERVER 2014

Designing Database Solutions for Microsoft SQL Server 2012

Exam : Implementing Microsoft Azure Infrastructure Solutions

"Charting the Course... MOC B Updating Your SQL Server Skills to Microsoft SQL Server 2014 Course Summary

Microsoft SQL Server" 2008 ADMINISTRATION. for ORACLE9 DBAs

Duration: 5 Days Course Code: M20764 Version: B Delivery Method: Elearning (Self-paced)

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database

Microsoft Administering Microsoft SQL Server 2014 Databases

[AVNICF-MCSASQL2012]: NICF - Microsoft Certified Solutions Associate (MCSA): SQL Server 2012

How Microsoft Built MySQL, PostgreSQL and MariaDB for the Cloud. Santa Clara, California April 23th 25th, 2018

Microsoft SQL Server Database Administration

The Pathway to the Cloud Using Azure SQL Managed Instance

MS-20462: Administering Microsoft SQL Server Databases

Microsoft Azure Course Content

Manual Trigger Sql Server 2008 Insert Multiple Rows At Once

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database

Browser.

SQL Server 2014 Private and Hybrid Cloud Features. Darmadi Komo Senior Technical Product Marketing Mgr, SQL Server Product Mgmt

Azure Certification BootCamp for Exam (Developer)

MS SQL Server DBA Training Course. Table of Contents

Administering a SQL Database Infrastructure

[MS10992]: Integrating On-Premises Core Infrastructure with Microsoft Azure

Training 24x7 DBA Support Staffing. Administering a SQL Database Infrastructure (40 Hours) Exam

Provisioning SQL Databases

Administering Microsoft SQL Server Databases

Javier Villegas. Azure SQL Server Managed Instance

Modern Data Warehouse The New Approach to Azure BI

Pointnext. Services for Database Modernization Destination: Easy on-ramp to hybrid cloud with SQL. Kevin Lange HPE Master Database Architect HPES02

COURSE 20462C: ADMINISTERING MICROSOFT SQL SERVER DATABASES

Sponsored by. Transform your business with Azure and Office 365

Course AZ-100T01-A: Manage Subscriptions and Resources

Implementing a Software-Defined DataCenter

Provisioning SQL Databases

Designing Database Solutions for Microsoft SQL Server 2012

SQL Server DBA Course Content

5/24/ MVP SQL Server: Architecture since 2010 MCT since 2001 Consultant and trainer since 1992

Maintaining a Microsoft SQL Server 2008 Database (Course 6231A)

SQL Server 2014 Training. Prepared By: Qasim Nadeem

Updating your Database Skills to Microsoft SQL Server 2012

Databases in Azure Practical Exercises

Design and implement cloud data platform solutions.

Administering Microsoft SQL Server 2012 Databases

20764C: Administering a SQL Database Infrastructure

Copy Table From One Database To Another Sql

Manually Create Distribution Database Sql Server 2008

Course Outline: Designing, Optimizing, and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

Azure Webinar. Resilient Solutions March Sander van den Hoven Principal Technical Evangelist Microsoft

SQL Azure. Abhay Parekh Microsoft Corporation

SQL Server SQL Server 2008 and 2008 R2. SQL Server SQL Server 2014 Currently supporting all versions July 9, 2019 July 9, 2024

Changes Schema Of Table Procedure Sql 2008 R2 Replication

Copyright Heraflux Technologies. Do not redistribute or copy as your own. 1

Microsoft Implementing a Software-Defined DataCenter

Implementing a Software Defined Datacenter

Microsoft Administering a SQL Database Infrastructure

Most SQL Servers run on-premises. This one runs in the Cloud (too).

MCSA SQL SERVER 2012

Transcription:

Successfully migrate existing databases to Azure SQL Database John Sterrett Principal Consultant

Common Migration failures Plan Test Execute Manage

Free Reference Material Videos, Reference Links, Tips, and slide deck can be found at http://azuresqldbresources.procuresql.com/

Agenda Where Should My Data Go? How do I plan a successful migration? How to migrate my Data? How to leverage PaaS Benefits? What am I responsible for Post Migration?

5 About John Sterrett john@procuresql.com @johnsterrett johnsterrett.com procuresql.com linkedin.com/in/johnsterrett

Three reasons people are migrating?

Cost Comparison Qty Item Cost Total Cost Five Years Ten Years 2 PowerEdge R930 2xE7-8893 v4 (16 cores) 54,224.05 $108,448.10 $21,689.62 $10,844.81 8 SQL 2016 Enterprise Cores (2 Core Pack) 14,256.00 $114,048.00 $22,809.60 $11,404.80 Support Power $222,496.10 $44,499.22 $22,249.61 4 PowerEdge R930 2xE7-8893 v4 (16 cores) 54,224.05 $216,896.20 $43,379.24 $21,689.62 16 SQL 2016 Enterprise Cores (2 Core Pack) 14,256.00 $342,144.00 $68,428.80 $34,214.40 Support Power $559,040.20 $111,808.04 $55,904.02 Monthly Yearly Premium Elastic Database -edtu 250 1,398.72 $16,784.64 Support (Standard) 300.00 $3,600.00 Power $0.00 $20,384.64 Premium Elastic Database - edtu 1500 8,370.00 $100,440.00 Support (Professional Direct) 1,000.00 $12,000.00 $112,440.00 P11 Single Database 7,001.04 $84,012.48 Support (Professional Direct) 1,000.00 $12,000.00 $96,012.48

Security Enhancements Firewall Secure Connections Data In Flight Data At Rest Audit Threat Detection

Azure SQL Features Security Azure Data Sync Active Geo- Replicas Performance Insight Automated Tuning Adaptive Query Processing

Features Supported https://docs.microsoft.com/en-us/azure/sql-database/sql-database-features

Where Should My Data Go? Single Database (PaaS) Elastic Pool (PaaS) Managed Instance (PaaS) SQL VM (IaaS)

Pricing Models DTU [single database] edtu [elastic pool] vcore Hyperscale (Preview)

What is DTU? Image Source: Microsoft Docs

DTU vs vcore? Image Source: Microsoft Docs

vcore to DTU ratio Each 100 DTU in Standard tier requires at least 1 vcore in General Purpose tier Each 125 DTU in Premium tier requires at least 1 vcore in Business Critical tier

Pricing DTU vs vcore

What performance tier should we use? Dtucalculator.azurewebsites.net

DTU Calculator Results

Migrating Your Data To Azure SQL Database Schema + Data = Migration

Options to Move Your Data BACKPAC Transactional Replication Data Migration Service Restore Backup (Managed Instance)

Migrating to Azure SQL Database Assess DB (DMA) Prepare Fixes Implement Fixes Export Bacpac Import Bacpac https://azure.microsoft.com/en-us/documentation/articles/sql-database-cloud-migrate/

Migrate Schema with Data Migration Assistant

Select Tables to Move

Deploy with SSMS

Migrate with SQLPackage.exe

Easy Guide to Quickly Migrating Data Increase Tier Copy Data Reduce Tier

Migrating 60GB Database with S0

Overloading during Bulk Insert

Migrating a 60gb Database to P1

How do you manage Azure SQL Databases Today?

Biggest Database Management Mistake.. Create it and forget it

Manage Azure SQL DB Post Migration Business continuity Disaster Recovery Security and Compliance Sync Data Data Transfer Monitor and Improve Performance

High Availability with Failover Groups

Azure Database Maintenance Integrity Checks source Backups?? Restores (you control) Point in Time Deleted Database Geo Restore Index Maintenance Ola Hallengren Solution Works ;-) Statistics Maintenance GEO Replication / Failover Groups

Automating Maintenance Tasks Azure SQL Agent (Managed Instance Only) Linked Server PowerShell Azure Azure Automation Azure Elastic Jobs

Alerts

How do you monitor and improve performance?

DTU in Azure Portal Photo Credit

What the DTU. Did anyone understand what DTU Means? What is Power of database based on real-world measure?

What Really is DTU? Photo Credit http://bit.ly/azuredtu

DTU Is.. DTU = DTU Percent * DTU Limit

DTU Percent (SELECT Max(v) FROM (VALUES (avg_cpu_percent), (avg_data_io_percent), (avg_log_write_percent)) AS value(v)) AS [avg_dtu_percent]

Calculating DTU ISNULL(dtu_limit,0) * (SELECT Max(v) FROM (VALUES (avg_cpu_percent), (avg_data_io_percent), (avg_log_write_percent)) AS value(v)) / 100.0 AS DTU

SYS.DM_DB_RESOURCE_STATS User Database Captured Every Fifteen Seconds One Hour Historical Data Idle Database has Data

SYS.RESOURCE_STATS Master Database Every Five Minutes 14 Days Historical Data Idle databases may not have rows

DTU DMV Example

Azure Wait Stats

Azure SQL Database Waits Disk Usage Log Usage CPU IO_QUEUE_LIMIT LOG_RATE_GOVERNOR SOS_SCHEDULER_YIELD bit.ly/azuresqlwaits

Wait Statistics

CPU Throttling

I/O Throttling

Indexes in Azure SQL Database Automated Create Index Automated Drop Index Index Fragmentation Missing Indexes Index Usage Queries Missing Indexes

Automated Index Tuning

Azure SQL Database Tuning Tools

Azure SQL Database Performance Tools Query Store DMVs Extended Events Azure Portal Query Performance Insight Auto-Tuning Index

Query Store

Query Performance Insight

Automatic Tuning

Thank you! john@procuresql.com @johnsterrett johnsterrett.com procuresql.com linkedin.com/in/johnsterrett Free Helpful Content http://azuresqldbresources.procuresql.com/