Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Repartitioning Big Table Space.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Repartitioning Big Table Space.
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

Site Director


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

PostPosted: Tue Dec 28, 2010 8:50 pm    Post subject:
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: 1013
Location: India

PostPosted: Tue Dec 28, 2010 9:13 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts Updating online Db2 table kishpra DB2 3 Fri Aug 12, 2016 2:44 pm
No new posts Getting soc4 on internal table in cobol abdulrafi COBOL Programming 13 Fri May 06, 2016 3:39 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us