SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Restore Database Sql server 2008
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

loknathmahato
Starting Member

India
20 Posts

Posted - 08/14/2012 :  21:29:53  Show Profile  Reply with Quote
Hi Friends,

I have SQL Server 2008 64bit with Windows Server 2008 64bit machine.

Total RAM - 16 GB

Sql Server Memory - 12 GB
OS Memory - 4 GB

When i am restoring a database of 30 to 35 GB it takes all the resource of the server and the other process get silent due to that i stop the restoring process in middle of execution.

Somebody help me to resolve this issue.

chadmat
The Chadinator

USA
1960 Posts

Posted - 08/14/2012 :  21:54:50  Show Profile  Visit chadmat's Homepage  Reply with Quote
What other processes are running besides SQL Server?

-Chad
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
1771 Posts

Posted - 08/15/2012 :  01:56:00  Show Profile  Visit jackv's Homepage  Reply with Quote
Is this a recent development? Forexample , was it working OK previously?
Do you have Instant File Initialization configured on the server - it does in some situations speed up the RESTORE process on the Data files (not Log files)?

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

loknathmahato
Starting Member

India
20 Posts

Posted - 08/16/2012 :  10:05:06  Show Profile  Reply with Quote
quote:
Originally posted by chadmat

What other processes are running besides SQL Server?

-Chad



There are two database in our production server one is production and other is old data backup database. During the weekly maintainance we take the bakup of production database before deleting some old data from it. During the production hour when we try to restore the backup database for extracting some of the old data then the restoring process takes all the resources of the server and process which are running in production database get still for 10 to 15 minuts till the end of restoring process.

Thanks
Go to Top of Page

loknathmahato
Starting Member

India
20 Posts

Posted - 08/16/2012 :  10:31:38  Show Profile  Reply with Quote
quote:
Originally posted by jackv

Is this a recent development? Forexample , was it working OK previously?
Do you have Instant File Initialization configured on the server - it does in some situations speed up the RESTORE process on the Data files (not Log files)?

Jack Vamvas
--------------------
http://www.sqlserver-dba.com



Yes. We have recently upgrades our OS from windows server 2003 32 bit to 2008 64 bit and sql server2008 32 bit to 64 bit.
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
1771 Posts

Posted - 08/16/2012 :  14:56:06  Show Profile  Visit jackv's Homepage  Reply with Quote
Try the DBCC TRACEON (3004, 3605, -1) - this could you some clues at what point and if any unnecessary delays are occuring , which could be causing such an issue. http://www.sqlserver-dba.com/2011/05/slow-sql-server-backup-and-restore-with-dbcc-traceon-3004-3605-1.html

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

chadmat
The Chadinator

USA
1960 Posts

Posted - 08/16/2012 :  17:10:18  Show Profile  Visit chadmat's Homepage  Reply with Quote
Hard to say for sure but sounds like IO contention. Check perfmon Physical Disk->avg Disk sec/Read and Avd Disk sec/write during this time.

Do you have data and log on teh same disk? Is the other database on the same disk as the one you are restoring?

-Chad
Go to Top of Page

loknathmahato
Starting Member

India
20 Posts

Posted - 08/17/2012 :  14:08:13  Show Profile  Reply with Quote
quote:
Originally posted by chadmat

Hard to say for sure but sounds like IO contention. Check perfmon Physical Disk->avg Disk sec/Read and Avd Disk sec/write during this time.

Do you have data and log on teh same disk? Is the other database on the same disk as the one you are restoring?

-Chad



No Data and log file of production database are in separate Disk. But the back database data file are kept on the same disk where the production database data file located.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000