Home > Systems Channel Tips > Server Management > SQL Server upgrade: Moving to SQL Server 2005
Systems Channel Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SERVER MANAGEMENT

SQL Server upgrade: Moving to SQL Server 2005


Serdar Yegulalp, Contributor
11.08.2006
Rating: --- (out of 5)


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


When upgrading SQL Server to SQL Server 2005, you must first determine whether your server upgrade will entail taking an existing SQL Server installation, upgrading it by installing SQL Server 2005 on a new machine and then migrating databases to it.

A clean version can be installed with an existing version so you don't have to take the existing SQL Server offline. But that requires funds and provisioning. Your only choice may be upgrading the existing installation.

The Microsoft SQL Server Upgrade Advisor examines installed instances of SQL Server 7.0 and 2000 to determine if blatant issues exist that need to be dealt with immediately. The utility doesn't require you to take anything offline when you use it, so it can be run at any time.

During the installation a component called the System Configuration Checker will scan your current SQL Server version to determine if there are any problems that would prevent the installation. Microsoft has documented parameters that may cause blocking issues, so you can pre-emptively check the system against such problems.

When upgrading an existing installation consider if default settings in an earlier version of SQL Server will successfully convert to SQL Server 2005. Some of those modified defaults may have adverse side effects now that they've changed. For instance, SQL Server 2005 will have memory buffer pool problems if the max server memory setting is not set to its default 2147483647 (i.e., all available memory). You can always fine-tune this value later if you need to. Another changed default, which can cause things to behave unexpectedly, is the query governor cost limit. SQL Server 2005 uses a different cost-modeling algorithm for queries. Set this to 0 before upgrading whenever possible.

As a side note, if the AUTO_UPDATE_STATISTICS option is turned off in any database to be migrated, re-enable it. Without it SQL Server 2005 can't generate optimal query plans.

You should also disable the trace flags feature, some of which do not exist in SQL Server 2005, and disable the duplicate security identifiers (SIDs), as they are unsupported in 2005.

Extended stored procedures that were previously registered without the full path for the DLL name may not work after you upgrade to SQL Server 2005. Run the sp_dropextendedproc and sp_addextendedproc stored procedures to drop and add back extended stored procedures if needed.

Another possible upgrade issue: SQL Server 2005 uses slightly more data per column for some data types; text, ntext and image data types require 40 more bytes per column. For that reason, any migrated databases that use these data types should be allowed to grow automatically if they aren't already allowed to do so. The same goes for the tempdb database: Set it up to grow automatically during the course of the upgrade. Its own settings may be preserved during the upgrade, which is why it's worth looking into before starting.

This tip originally appeared on SearchSQLServer.com.

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!

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




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



RELATED CONTENT
Database Deployment and Upgrade Projects
The changing database consolidation landscape
Maintaining performance after a database consolidation
Refining plans for database consolidation
Cleaning up with database consolidation services
Oracle Database 11g innovations: Get ahead of the game
Remote DBA services: Overcoming sales hurdles
Computer information systems for small and midsized businesses (SMBs)
Web-based database support
DBA services can make VARs money
Architectural solutions to Web-based applications with large datasets for VARs

SQL Server Upgrade
Microsoft SQL Server migration to SQL Server 2005
SQL Server 2005: Server upgrade requirements
SQL Server 2005 migration methods

Server Installation and Upgrades
Installing and managing Hyper-V on Windows Server 2008 Server Core
Microsoft System Center Configuration Manager 2007 pre-installation tips
Microsoft System Center Configuration Manager 2007 installation steps
VMware extends vSphere Enterprise Edition availability
Windows Server 2008 Server Core installation
Configuring Windows Server 2008 Server Core
Upgrading to energy-efficient servers
Planning a SharePoint 2003 to SharePoint 2007 migration
SharePoint 2003 to SharePoint 2007 pre-migration tasks
Server virtualization technology guide

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.

HomeNewsTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogsEvents
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 2006 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts