Reduce the size of the DB2 LRG file

29 March,2013 by Jack Vamvas

Question : A server is short on disk space . I created a list of the largest file, and the largest is C000000.LRG. What is a LRG file and how can I make it smaller?

 Answer:  The LRG file  is large tablespace container. To decrease the size of file :  delete the data in the table , commit an offline REORG  using the LONGLOBDATA option.

 An Inplace REORG will not work.

 

db2 REORG TABLE APPL_LOG ALLOW NO ACCESS LONGLOBDATA

Read More 

How to monitor a DB2 REORG

Reorg table DB2

DB2 table reorg and table truncate

DB2 Used Space and REORG

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 Reduce the size of the DB2 LRG file

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