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 2005 Forums
 SQL Server Administration (2005)
 Backup is taking much time
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ksr39
Posting Yak Master

India
179 Posts

Posted - 09/07/2012 :  00:28:39  Show Profile  Reply with Quote
Hi Experts,

Today one of my database took more than expected time for backup i have no idea why it took much time, can any one help me in this if any one gone through this condition/situation. your suggections could help me out in future.

The size of the backup is 30GB and the server is SQL Server 2005 enterprise edition on windows 2003 enterprise edition.



Thank you in advance


Thank You All In Advance
KRS39

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2019 Posts

Posted - 09/07/2012 :  01:51:39  Show Profile  Visit jackv's Homepage  Reply with Quote
are you backing up to local disk or tape? Lots of different factors can influence the backup performance time. Were there any other issues such disk IO or memoy pressure?
If you're backing up to tape - can you try and do a test backup onto disk, see if there is any difference

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

ksr39
Posting Yak Master

India
179 Posts

Posted - 09/07/2012 :  03:01:46  Show Profile  Reply with Quote
Hi Jack,
Thank you for your reply, I was doing the backup to a local disk and I am doing it from cmd prompt.(- sqlcmd -E -b -S XYZdbsql -Q "BACKUP DATABASE DataBase1 TO DISK = 'D:\backup\DataBase1.bak' WITH FORMAT"). and one more thing i wanted to know is can we find the time when the backup is started and when it got end up.

Here the script was written by another DBA, here I have no idea about the parameters –E, -b, -S & -Q. Please can you explain me when and where and what for we use these.

Thank you in advance.


Thank You All In Advance
KRS39
Go to Top of Page

chadmat
The Chadinator

USA
1974 Posts

Posted - 09/07/2012 :  03:08:12  Show Profile  Visit chadmat's Homepage  Reply with Quote
–E trusted connection
-b on error batch abort
-S server_name
-q cmdline query



-Chad
Go to Top of Page

ksr39
Posting Yak Master

India
179 Posts

Posted - 09/07/2012 :  04:23:32  Show Profile  Reply with Quote
WOW Thank You very much Chad its really a good thing to know, but i think they wont effect the backup to take much time, why the backup took more then the usual time, i tried to find it out in event logs and sql as well but couldnt find one.there was one error "Changing the status to PAUSE for full-text catalog "DataBase1FullTextCatalog" (6) in database "DataBase1" (5)." will it effect the backup.

Thank You All In Advance
KRS39
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2019 Posts

Posted - 09/07/2012 :  08:34:13  Show Profile  Visit jackv's Homepage  Reply with Quote
quote:
"Changing the status to PAUSE for full-text catalog "DataBase1FullTextCatalog" (6) in database "DataBase1" (5)."

Could you check to see the EventID in the application event log?And could ypu post the text of the Event ID.

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
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.06 seconds. Powered By: Snitz Forums 2000