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 2000 Forums
 SQL Server Administration (2000)
 Long time to backup a 285MB db

Author  Topic 

lordzoster
Starting Member

29 Posts

Posted - 2009-01-13 : 12:31:37
hallo
i'm running a MSSQL2000 on a W2000 std server, upon a Dual Xeon ML530 with 2GB Ram and RAID5 data hdd.
In the same istance of MSSQL there are some dbs that serves 50 users, some bigger (1GB) some very small.
One of these, a 300MB one, has very long backup times (a full backup can last 1h, a differential even 50'): it implements a full recovery model.
The backups are performed in the same way for all the dbs.
What could it be?

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-01-13 : 12:59:54
Are you talking about database in MB or GB?
Go to Top of Page

lordzoster
Starting Member

29 Posts

Posted - 2009-01-13 : 13:09:58
MB, MegaBytes
Go to Top of Page

lordzoster
Starting Member

29 Posts

Posted - 2009-01-13 : 13:17:08
I launched a manual backup into a device on file: taking a look at the "process informations" node in the EM, the backup process is locked by another process that is locked by a BACKUP LOG, which is appending transaction LOG backups into a 10GB file... considering that the DB is 300MB only, this COULD be a hint.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-13 : 13:21:22
How often are you backing up the transaction log? We backup all of ours every 15 minutes.

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

Subscribe to my blog
Go to Top of Page

lordzoster
Starting Member

29 Posts

Posted - 2009-01-14 : 02:13:20
Hi Tara,
I backup logs every 5 mins, we have quite a low number of transactions but are in a highly critical environment (medical)
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-01-14 : 03:25:28
Increase size to 15 minutes so that full backup can take place without disturbance.



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

AndrewMurphy
Master Smack Fu Yak Hacker

2916 Posts

Posted - 2009-01-14 : 07:51:17
Consider putting the Logs into their own seperate files.....

Have a look at some of TKizers scripts for backup & restore. They are very useful, very flexible and very comprehensive.
Go to Top of Page

lordzoster
Starting Member

29 Posts

Posted - 2009-01-14 : 09:15:01
ok the problem was the log destination file size (and a backup system poorly organized): now i setted a device for each weekday, and
a single backup log now takes about 6 seconds. All backups (full, differential, logs) are written in that device, that is overwrited after a week.
I'll take again into consideration using a separate log backup device, but i shall going deep into the matter.
Anyway thanks for you hints.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-14 : 12:43:11
Why are you even using backup devices? I always find it strange when people use those past SQL Server 6.5. Just backup to a new file each and every time.

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

Subscribe to my blog
Go to Top of Page
   

- Advertisement -