Microsoft SQL Server Installation
Home > SQL Server Tips > Database Management and Administration
SQL Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DATABASE MANAGEMENT AND ADMINISTRATION

SQL Server 2005 Upgrade Advisor reduces unknowns


Adam Machanic
01.12.2006
Rating: -4.25- (out of 5)


Expert advice on database administration
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


If you are preparing to upgrade your company's precious mission-critical systems to SQL Server 2005, it's hardly an exaggeration to say that you need all the help you can get. Microsoft even predicted possible fallout from upgrade issues and as a result came out with a new tool -- the SQL Server 2005 Upgrade Advisor, to help you analyze your databases and server before upgrading to give you fair warning of potential problems.

The Upgrade Advisor is an analysis and reporting engine that is available on the SQL Server 2005 DVD or as a download from Microsoft's Web site. Once installed on a client machine, the tool can be used to analyze databases or components on any server the client has access to, allowing you to track upgrades to the entire enterprise from a single point.

Installing the Upgrade Advisor is simple to do. First, run the MSI file from the CD or the download site and specify an installation path. Once installed, the tool will expose an icon in the root of the Microsoft SQL Server 2005 folder in the Start menu. Keep in mind that prerequisites for installing the tool include both operating system and .NET framework minimums. Your client must be running Windows 2000 SP4 or later, Windows XP SP2 or later or Windows Server 2003 SP1 or later. The tool also requires .NET Framework 2.0.

The first option you're presented with upon launching the tool is whether to analyze or view reports from previous analysis sessions. The tool is designed for iterative use; once you've detected issues in your servers and databases, you can track them through the tool, rerunning the analysis once you believe all issues have been corrected in order to verify your progress.

Selecting "Launch Upgrade Advisor Analysis Wizard" brings up a menu of possible analysis options. The tool can detect problems with virtually all components present in SQL Server 7 or SQL Server 2000 installations.

Once you've indicated which components you'd like to analyze, you will be given options to help the tool pinpoint or broaden analysis to meet your requirements. For instance, if you're analyzing database engine installations, you can select one or more live databases, or keep the tool from interfering with live systems by analyzing trace or SQL batch files. The latter choices may not detect as many possible errors, but they will help in situations where you cannot analyze the live databases due to security or other restrictions.

After options are selected, the actual analysis begins, at which time the tool interrogates your systems and processes what it finds through its rules engine.

For the database engine alone, the tool can detect almost 50 conditions. These include everything from esoteric problems, such as "0xFFFF character is invalid in an identifier," to serious and, unfortunately, all-too-common issues like the use of deprecated DBCC commands and code that drops system tables. Documentation for the tool also lists 21 database engine conditions that are known but can't detected. You'll want to read through this list and resolve any issues you find in your databases.

When the analysis is complete you will be presented with a summary pane that presents a high-level overview of what work was done, and whether the analysis was successful.

Of course, analysis is not helpful without the accompanying report! Upon launching the report viewer you will be shown a list of issues, which will appear similar to the following, which was generated from an analysis of the Pubs sample database:

Important things to notice are that the report does not merely list the issue, it also explains what was affected and offers suggestions to help you work through the problem.

Once a problem has been resolved, be sure to check the box labeled "This issue has been resolved." This feature provides tracking capabilities so that you do not need to use another tool in order to manage your upgrade process. If you do want to employ another tool, the Upgrade Advisor's Report Viewer includes an Export option that allows exportation of the report to a comma-delimited file.

The SQL Server 2005 Upgrade Advisor is an invaluable tool in battling with stressful upgrade situations. Rather than walking into unknown territory, this tool can arm you with the necessary knowledge to fix any potential problems before they manifest as downtime -- which will greatly support your reputation as a superstar next time you find yourself chatting with colleagues 'round the water cooler.

About the author: Adam Machanic is a database-focused software engineer, writer and speaker based in Boston, Mass. He has implemented SQL Server for a variety of high-availability OLTP and large-scale data warehouse applications, and also specializes in .NET data access layer performance optimization. He is a Microsoft Most Valuable Professional (MVP) for SQL Server and a Microsoft Certified Professional. Machanic is co-author of Pro SQL Server 2005, published by Apress.


More information from SearchSQLServer.com

  • FAQ: SQL Server 2005 features and functions
  • FAQ: SQL Server 2005 beta testers' FAQ
  • Learning Guide: SQL Server 2005 Learning Guide


  • Rate this Tip
    To rate tips, you must be a member of SearchSQLServer.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



    RELATED CONTENT
    SQL Server Migration Strategies and Planning
    New SQL Server 2008 R2 CTP set for November
    PASS Summit 2009 Preview
    Are data warehouses made for the cloud?
    Q&A: Moving forward with SQL Server in the cloud
    SQL Server Mailbag: Migrating down to Standard Edition
    Microsoft releases SQL Server 2008 R2 CTP
    A first look at Microsoft SQL Server 2008 R2
    Using Microsoft Hyper-V for SQL Server consolidation
    Migrating to SQL Server 2008 and leveraging new features
    The challenges of SQL Server consolidation

    Microsoft SQL Server 2005
    End of life comes for SQL Server 2005 SP2, 2008
    SQL Server Reporting Services Fast Guide
    SQL Server Service Broker Tutorial and Reference Guide
    Tips for tuning SQL Server 2005 to improve reporting performance
    SQL Server consolidation: Why it's an optimization technique
    Parent-child dimensions in SQL Server 2005 with Analysis Services MDX
    Enforcing data integrity in a SQL Server database
    SSIS error message due to installation problem on SQL Server 2005
    Should you upgrade to SQL Server 2005 or SQL Server 2008?
    Basics for working with DATETIME and SMALLDATETIME in SQL Server 2005
    Microsoft SQL Server 2005 Research

    Microsoft SQL Server Installation
    SQL Server Mailbag: CALs, witnesses and unwanted changes
    SQL Server Mailbag: Migrating down to Standard Edition
    What's new for installation with SQL Server 2008?
    Creating fault-tolerant SQL Server installations
    SQL Server consolidation: Why it's an optimization technique
    SSIS error message due to installation problem on SQL Server 2005
    Get SQL Server log shipping functionality without Enterprise Edition
    Tutorial: Migrating to SANs from local SQL Server disk storage
    SQL Server tools don't appear in menu after SQL Server 2005 install
    Troubleshoot SQL Server 2005 SP2 installation error
    Microsoft SQL Server Installation Research

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    application server  (SearchSQLServer.com)
    Yukon  (SearchSQLServer.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



    SQL Server Development - .NET, C#, T-SQL, Visual Basic
    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts