MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is reorg necessary after LOAD REPLACE?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
viji
Beginner


Joined: 03 Dec 2002
Posts: 17
Topics: 11

PostPosted: Thu Dec 12, 2002 10:46 am    Post subject: Is reorg necessary after LOAD REPLACE? Reply with quote

Hi,
I have Loaded the tablespace with LOAD REPLACE. Is REORG tablespace/Indexspace required after LOAD REPLACE?
Could you please specify the link where the information about this available?
Thanks inadvance.
Viji
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12359
Topics: 75
Location: San Jose

PostPosted: Thu Dec 12, 2002 11:31 am    Post subject: Reply with quote

Viji,

It depends.If your Load file is sorted on the primary/clustering index ,then you don't have to run REORG utility.Basically REORG TABLESPACE/INDEX utility reorganizes a table space to improve access performance and reclaim fragmented space..The load replace with a sorted input file is mimicing the abiliites of REORG utility.I wouldn't recommend coding a REORG step after the load replace if the input load file is sorted on the index.

If you want to learn more about the utilites then check this DB2 UDB for OS/390 and z/OS V7 Utility Guide and Reference

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Thu Dec 12, 2002 10:45 pm    Post subject: Reply with quote

Hi Viji,

It is always better to do a BLDINDEX and RUNSTATS after a LOAD REPLACE. Again you should also do a CHECKDATA on all the tables whose columns have a foreign key relationship with the table that you have loaded.
As kolusu said, loading a table from a seq file which is sorted on the primary index is always better. In fact while using the load utility, our installation always has a sort step in the job flow before the load.

Regards,
Manas
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group