Backup performance

This is a discussion on Backup performance within the db2-udb forums in Other Databases category; System: DB2 8.2 for RedHat Linux (RHEL3) on HP DL380 G3 Runing a full offline backup of a database which produces a backup file of just 200MBytes seems to take a long time. After about 5 minutes 'list utilities' reports the backup as 97% complete. However, the backup takes another 15 minutes to complete. During this time the filesystem which is the target of the backup file is at around 95% usage (sar -d) with a write speed of about 2MB per second. The tablespaces are on a RAID1 disk pair whilst the backup directory is on a different, ...

Go Back   Database Forum > Other Databases > db2-udb

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 01-10-2006, 04:30 AM
Default Backup performance

System: DB2 8.2 for RedHat Linux (RHEL3) on HP DL380 G3

Runing a full offline backup of a database which produces a backup file of just 200MBytes seems to take a long time. After about 5 minutes 'list utilities' reports the backup as 97% complete. However, the backup takes another 15 minutes to complete.

During this time the filesystem which is the target of the backup file is at around 95% usage (sar -d) with a write speed of about 2MB per second. The tablespaces are on a RAID1 disk pair whilst the backup directory is on a different, RAID1 disk pair. There is almost no disk activity on the tablespace filesystem during this time. All disks are 10K Ultra-320 SCSI, and are connected via single controller.

Simple file copy between the two file systems (either way) has a write speed of around 50MB per second.

Does anyone have any suggestions about what is going on?

Thanks

Martyn Hodgson
Reply With Quote
  #2  
Old 01-10-2006, 11:00 AM
Default Re: Backup performance

In article
<545972418.1136881863788.JavaMail.wassrvr@ltsgwas00 7.sby.ibm.com>,
(martyn.hodgson-at-iipay.com) says...
>
> Does anyone have any suggestions about what is going on?
>


You might have to cleanup your database history file, check the PRUNE
HISTORY command.
Reply With Quote
  #3  
Old 01-11-2006, 02:11 AM
Default Re: Backup performance

hi

What is your , Backup buffer default size (BACKBUFSZ)and how many buffer you are using while taking backup.
Increas this . It will help reduce your time.

vijay singh rathore ( vijaybhai)
Reply With Quote
  #4  
Old 01-11-2006, 03:45 AM
Default Re: Backup performance

I've tried increasing the utility heap size to allow me to increase the backup buffer size and the number of buffers. There is a small improvement (maybe 10%).

However, I've noticed something else. The actual backup file is created within the first 5 minutes of the 20 minute backup and according to the filesystem stats (both the file size, and the last updated date) it isn't updated again. It's as if the backup completes quickly (under 5 minutes) and then DB2 is busy doing something else for the remaining 15 minutes.
Reply With Quote
  #5  
Old 01-11-2006, 08:34 PM
Default Re: Backup performance

In article
<1907073897.1136965554319.JavaMail.wassrvr@ltsgwas0 07.sby.ibm.com>,
(martyn.hodgson-at-iipay.com) says...
> I've tried increasing the utility heap size to allow me to increase
> the backup buffer size and the number of buffers. There is a small
> improvement (maybe 10%).
>
> However, I've noticed something else. The actual backup file is
> created within the first 5 minutes of the 20 minute backup and
> according to the filesystem stats (both the file size, and the last
> updated date) it isn't updated again. It's as if the backup
> completes quickly (under 5 minutes) and then DB2 is busy doing
> something else for the remaining 15 minutes.
>


That's why I said you might need to cleanup your database history.
You can use the PRUNE HISTORY command for that.
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:26 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.