Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Migration from 2000 to 2008 ?

Author  Topic 

sasan_vm
Yak Posting Veteran

51 Posts

Posted - 2011-05-23 : 12:46:05
Hello,

I have many database with million record in sql 2000, what is best choice for migration to 2008:

1- attach database directly to 2008
2- create database in 2008 with script and import data from 2000

Early I attach an sql 2000 database to 2008 but database performance decrease mostly query speed.

Regads,
sasan.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-05-23 : 12:48:33
#1 or backup/restore. #2 is not a good choice.

Run update stats with full scan after the upgrade.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

dinakar
Master Smack Fu Yak Hacker

2507 Posts

Posted - 2011-05-23 : 18:04:00
I would never recommend detach/attach. If there is a problem with attaching a database you are stuck and out of options..
always backup & Restore..

After you restore, at the minimum

(1) run SQL 2008 Upgrade Advisor, identify broken code/features
(2) Backup from SQL 2000
(3) Restore on the new SQL 2008 server
(4) change compatibility mode to 100
(5) fix any broken code
(6) Rebuild all indexes
(7) Update stats

Also search for SQL 2008 Upgrade Technical Reference guide with lots of details on upgrade/failback scenarios

Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2011-05-24 : 01:37:28
(8) Run CheckDB with the Data_purity option.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

Peter99
Constraint Violating Yak Guru

498 Posts

Posted - 2011-05-24 : 18:17:42
1. If you don't have space then backup all database to netbackup and then detach from 2000 and attach to 2008.
2. If you have space the backup/restore is good.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-05-24 : 18:23:16
1. If you don't have the space, then still use backup/restore.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

sasan_vm
Yak Posting Veteran

51 Posts

Posted - 2011-05-26 : 04:55:54
Thanks all

Regards,
sasan.
Go to Top of Page
   

- Advertisement -