25 June,2012 by Tom Collins
Question: How do I monitor a DB2 REORG , such as the following statement?
reorg table SYSIBM.SYSCOLGROUPS inplace allow write access start
Answer: Use the db2pd REORGS option. An example is :
db2pd -d MYDB –reorgs
The resultset returns eleven columns. The “status” column – is useful. It is possible to pause, stop, resume the REORG. Be careful with STOP , as you cannot resume the REORG and will have to restart.
Some example commands are :
db2 reorg table SYSIBM.SYSCOLGROUPS inplace pause db2 reorg table SYSIBM.SYSCOLGROUPS inplace resume db2 reorg table SYSIBM.SYSCOLGROUPS inplace stop
This is only a preview. Your comment has not yet been posted.
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.
Posted by: |