Need a quick method to convert from VCAT to STOGROUP defined consolidate extents without the REORG outage?
One important issue to start thinking about is Db2 objects using VCAT defined objects as opposed to STOGROUP defined objects.
These objects will have to be converted sooner or later in order to exploit some of the new features available in Db2 8 and Db2 9.
Another issue many Db2 users experience from time to time is related to tablespaces and indexes reaching an "out of extent" situation,
or the need to consolidate extents without the outage from a Reorganization - or even move the pageset to a specific volume for performance reasons.
Database Analyzer for Db2 for z/OS (PDA) offers a unique method to assist in both of these scenarios, using a high speed data movement mechanism
while also taking care of the necessary catalog updates - and even more important, automatic fallback if "something goes wrong".
The steps needed to accomplish these tasks are:
1. ********************************* TOP OF DATA ************************** 2. .CALL DFLMOVE INDDN(PTIIN) OUTDDN(PTIPRINT) 3. .DATA 4. SSID(DXXX) TABLESPACE(DSNDB04.SYSCOLTS) PART(3) 5. VCAT(DXXX) 6. PRIQTY(2000) 7. SECQTY(4000) 8. .ENDDATA 9. .SYNC 5 'MOVE TABLESPACE(DSNDB04.SYSCOLTS) PART(3)' 10. ******************************** BOTTOM OF DATA ************************ 11. 12. ********************************* TOP OF DATA ********************************* 13. .CALL DFLMOVE INDDN(PTIIN) OUTDDN(PTIPRINT) 14. .DATA 15. SSID(DXXX) TABLESPACE(D0705033.S0705033) 16. VCAT(DXXX) 17. USING(SG,SYSDEFLT) 18. .ENDDATA 19. .SYNC 5 'MOVE TABLESPACE(D0705033.S0705033)' 20. ******************************** BOTTOM OF DATA *******************************
The purpose of the renaming process is done in order to provide automatic fallback in case the process should fail.