dbi services Antonio De Santo Stéphane Haby Migration to SQL Server 2012 Consultant Consultant dbi services 1

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

SQL Server DBA Course Content

COURSE 20462C: ADMINISTERING MICROSOFT SQL SERVER DATABASES

Designing Database Solutions for Microsoft SQL Server (465)

MS-20462: Administering Microsoft SQL Server Databases

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

Chapter 1: Introducing SQL Server

Designing Database Solutions for Microsoft SQL Server 2012

Microsoft SQL Server" 2008 ADMINISTRATION. for ORACLE9 DBAs

70-459: Transition Your MCITP: Database Administrator 2008 or MCITP: Database Developer 2008 to MCSE: Data Platform

Designing Database Solutions for Microsoft SQL Server 2012

Microsoft. Designing Business Intelligence Solutions with Microsoft SQL Server 2012

Introduction... xxxi Chapter 1: Introducing SQL Server In Depth... 2

Designing Database Solutions for Microsoft SQL Server 2012

SQL Server 2014 Training. Prepared By: Qasim Nadeem

Microsoft TechNet Academy UPDATING YOUR SQL SERVER 2005 SKILLS TO

Administering Microsoft SQL Server 2012/2014 Databases

Administering Microsoft SQL Server Databases

DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE

Provisioning SQL Databases

Provisioning SQL Databases

ADMINISTERING MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE

Synergetics-Standard-SQL Server 2012-DBA-7 day Contents

BI, Big Data, Mission Critical. Eduardo Rivadeneira Specialist Sales Manager

Hardware Intel Core I5 and above 4 GB RAM LAN Connectivity 500 MB HDD (Free Space)

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

Updating your Database Skills to Microsoft SQL Server 2012

Updating Your Skills to SQL Server 2016

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

Looking Into the New and Improved Functionality of SQL 2008

Provisioning SQL Databases

Microsoft Exchange Server 2007 Implementation and Maintenance

Updating your Database Skills to Microsoft SQL Server 2012

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

Changes Schema Of Table Procedure Sql 2008 R2 Replication

Administering Microsoft SQL Server 2012 Databases

Ray Rankins. Paul Bertucci. Chris Gallelli UNLEASHED. 800 East 96th Street, Indianapolis, Indiana USA

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database

Number: Passing Score: 800 Time Limit: 120 min File Version:

20462: Administering Microsoft SQL Server 2014 Databases

Course 6231A: Maintaining a Microsoft SQL Server 2008 Database

Manufacturing Process Intelligence DELMIA Apriso 2017 Installation Guide

MS SQL Server 2012 DBA Course Contents

6 SSIS Expressions SSIS Parameters Usage Control Flow Breakpoints Data Flow Data Viewers

6231B - Version: 1. Maintaining a Microsoft SQL Server 2008 R2 Database

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

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

Microsoft Administering Microsoft SQL Server 2012/2014 Databases. Download Full version :

Course Outline. Upgrading Your Skills to SQL Server 2016 Course 10986A: 3 days Instructor Led

Administering Microsoft SQL Server 2012 Databases

Kathryn Varrall. The secret sauce to successful database migrations

Oracle Database 11g for Experienced 9i Database Administrators

MCTS: SQL Server 2008 Implementation and Maintenance

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

Microsoft Administering a SQL Database Infrastructure.

20464: Developing Microsoft SQL Server 2014 Databases

20762B: DEVELOPING SQL DATABASES

SQL Server 2005: Each Microsoft SQL Server 2005 component is designed. Preparing for a Smooth Upgrade

SQL Server Development 20762: Developing SQL Databases in Microsoft SQL Server Upcoming Dates. Course Description.

Course Description. Audience. Prerequisites. At Course Completion. : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs

"Charting the Course... MOC C: Developing SQL Databases. Course Summary

VISIO DATABASE DIAGRAM SQL SERVER

Developing SQL Databases

Microsoft Developing SQL Databases

Manual Trigger Sql Server 2008 Insert Multiple Rows At Once

Reporting On Backups And Db Schema Project Server 2010

MSBI( SSAS, SSIS, SSRS) Course Content:35-40hours

Microsoft. Designing Database Solutions for Microsoft SQL Server 2012

Implementing a SQL Data Warehouse

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

SQL Server New innovations. Ivan Kosyakov. Technical Architect, Ph.D., Microsoft Technology Center, New York

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

Maintaining a Microsoft SQL Server 2008 R2 Database

Microsoft SQL Server Database Administration

Venezuela: Teléfonos: / Colombia: Teléfonos:

HPE IMC Windows Migration Guide

Availability and Performance for Tier1 applications

MCSE Data Management and Analytics. A Success Guide to Prepare- Developing Microsoft SQL Server Databases. edusum.com

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

VMware AirWatch Database Migration Guide A sample procedure for migrating your AirWatch database

Embracing the New Mission Critical with Microsoft SQL Server 2012

Copy Table From One Database To Another Sql

20767B: IMPLEMENTING A SQL DATA WAREHOUSE

Microsoft. [MS20762]: Developing SQL Databases

Oracle Database 11g: New Features for Administrators DBA Release 2

MCSA SQL SERVER 2012

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Welcome to SQL Server Integration Services 1. Chapter 2: The SSIS Tools 21

FIVE BEST PRACTICES FOR ENSURING A SUCCESSFUL SQL SERVER MIGRATION

Pervasive Insight. Mission Critical Platform

QA Microsoft Designing Business Intelligence Solutions with Microsoft SQL Server 2012

Implementing a SQL Data Warehouse

SQL Server 2014 Performance Tuning and Optimization

Developing SQL Databases (762)

WHAT S NEW IN SQL SERVER 2016 REPORTING SERVICES?

Administering a SQL Database Infrastructure (M20764)

How To Export Database Diagram Sql Server 2008 To Excel

Recently Updated Dumps from PassLeader with VCE and PDF (Question 1 - Question 15)

SQL Server Code Name Denali -2012

Course 20764: Administering a SQL Database Infrastructure

Exam Questions

Transcription:

dbi services Migration to SQL Server 2012 Antonio De Santo Consultant Stéphane Haby Consultant 1 www.dbi-services.com 26.04.2012

dbi services Migration to SQL Server 2012 Agenda i. Introduction ii. Why? iii. How? iv. After v. Conclusion 2 www.dbi-services.com 26.04.2012

Introduction what is your migration? You have SQL Server You have another RDBMS 3 www.dbi-services.com 26.04.2012

Introduction SQL Server generation 7.0 2000 2005 2008/R2 2012 Migration between distant generations are more difficult Only 2 generations away for a migration: Migration from 2000 to 2012 requires an intermediate step 4 www.dbi-services.com 26.04.2012

dbi services Migration to SQL Server 2012 Agenda i. Introduction ii. Why? iii. How? iv. After v. Conclusion 5 www.dbi-services.com 26.04.2012

Why? From SQL 2000 to 2005 Solid offering for departmental and mid-market IT and enhanced enterprise data platform: SQL Server Management Studio High Availability: Database mirroring, piecemeal restore, indexation online Partitioning (tables and indexes) XQuery and CLR Snapshot isolation Service broker

Why? From SQL 2005 to 2008 Comprehensive data platform solution for the enterprise: Resource governor Transparent data encryption Auditing Data and backup compression Policy-based management New data types (spatial, dates, and time) Filestream New cube designer Write-back to MOLAP SSAS performance and scale

Why? From SQL 2008 to 2008R2 Comprehensive, integrated data management and business intelligence (BI): PowerPivot for Microsoft SharePoint Report Builder 3.0 Support for up to 256 logical processors Master data services Multi-server management Data-tier application component (DAC) Complex event processing System preparation Unicode compression

Why? From SQL 2008R2 to 2012 Facility to manage High availability, performance features: AlwaysOn Windows Server Core support ColumnStore Index Visual Studio 2010 & SQL Data Tools FileTable Contained Databases Sequences, new functions PowerView MDS, DQS

Why? SQL Server & OS SQL Server 2000: Not available of Windows 2008 & 2008 R2 SQL Server 2005: Windows 2000 SP4, 2003 SP1 & 2008(SP2 for SQL Server) SQL Server 2008: Windows 2003/R2 SP2, 2008 & 2008 R2(SP1 for SQL Server) SQL Server 2008 R2: Windows 2003/R2 SP2, 2008 SP2 & 2008 R2 SQL Server 2012: Windows 2008 SP2 & 2008 R2 SP1 Windows 2008 R2 SP1 server Core

Why? Microsoft support SQL Version Mainstream Support Extended Support SQL Server 2000 SP4 08.04.2008 09.04.2013 SQL Server 2005 SP4 12.04.2011 12.04.2016 SQL Server 2008 14.01.2014 08.01.2019 SQL Server 2008 R2 14.01.2014 08.01.2019 Windows Version Mainstream Support Extended Support Windows Server 2000 30.06.2005 13.07.2010 Windows Server 2003 13.07.2010 17.07.2015 Windows Server 2008 09.07.2013 10.07.2018 Windows Server 2008 R2 09.07.2013 10.07.2018

dbi services Migration to SQL Server 2012 Agenda i. Introduction ii. Why? iii. How? iv. After v. Conclusion 12 www.dbi-services.com 26.04.2012

How? Microsoft Assessment and Planning MAP version 6.5 Functions Discovery and inventory Database Consolidation Appliance SQL Server Licencing Detail reporting Link: http://technet.microsoft.com/en-us/solutionaccelerators/dd537572.aspx

How? SQL Server update Platform change? Db granular control? Fallback? parallel versions? Parallel update Direct update

How? Direct update SQL Server 2008 R2: Since 2000 SP4, 2005 SP2 & 2008 SQL Server 2012: Since 2005 SP2, 2008 & 2008 R2 Simple Fast Same server for applications Update System Data's little control non-granular Downtime No fallback (need a reinstall)

How? Direct update BEGIN Prerequisites installation Check Binaries installation Stop Services redirects services to the new version Single user Start Attach resource db Stop Services Restart services Update all databases Update Scripts Delete old binaries END

How? Parallel update New instance or Server Backup/restore or attach/detach Change platform Can be tested Db granularity Fallback Complex Volumes copy Change instance or/and server name

How? Preparation checklist Schedule Known your applications Document and analyze the source platform Test and compare the application s behavior Document the scenario and the migration procedure Script and automate the migration Test the scenario and test turning back Check your backups "I love it when a plan comes together"

How? Preparation Security: users/logins mapping ALTER USER user WITH LOGIN = login Clonage : http://support.microsoft.com/kb/918992 Transfer SQL Agent jobs Script or SSIS job Maintenance plan DTS / SSIS Verify / Revise / Recopy Migrate DTS to SSIS package Others Stored procedure in master SQL Mail

How? SQL Server Upgrate Advisor Analysis of several components, including DTS Analysis of traces or SQL queries files Displays a detailed report Provides actions to take before and after the update... But does not replace the test

How? Documentation Uses Tools SQLDiag.exe Sp_configure, sp_dboption storage, network, security configuration SQL Agent Job DTS / SSIS Performance's monitoring Perfmon SQL Profiler Application s response time

dbi services Migration to SQL Server 2012 Agenda i. Introduction ii. Why? iii. How? iv. After v. Conclusion 22 www.dbi-services.com 26.04.2012

After... Tests before migration Is essential Migration changes the performance of my queries and stored Procedures in good and sometimes in bad! An update change your RDBMS Engine The optimizer behavior is different Query plans are different Procedure s cache management is different

After... Analysis Tools SQL Profiler Capture activity Replay and recapture RML Utilities (Traces from 2000 to 2008R2 not 2012) ReadTrace Replay & Reports Distributed Replay (Traces from 2005 to 2012) The optimizer behavior is different Query plans are different Procedure s cache management is different

After... Improve performances Update statistics (FULL SCAN if possible) Review or delete query hints Rewrite queries Measure tempdb usage Check query plans, using the DTA Use the new features Partionning Columns Store index, filtered indexes

After... Checklist Review all log (eventlogs, errorlogs) Check the integrity DBCC CHECKDB ( For SQL 2000: DBCC UPDATEUSAGE) Check the scheduled tasks and maintenance plans Check the security Update statistics Reconfigure and use the new features Perform validation tests, including fallback After validation: decommission / uninstall the old servers

dbi services Migration to SQL Server 2012 Agenda i. Introduction ii. Why? iii. How? iv. After v. Conclusion 27 www.dbi-services.com 26.04.2012

Conclusion SQL Server Migration Assistant Free download For Sybase, Oracle, MySQL or Access Migrate to 2005, 2008/R2, 2012 or Azure Provide an estimate report Automates main operations Data types mapping Objects Migration Data Migration

Conclusion SSIS Packages for Data Migration Generator Develop by Pascal Belaud, Microsoft France Automatic generation of SSIS Packages for data s transfer from all OLE DB connector to SQL Server Free on codeplex: http://ssisgenerator.codeplex.com

Conclusion SQL Server Analysis Services Structural changes No virtual cubes No virtual dimensions Direct upgrade supported Parallel upgrade with MigrationWizard.exe Install backward compatibility

Conclusion SQL Server Reporting Services Since Reporting Services 2008 Not on IIS uses native http.sys Direct upgrade supported Manually Upgrading to a SQL database using SSRS 2000 in remote

dbi services Any Questions? Please Do Ask! Antonio De Santo Consultant Stéphane Haby Consultant We look forward to working with you! 32 www.dbi-services.com 26.04.2012