Microsoft SQL Server Upgrade and Downgrade scenarios

Slides:



Advertisements
Similar presentations
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Advertisements

Data Management PC Tools Review Software Review Full Review Lite –Freeware.
ERA6 INSTALLER USER GUIDE
Raymond R. Balise Health Research and Policy
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Lab 03 Windows Operating Systems (Cont.). PYP002 Preparatory Computer ScienceWindows Operating System2 Objectives Develop a good understanding of 1. The.
In-Place Upgrade to TFS 2010 on existing hardware Not deploying new hardware Databases too large to move Scaling-out, not up Not deploying new hardware.
Update your servers to service pack 2. Ensure that the environment is fully functioning. Migrate to 64 bit servers is necessary. REVIEW UPGRADE BEST PRACTICES.
Chapter 5 Roles and features. objectives Performing management tasks using the Server Manager console Understanding the Windows Server 2008 roles Understanding.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
This presentation will guide you though the initial stages of installation, through to producing your first report Click your mouse to advance the presentation.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.

Please Dial in, class will begin shortly
Tutorial 11 Installing, Updating, and Configuring Software
Microsoft SQL Server 2008 Installation Guide Omer Alrwais.
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
Web Based Inventory Site Building Room Asset Number Category Type Description Serial Number Manufacturer Model Vendor Name Acquired Date P O Number Budget.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
11 MANAGING AND DISTRIBUTING SOFTWARE BY USING GROUP POLICY Chapter 5.
DIT314 ~ Client Operating System & Administration CHAPTER 5 MANAGING USER ACCOUNTS AND GROUPS Prepared By : Suraya Alias.
Performance Dash A free tool from Microsoft that provides some quick real time information about the status of your SQL Servers.
MyBLAST standalone installation Lab of Systems Biology & Network Biology website Download link. 1.Click the Download link.
How to install Office 2007  Step 1: Insert the Microsoft Office 2007 Enterprise CD. If the Setup Wizard does not automatically begin, then click Start.
Module 5: Upgrading to SQL Server 7.0. Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
LIMS USER TRAINING 2 Installation and Reference Data Configuration.
Week #2 Objectives Upgrade and Migrating to Windows 7 Image-Based Installation of Windows 7 Application Compatibility.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Start with loading the picture Locate your camera’s USB cable –it looks something like this:
Backing Up and Restoring Databases by Using the SQL Server 2000.
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
Module 6: Configuring User Environments Using Group Policies.
…the basics…. Wildland Fire Information and Technology Server Requirements ● Windows 7 Professional or Windows 2003/2008 Server ● Windows 8/10 (discussion)
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
Cognos 8 BI Configuration, Administration, and Upgrade Cognos 8 BI.
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
16 Copyright © 2004, Oracle. All rights reserved. Testing the Migrated Oracle Database.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
Migrating Wordpress Migrating Wordpress can sometimes get more complicated as it should. There is no plugin that does this for you, the best way is to.
SAP Business One 9.0 integration for SAP NetWeaver Installation and Technical Configuration 2013 March.
SQL Database Management
DBMS Programs MS SQL Server & MySQL
beas group AG Beas sql guide Martin Heigl CTO
Data Virtualization Demoette… ODBC Clients
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
SQL Server and Network Study Setup, Troubleshooting & Training
Welcome © GTM Software. Welcome © GTM Software.
Lead SQL BankofAmerica Blog: SQLHarry.com
Contained DB? Did it do something wrong?
Lecture 13 RPM and its advantages.
Automating SQL Server Management
DEA Will Be Your New Best Friend!
Migration to SharePoint 2013
Upgrading to SQL Server 2016
Windows Operating Systems (Cont.)
Migrating your SQL Server Instance
Microsoft Office Access 2003
NAVIGATING THE MINEFIELD
Michelle Haarhues Keeping up with SSMS.
Ch 1 .Installing and configuring SQL Server 2005
Fernando Jacinto Alvarez
Presentation transcript:

Microsoft SQL Server Upgrade and Downgrade scenarios Anastasia Staniloiu Alexandru Dinica Microsoft SQL Server Support Engineers

Agenda Why SQL Server upgrade? Microsoft SQL Server Version Upgrade scenario Why SQL Server downgrade? Microsoft SQL Server Version Downgrade scenario Announcements Real-life situations

1. Why SQL Server upgrade? more features reduced total cost of ownership more stability more scalability

2. Microsoft SQL Server Version Upgrade scenario

Upgrade scenario

Other tools Microsoft Assessment and Planning Toolkit a.k.a. MAP -> Inventory the existing system -> Check for breaking changes and mandatory code adaptations before being able to migrate

Database Migration Assistant a.k.a DMA ->Assess on-premises SQL Server instance(s) migrating to Azure SQL database(s). ->Discover issues that can affect an upgrade to an on-premises SQL Server. ->Discover new features in the target SQL Server platform that the database can benefit from after an upgrade.

SQL Server Migration Assistant a.k.a. SSMA ->SQL Server Migration assistant has the same purpose as Database Migration Assistant except that it’s designed for migrating data from a particular RDBMS that is not SQL Server. ->There are multiple versions of SSMA, one for Oracle, one for MySQL, one for DB2…

Performance

High Availability

Query store Pinpoint and fix queries with plan choice regressions 1 Identify and tune top resource consuming queries 2 Keep performance stability during the upgrade to newer SQL Server 3 Identify and improve ad hoc workloads 4

Postupgrade

4. Microsoft SQL Server Version Downgrade scenario

BEFORE DOWNGRADE Backup the databases (system and user databases)   Delete the local security groups. Before you uninstall SQL Server, delete the local security groups for SQL Server components.

Please make sure that you've not used any of the enterprise edition feature. In order to check it run the following query on each database:   Script all the logins. How to transfer logins and passwords between instances of SQL Server: http://support.microsoft.com/kb/918992 (fac film)

Stop the SQL Server service.  Copy the master, model, and msdb database files (both .mdf and .ldf), from the current location to a new folder that you mark as readonly.   Uninstall SQL Server from the system. 

Uninstall an Instance of SQL Server  1.     To begin the uninstall process, go to Control Panel and then Programs and Features.  2.     Right click Microsoft SQL Server #### and select Uninstall. Then click Remove. This starts the SQL Server Installation Wizard.                                                                   i.     Setup Support Rules runs to verify your computer configuration. To continue, click Next.  3.     On the Select Instance page, use the drop-down box to specify an instance of SQL Server to remove, or specify the option to remove only the SQL Server shared features and management tools. To continue, click Next.  4.     On the Select Features page, specify the features to remove from the specified instance of SQL Server.                                                                   i.     Removal rules runs to verify that the operation can complete successfully.  5.     On the Ready to Remove page, review the list of components and features that will be uninstalled. Click Remove to begin uninstalling 

6.     Immediately after you uninstall the last SQL Server instance, the other programs associated with SQL Server will still be visible in the list of programs in Programs and Features. However, if you close Programs and Features, the next time you open Programs and Features, it will refresh the list of programs, to show only the ones that are actually still installed.  Microsoft resource : https://docs.microsoft.com/en-us/sql/sql-server/install/uninstall-an-existing-instance-of-sql-server-setup?view=sql-server-2014 

Reboot the server  Install SQL Server Standard Edition.  Microsoft resource: https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-from-the-installation-wizard-setup?view=sql-server-2014  Shut down SQL Server.  Copy the master, model, and msdb database files (both .mdf and .ldf) from the folder you saved them in to the correct location for the new install and remove the readonly flag from the files, and change the file ACL’s so that the SQL Service account has Full Control over the files.  Start SQL Server. It will start up and be exactly where you were before you made any changes, with all of your user databases online and you should be ready to let applications connect and resume operations. In case there is something going wrong, we have the backups of the databases and logins. 

4.1 After the downgrade or upgrade What to do after a migration ?

Download the DEA tool, and then install it. Run a trace capture a. On the left navigation tree, select the camera icon the go to All Captures b. To start a new capture, select New Capture.

c. To configure the capture, specify the trace name, duration, SQL Server instance name, database name, and the share location for storing the trace file on the computer running SQL Server. d. Select Start to begin trace capture.

3. Run a trace replay a. On the left navigation tree, select the play icon the go to All Replays. b. To start a new replay, select New Replay. c. To configure the replay, specify the replay name, controller machine name, path to source trace file on controller, SQL Server instance name, and the path for storing the target trace file on the computer running SQL Server. d. Select Start to begin replay of your capture.

4. Create a new Analysis Report a. On the left navigation tree, select the checklist icon to go to Analysis Reports. b. Connect to the SQL Server on which you will store your report databases. You will see the list of all reports in the server. c. Select New Report. d. To configure the report, specify the report name, and specify paths to the traces for the source and target SQL Server instances.

5. Review an analysis report a. On the first page of the report, the version and build information for the target servers on which the experiment was run displays. Threshold allows you to adjust the sensitivity or tolerance of your A/B Test analysis. Note: By default, threshold is set to 5%; any performance improvement that is >= 5% is categorized as ‘Improved’. The drop-down selector allows you to evaluate the report using different performance thresholds. b. Select the individual slices of the pie chart to view drill-down metrics on performance.

6. Real-life situations