question

Murali avatar image
Murali asked

how to upgrade from sql server 2008 SP2 to 2008 R2

in the current instance of 2008 server, we are planning to upgrade from SQL Server 2008 SP2 to SQL Server 2008 R2. What are the precautions do i need to take before upgrading the server. In repsect to database level and login level and any other.
sql-server-2008-r2dbaupgrade
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Grant Fritchey avatar image
Grant Fritchey answered
Largely, it's the same as any other move. Are you doing an in-place upgrade or a side-by-side? If in-place, there's nothing to migrate, so your primary concern is simply to be sure you have tested backups in the event something goes wrong and you need to reset the system and restore the databses. With a side-by-side upgrade you'll need to plan on migrating not just the databases and logins, but SSIS packages and SQL Agent jobs. You need to document your database and it's processes thoroughly so you don't miss anything. Plan for testing with either approach.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Matt Whitfield avatar image
Matt Whitfield answered
A word of caution. SQL Server 2008 SP2 introduced support for 15000 Partitions, which R2 RTM does not have. So, if you are using that, you need to make sure you are on R2 SP1. From [the MSDN support document about 15000 partitions][1]: > However, if support for 15,000 partitions is enabled, you cannot migrate the database to an instance of SQL Server 2008 R2 RTM. Because SQL Server 2008 R2 RTM does not support more than 1,000 partitions, the database with support for 15,000 partitions enabled has a later version than the SQL Server 2008 R2 RTM instance, which prevents migration. SQL Server 2008 SP2 databases with support for 15,000 partitions have version number 662, while SQL Server 2008 R2 RTM supports databases with version numbers up to and including 661. [1]: http://download.microsoft.com/download/B/E/1/BE1AABB3-6ED8-4C3C-AF91-448AB733B1Af/Support_for_15000_Partitions.docx
3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

WilliamD avatar image WilliamD commented ·
Good catch there Matt +1
3 Likes 3 ·
KenJ avatar image KenJ commented ·
Talk about the edgiest of edge cases. You have a mind for extremes :)
1 Like 1 ·
Matt Whitfield avatar image Matt Whitfield ♦♦ commented ·
@KenJ - I don't know where I heard about it either - I just remembered that it was an issue :) Now, if only I could remember that command for when you want to put a new row in a table...
0 Likes 0 ·
Tim avatar image
Tim answered
Just to add on a bit of support for @Grant Fritchey. R2 in technically another major release of SQL Server. Many folks felt it should have received a different version number than 10.x. With that said Grant is right on. Treat this as you would upgrading from 2005 to 2008. Make sure you have tested your database and applications prior to upgrading to R2 and when the time comes for the upgrade make sure you have validated backups of all your databases. Master, Model, MSDB, and your user databases. If it is a side by side upgrade then you are in much better shape for a backup out plan but will have a bit more work to do with migrating SSIS, users, linked servers, etc. Best of luck and let us know how it goes.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.