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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. |
| ||||
| 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 |