Unix Technical Forum

Speeding up Full Online Backups

This is a discussion on Speeding up Full Online Backups within the DB2 forums, part of the Database Server Software category; --> Hi, I have an ODS for which I need to do a full online backup. It is taking us ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:39 AM
Asphalt Blazer
 
Posts: n/a
Default Speeding up Full Online Backups

Hi,
I have an ODS for which I need to do a full online backup. It
is taking us 1 hour and 44 minutes to do this. The command is below:

db2 "backup database $DBNAME ONLINE to $DBPATH with 4 buffers buffer
4096 parallelism 2 compress include logs without prompting"

Well I want to bring it down to an hour atleast because this backup is
encroaching on our other scheduled jobs. So I was planning to do this

db2 "backup database $DBNAME ONLINE to
$DBPATH,$DBPATH,$DBPATH,$DBPATH,$DBPATH,$DBPATH,$D BPATH,$DBPATH with 4
buffers buffer 4096 parallelism 2 compress include logs without
prompting"

basically splitting it into 8 files.

Will this get me a significant gain in TIME? Or are any other more
effective and tried out ways to do this? Kindly let me know

(btw, incremental and delta backups are absolutely NOT an option)

thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:40 AM
memmerto@yahoo.com
 
Posts: n/a
Default Re: Speeding up Full Online Backups


Asphalt Blazer wrote:
> Hi,
> I have an ODS for which I need to do a full online backup. It
> is taking us 1 hour and 44 minutes to do this. The command is below:
>
> db2 "backup database $DBNAME ONLINE to $DBPATH with 4 buffers buffer
> 4096 parallelism 2 compress include logs without prompting"
>
> Well I want to bring it down to an hour atleast because this backup is
> encroaching on our other scheduled jobs. So I was planning to do this
>
> db2 "backup database $DBNAME ONLINE to
> $DBPATH,$DBPATH,$DBPATH,$DBPATH,$DBPATH,$DBPATH,$D BPATH,$DBPATH with 4
> buffers buffer 4096 parallelism 2 compress include logs without
> prompting"
>
> basically splitting it into 8 files.
>
> Will this get me a significant gain in TIME? Or are any other more
> effective and tried out ways to do this? Kindly let me know
>
> (btw, incremental and delta backups are absolutely NOT an option)


Have you tried letting DB2 choose values for BUFFERS, BUFFER and
PARALLELISM? If you omit them, DB2 will automatically calculate some
good values based on your system config and how many backup devices you
are using.

--
Matt Emmerton

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com