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 > Archived Transaction Logs in TSM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-06-09, 10:53
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
Archived Transaction Logs in TSM

DB2 9.5
TSM (with TDP for R/3)

My database is configured to archive logs to TSM (using the TDP).
The TSM disk storage pool used is admittedly smaller than it should be.

My first question is:
If/when the disk storage pool is full, it is supposed to go to the secondary storage pool which is tape, but do newly archived logs go to the tape first (last-in-first-out idea) or do oldest logs go first (first-in-first-out idea)?

Next question:
When archived transaction logs are included with an online backup, do those archived logs get purged from TSM at that point or do they get purged by whatever TSM archive policy is in use?

Last question:
Is there a quick way to purge the archived transaction logs from the TSM storage pool so that active transaction logs can be archived from the active transaction log location since the active transaction log location is becoming full.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 03-06-09, 11:37
dig1tal dig1tal is offline
Registered User
 
Join Date: Oct 2003
Posts: 19
regarding your first question:
depending on what management class (TSM_MGMTCLASS) your instance is binded to, will dictate were your logs will be archived. on the tsm server, if the management class has a copy destination of disk, your logs will go to disk first.

typically a disk storage pool has a high and low migration percentage that when reached, will migrate data from disk to tape. rule of thumb settings are:
High Mig Pct: 90
Low Mig Pct: 70

some tsm admins will initiate migration once or twice a day through scripts.
Reply With Quote
  #3 (permalink)  
Old 03-06-09, 17:54
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Next question:
The logs do not get purged if they're included with the backup image. db2 will only include the logs that are required to rollforward to the end of an online backup. If you want to rollforward a point later than the end of backup, then the logs stored in TSM will be retrieved and applied during rollforward.

Last question:
db2adutl with the delete option can be used to delete the logs that are no longer needed.
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