DB2 PRUNE HISTORY

26 July,2011 by Jack Vamvas

Use PRUNE HISTORY   Command to delete history file entries

 1)     Consider using if :   The history file becomes excessively large

2)      Consider using if:    Retention period is high

3)      Do not Delete “db2rhist.asc” or “db2rhist.bak”

4)     Do a proper analysis of restore requirements prior to PRUNE HISTORY

Example :    

Prior to the PUNE HISTORY

Prune history pre 
I execute the command :

 

PRUNE HISTORY 20110701 

This removed all entries for restores, loads, tables space backups and full database backups

Prune history post

 

Read more 

How to use Db2adutl delete logs - DBA DB2

Manage DB2 backups retention policy - DBA DB2

TSM losing connection with DB2 - DBA DB2

 

Author: Jack Vamvas(http://www.dba-db2.com)

Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on DB2 PRUNE HISTORY

Comments are moderated, and will not appear until the author has approved them.


dba-db2.com | DB2 Performance Tuning | DBA DB2:Everything | FAQ | Contact | Copyright