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

Repartitioning Big Table Space.


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

New User


Joined: 31 Aug 2005
Posts: 82

PostPosted: Tue Dec 28, 2010 2:44 pm
Reply with quote

Hi,

We have large partition table space ( 100 Part ) with 3 none-partition indexes and 1 billion records.

We repartitioned part 99-100 of this table space on production which took long time especially in unload and build phases.

I don't know why the unload phase of reorg takes time more than unload utility from whole table space?

Please let me know how can I reduce the reorg time?

Please note that our DB2 Version is 7.

The job we are using for reorganize the table space after alter is as follows :

REORG TABLESPACE xxBANCS.TSXXX PART 69:100 LOG NO
COPYDDN(SYSCOPY)

Please advise.

Best regards
Manshadi
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue Dec 28, 2010 8:50 pm
Reply with quote

Hello,

Quote:
Please let me know how can I reduce the reorg time?

Please note that our DB2 Version is 7.
Unfortunately, this may also be the answer to your question.

What business reason is there to remain on an unsupported version of database when so much depends on this (the database environment). . . icon_confused.gif
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Tue Dec 28, 2010 9:13 pm
Reply with quote

Manshadi,

Quote:
I don't know why the unload phase of reorg takes time more than unload utility from whole table space?


Because in the unload phase, REORG sorts data if clustering index exists. If data is already in perfect clustering order specify SORTDATA NO.

Sushanth
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 Free space of a mulitvolume PS datase... TSO/ISPF 7
No new posts count contained values of several col... DB2 5
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Extract ISPF table column headings CLIST & REXX 2
Search our Forums:


Back to Top