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

Doing REORG on Large DB2 Table


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

New User


Joined: 09 Mar 2008
Posts: 28
Location: USA

PostPosted: Wed Mar 23, 2011 11:46 pm
Reply with quote

Hi All!!

I want to discuss a scenario at my workshop. We have to often REORG our DB2 table to tune it. REORG works fine when tables contain smaller volume of data.

But when the table is big (in terms of volume), it often gives space error. We tried to increase the temporary work files used by REORG but it did not work. So we take sequential unload of that table, then sort it and then load back in to the table.

But this process takes too much time to get complete. Can anyone suggest a better approach to do the REORG in more time efficient manner??

Please let me know if I need to provide more information.
Back to top
View user's profile Send private message
Peter Nancollis

New User


Joined: 15 Mar 2011
Posts: 47
Location: UK

PostPosted: Thu Mar 24, 2011 5:19 am
Reply with quote

you dont reorg tables - you reorg tablespaces
how long to reorg - how long to unload/load?
what is the constraint on the reorg? - what fails
Is this a real problem or imaginary ?
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Thu Mar 24, 2011 9:54 am
Reply with quote

nKumar,

You have give in more details to get some realistic answer, like
How many rows does the table have ?
What is the total length of the row ?
Is it partitioned or non-partitioned ?
Show us your error details ?
How often REORG is done(weekly, bi-weekly, monthly or based on some condition) like that ?
when is the REORG Job executed like on maintainence window(when there is no online or when system is less busy) ?

And do show us your current REORG Statements.

Without these kind of information, everybody reading this post will think exactly as peter said"Is this a real problem or imaginary ?"

Thanks,
Sushanth
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Reorg abended with REASON=X'00E40347' DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
Search our Forums:

Back to Top