IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to do online REORGs? what risks and advantages in it


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
crazyf1

New User


Joined: 05 May 2006
Posts: 26

PostPosted: Wed Mar 14, 2007 7:07 am
Reply with quote

Can someone point me to a book on how to do online reorgs? what risks and advantages it may have versus offline reorgs.
Thanks
Back to top
View user's profile Send private message
wanderer

Active User


Joined: 05 Feb 2007
Posts: 199
Location: Sri Lanka

PostPosted: Wed Mar 14, 2007 12:16 pm
Reply with quote

DB2 developer's guide by Craig Mullins had a section on online reorg and how to do for it.

Although you can refer to IBM manual here for indepth coverage.
publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dsnugh18/2.21?DT=20061201100238

This doesn't separately discuss online-reorg, but rather uses various options of REORG control statement to tell you REORG as a complete utility.

The obvious advantage is that table can be accessed most of the time while the reorg is running. And if the utility fails due to some reason, the tablespace won't need to be recovered. So it is clean and cost of it is same as offline reorg.

I suppose disadvantage would be that you will require additional space amounting to the same that the original tablespace occupies. And there is a mapping table to be created.

There are several more restrictions and dependencies. See the manual above for more.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Check if CICS is online in JCL CICS 10
No new posts Underscore was not populated to onlin... CICS 1
No new posts Trying to change copybook in online c... CICS 4
No new posts Batch call online program, EXCI task ... CICS 3
No new posts Error while trying to access Online I... CA Products 2
Search our Forums:


Back to Top