If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Backup with TSM Optimization

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-22-09, 13:02
db2udbgirl db2udbgirl is offline
Registered User
 
Join Date: Mar 2006
Location: Tuticorin, India
Posts: 100
DB2 Backup with TSM Optimization

Env: DB2 9.1/AIX 5.3
Database size: 750 GB
No of tablespaces : 40

Complete offline backup runs for 3 hours with the following options
UTIL_HEAP_SZ = 5000
backup db xxx use tsm open 2 sessions.

Which is a best option to improve the performance
[1] Increase UTIL_HEAP_SZ to 10,000 ?
[2] Use more sessions with TSM (4) ?
[3] WITH num_buffers BUFFERS parameter ?

Any thoughts ?
Reply With Quote
  #2 (permalink)  
Old 05-22-09, 18:56
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
You can find some general performance guidelines here:
DB2 Database for Linux, UNIX, and Windows


OPEN n SESSIONS
Limited by maxnummp TSM parameter so # of sessions should not be greater than maxnummp


WITH num-buff BUFFERS
The following calculation must fit: (num-buffers * buffer-size) < util_heap_sz

Or you can let DB2 choose the value, if it's not specified. You can see what db2 used with diaglevel 4.


You can also consider using incremental/delta backups. A tablespace will be skipped if there are no changed pages.
Reply With Quote
  #3 (permalink)  
Old 05-23-09, 23:35
db2dummy1 db2dummy1 is offline
Registered User
 
Join Date: Feb 2009
Posts: 114
The problem is usually in the network between db and TSM plus the inherent inefficiencies of the TSM API. Backup to disk (small fraction of API time) and have TSM pick it up from there. Of course, with this scenario, you have to be prepared to put files back on disk from TSM manually before doing RESTORE.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On