Last time DB2 REORG was executed

14 November,2013 by Jack Vamvas

Question: How can I find the last date & time of a DB2  reorg action?

Answer: The list history command using the REORG option , returns the history view of REORG activity on  a database

Example of db2 list history of REORG   returning ALL REORG activity.

db2 list history REORG ALL FOR mydatabase247

 

For full details usage use db2 ? list history

 

 db2 "? list history"
LIST HISTORY {BACKUP | ROLLFORWARD | REORG |
CREATE TABLESPACE | ALTER TABLESPACE | DROPPED TABLE | LOAD |
RENAME TABLESPACE | ARCHIVE LOG}
{ALL | SINCE timestamp |CONTAINING {schema.object_name | object_name}}
FOR [DATABASE] database-alias

 Read More

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 Last time DB2 REORG was executed

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