November 21, 2010 at 6:15 am
After suffering through a 13 hour restore yesterday for an old server I need to understand the factors in a restore that make it so slow. I think I know, but can someone point me to a microsoft (technet or msdn or other) article that talks about the factors that make a restore so slow.
Here's the scenario:
DB size 212G
SQL Server 2000 SP4 Standard Edition
CPU 8
Memory 4G on Server, but SQL is limited to it's annoying 2G
Slow network
November 21, 2010 at 5:52 pm
Di you have other things running on the server, as well?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 22, 2010 at 4:06 am
csoloway (11/21/2010)
Memory 4G on Server, but SQL is limited to it's annoying 2GSlow network
You can increase SQL Server memory usage to upto 3 GB by using /3gb switch.
You mentioned slow network. Is your backup file placed on a network folder or local to the server?
November 22, 2010 at 6:07 am
It's Windows 2003 Standard which is limited to 4G and SQL Server 2000 Standard which is limited to 2.
I'm just looking for some documentation that speaks to what happens during a restore so I can make them understand as long as it stays on those versions, it's going to be slower than dirt.
November 23, 2010 at 1:55 pm
I have not seen any tech document regarding that, but When using SQL Server 2008, the back up size is small(compressed back up). That means less IO on the back up file. This will increase both the back up and restore speed.
Other than that, back up and restore time is based on the HW and its configuration. (As far as I know)
-Roy
November 23, 2010 at 6:30 pm
csoloway (11/22/2010)
It's Windows 2003 Standard which is limited to 4G and SQL Server 2000 Standard which is limited to 2.I'm just looking for some documentation that speaks to what happens during a restore so I can make them understand as long as it stays on those versions, it's going to be slower than dirt.
Does this help?
http://msdn.microsoft.com/en-us/library/ms191455.aspx
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions[/url] | Forum Netiquette
For index/tuning help, follow these directions.[/url] |Tally Tables[/url]
Twitter: @AnyWayDBA
November 24, 2010 at 7:55 am
You may also want to check the number of virtual log files in your transaction log. If there are many (meaning your transaction log has autogrown many times), restores will be slow. See http://social.msdn.microsoft.com/Forums/en-US/sqldatabaseengine/thread/43105b39-0fb3-4276-a0c3-468277c37941 for info. Step 8 of Kimberly Tripp's post here tells how to manage your VLFs.
November 24, 2010 at 7:58 am
Just out of curiosity, I'd love to hear how many VLFs your database has. Run DBCC LOGINFO(0) in the database. The number of rows returned equals the number of VLFs you have. With a database that big, there's a pretty good change you have lots.
December 6, 2010 at 11:31 am
Actually I was very surprised to only find 9 VLFs
December 6, 2010 at 11:48 am
Are you restoring across the network?
While the backup/restore should be faster in SQL 2005+, I'm not sure it would make a huge difference. Compressing the backups (reducing i/O) and having better hardware should help the most.
What type of times are you getting for what size data?
December 6, 2010 at 11:50 am
We did get it done. It was SQL 2000 on the same server. Took 7 hours to restore 387G.
December 6, 2010 at 12:41 pm
I don't think that you'd get substantially better performance on SS2K8, but if you want (and have time) install Dev edition on the same hardware and test that.
December 6, 2010 at 12:50 pm
We have a 400 GB DB on SS2k8 and it takes 40 minutes for back up and restores in 1 hr. But our server is bit powerful.. 😉
-Roy
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply