Home > Articles > Data > SQL Server

This chapter is from the book

Upgrading the Database Engine to SQL Server 2008

When upgrading an existing SQL Server system to SQL Server 2008, all SQL Server databases, configuration settings, security settings, and programs are retained from the previous installation. However, there are still several important prerequisite tasks that you perform before the upgrade, as discussed in the following sections.

Creating a SQL Server Feature Discovery Report

One of the first tasks a DBA should conduct when upgrading an existing SQL Server system to SQL Server 2008 is to create a discovery report. A SQL Server discovery report, ultimately, is an inventory of the SQL Server components and features installed on an existing SQL Server installation. SQL Server 2008 comes with a new tool called the SQL Server Feature Discovery Report, which will generate a list of features and products. This report can automatically be generated for SQL Server 2008, SQL Server 2005, and SQL Server 2000, by selecting Installed SQL Server Features Discovery Report, on the Tools page, located on the SQL Server Installation Center landing page.

Backing Up the Server

Whenever you are making a major change on a server, something could go wrong. A complete backup of the SQL Server environment, including the SQL Server system databases and Windows Server System State, can make the difference between confidently telling the boss you had a setback so you conducted a rollback, or quivering while you try to find a way to tell your boss a complete disaster has taken place.

Verifying System Compatibility

The first action when upgrading an existing SQL Server system to SQL Server 2008 is running the System Configuration Checker. Launch the System Configuration Checker by first selecting Planning and then System Configuration Checker via the SQL Server 2008 Installation Center landing page.

The System Configuration Checker is an informative tool that conducts a scan on the existing system and indicates problems that might occur when the SQL Server support files are installed. After the scan is completed, a detailed report is presented that indicates the operations that passed, failed, skipped, or presented warnings. View the detailed report, correct any issues, and rerun the scan to ensure absolute success. Then move on to the next prerequisite task, which is running the SQL Server 2008 Upgrade Advisor.

Running the SQL Server Upgrade Advisor

Make it a prerequisite task to test the existing SQL Server system that you plan on upgrading for compatibility issues. Accomplish this by running the SQL Server Upgrade Advisor. The SQL Server Upgrade Advisor is an intuitive tool included with the SQL Server 2008 installation media.

When invoked, the wizard will first analyze previously installed SQL Server components and then produce a detailed report indicating possible upgrade anomalies. In addition, the report provides links to information on how to resolve the issues identified—how convenient!

It is important to mention that the Upgrade Advisor can be installed on a remote system and still analyze the following SQL Server components: the Database Engine, Analysis Services, Reporting Services, Integration Services, and Data Transformation Services. Notification Services is not included as this component has been deprecated in SQL Server 2008.

Installing the SQL Server Upgrade Advisor

  1. Launch the SQL Server Installation Center.
  2. Select the Planning link and then click Install Upgrade Advisor.
  3. Click Next on the SQL Server 2008 Upgrade Advisor Setup Welcome screen.
  4. Accept the License Agreement, and then click Next.
  5. On the Registration Information screen, enter your name and company name, and then click Next.
  6. Provide the installation path on the Feature Selection page. Click Next to continue.
  7. Click Install to initiate the installation, and then click Finish to finalize.

Performing a Compatibility Test with SQL Server Upgrade Advisor

When running the SQL Server 2008 Upgrade Advisor, the high-level steps include identifying SQL Server components to analyze, providing credentials for authentication, providing additional parameters, executing analysis, and finally, reviewing the results. Conduct the following steps on the SQL Server system you plan on upgrading in order to perform a compatibility test using the SQL Server 2008 Upgrade Advisor:

  1. Click Start, All Programs, SQL Server 2008, SQL Server 2008 Upgrade Advisor.
  2. On the Welcome to SQL Server 2008 Upgrade Advisor page, select the link Launch Upgrade Advisor Analysis Wizard, and then click Next.
  3. On the SQL Server Components page, provide the name of the SQL Server and then specify the components that will be analyzed. Click Next as displayed in Figure 1.6.
    Figure 1.6

    Figure 1.6 Specifying the SQL Server Components to analyze.

  4. Provide the authentication mechanism for the SQL Server instance and then click Next.
  5. On the SQL Server Parameters page, indicate what additional elements should be analyzed. Options include databases, trace files, and SQL Server batch files. Click Next to continue.
  6. The Reporting Services Parameters page is an optional step. If a reporting services scan was selected, enter the name of the Reporting Services instance and then choose the authentication mechanism that will be used. Click Next.
  7. The Analysis Services Parameters page is an another optional step. If an Analysis Services scan was selected, enter the name of the Analysis Services instance. Next, choose the authentication mechanism that will be used. Click Next.
  8. The next optional screen focuses on DTS parameters for DTS packages. Select either the Analyze DTS Packages on Server option or the Analyze DTS Package Files option. If the second option is selected, specify the path to the DTS packages. Click Next to continue.
  9. On the final page, SSIS Parameters, indicate whether you want to analyze SSIS packages on the server or files. If the second option is selected, specify the path to the SSIS packages. In addition, if the packages are password protected, enter a password. Click Next to continue.
  10. Confirm the Upgrade Advisor Settings and then click Run to commence the analysis.
  11. The Upgrade Advisor Progress page provides progress messages for each component being analyzed. The status message includes any of the words error, failure, or success. View the status messages in the details pane or alternatively, launch the report. Click Close as indicated in Figure 1.7.
    Figure 1.7

    Figure 1.7 Reviewing the Upgrade Advisor Analysis Complete Report.

The report can be viewed by server and then by instance or component. Moreover, the report can be filtered by All Issues, All Upgrade Issues, Pre-Upgrade Issues, All Migration issues, Resolved Issues, or Unresolved Issues. The output report also indicates when issues should be addressed. For instance, the report may indicate the issue should be addressed before the upgrade or after the upgrade. It is beneficial to review each message to ensure there are no issues when upgrading the existing SQL Server system to SQL Server 2008. When drilling through each message, it is possible to expand upon an issue and gain additional information on how to resolve the anomaly by clicking the link titled Tell Me More About This Issue and How to Fix It.

Additional Considerations Before Upgrading the Database Engine to SQL Server 2008

The following additional considerations apply before upgrading the Database Engine to SQL Server 2008:

  • Even though this book does not focus on Analysis Services, if you are upgrading a 64-bit edition of SQL Server, it is imperative to upgrade Analysis Service first and then the Database Engine.
  • Run the appropriate DBCC commands to ensure that both the system and user databases are in good health. A maintenance plan can be generated to complete these tasks.
  • Make certain that all databases, specifically the system databases, are configured to autogrow. The system databases includes master, model, msdb, and tempdb.
  • Ensure that you have administrative access to all user and system databases and that each database has logon information in the master system database.
  • Configure the Max Worker Threads setting to a value of 0.
  • Disable all startup stored procedures as the upgrade process may restart the server.
  • If Replication is enabled, stop replication during the upgrade process.
  • Conduct a rolling upgrade if Database Mirroring is used. First upgrade the mirrored instance, failover services, and then upgrade the principal instance (which is now the mirror). It is also recommended to remove the witness and change the operation mode to high safety during the upgrade.
  • In SQL Server 2000, Log Shipping was established with a Database Maintenance Plan. Because the installation in SQL Server 2005 and SQL Server 2008 no longer uses a maintenance plan to implement Log Shipping, it is not possible to upgrade a SQL Server 2000 system running log shipping to SQL Server 2008.

Performing the SQL Server 2008 Upgrade

At this point, you have accomplished quite a few tasks. Let’s review: your data is backed up, you have read the release notes, you ran the SQL Server System Configuration Checker and the SQL Server Upgrade Advisor, and you addressed the issues or warnings identified. It is now time to upgrade to SQL Server 2008.

  1. Log in to the server and insert the SQL Server 2008 media. Autorun should launch the SQL Server 2008 Installation Center landing page; otherwise, click Setup.exe.
  2. On the SQL Server Installation Center landing page, first select the Installation link, and then Upgrade from SQL Server 2000 or SQL Server 2005.
  3. On the Setup Support Rules page, review the outcome of the System Configuration Checker. Ensure that all tests associated with the operation passed without any failures, warnings, or skipped elements. Alternatively, you can review a standard or comprehensive report by selecting the Show Details button or View Detailed Report. Click OK to continue with the installation.
  4. On the Setup Support Files page, the wizard will prompt whether or not additional setup support files are required for the installation. If additional files are required, review the status of the files required and click Install.
  5. The Setup Support Rules page will be displayed again and will identify any outstanding items that may hinder the installation process associated with the SQL Server cluster. Review and correct failures and warnings before commencing the installation. If failures are not displayed, click Next to start the installation.
  6. On the Product Key page, enter the SQL Server Product Key and click Next.
  7. On the License Agreement page, accept the Licensing Terms, and then click Next.
  8. On the Select Instance page, use the drop-down menu and specify a SQL Server instance to upgrade. Click Next as displayed in Figure 1.8.

    Figure 1.8

    Figure 1.8 Specify the SQL Server instance to upgrade.

  9. Review the features to be upgraded in the Select Features page, and then Click Next.

  10. Review the name and InstanceID for the SQL Server instance being upgraded and click Next.
  11. The next page is the Disk Space Requirements. Review the disk space summary for the SQL Server components and features selected to be upgraded, and then click Next.
  12. On the Full-Text Upgrade page, specify an option of how the existing Full-Text catalogs will be processed after the upgrade. Click Next as displayed in Figure 1.9.

    • Import—Full-Text catalogs are imported “as is” and are ready to serve queries. This process is much faster than rebuilding the Full-Text catalogs; however, the import does not leverage the new Full-Text features and functionality associated with SQL Server 2008.
    • Rebuild—When this option is selected, the Full-Text catalogs are rebuilt using the new and enhanced word breakers associated with SQL Server 2008. This process is typically slower, and a significant amount of processor and memory will be required to tackle this operation.
    • Reset—The final option is Reset. The Full-Text catalogs will be removed; therefore, after the upgrade is complete, the catalogs will remain empty until they are manually processed with a full population.
    Figure 1.9

    Figure 1.9 Specifying the Full-Text Upgrade option.

  13. On the Error and Usage Reporting page, help Microsoft improve SQL Server features and services by sending error reports and feature usage to Microsoft. Specify the level of participation, and then click Next.
  14. The final check will take place to ensure that the upgrade process will not be blocked. On the Upgrade Installation Rules page, review for any outstanding errors or warnings and then click Next to continue.
  15. Before commencing the SQL Server 2008 upgrade, review the features to be upgraded on the Ready to Upgrade page, and then click Install.
  16. When the upgrade process starts, you can monitor its progress accordingly. When the upgrade setup completes, review the success status based on each SQL Server feature. Click Next as illustrated in Figure 1.10.

    Figure 1.10

    Figure 1.10 Reviewing the results of the SQL Server 2008 upgrade.

  17. On the Complete page, review the location of the SQL Server summary upgrade log file and items in the Supplemental Information section. Click Close to finalize the upgrade.
  18. To conduct post-installation tasks, review the upcoming section “Finalizing the SQL Server 2008 Installation or Upgrade.”

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020