Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
LOAD REPLACE with DUMMY performance

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
tarun_bhardwaj

New User


Joined: 18 Jul 2003
Posts: 39
Location: delhi

PostPosted: Tue Sep 01, 2009 5:00 pm    Post subject: LOAD REPLACE with DUMMY performance
Reply with quote

Hi,

I had earlier read that LOAD REPLACE with DUMMY works faster as compared to DELETE * from table incase the volume of data is very large.

In our shop(with 300+ tablespaces with each tablespace housing one table), DELETE * from table was earlier being used. To improve the performance, I tried to use a LOAD REPLACE with DUMMY but to my surprise the job ran at a much slower speed than what it earlier used to run with. I ran the original job (the one with DELETE * from table) and the one with my changes (LOAD REPLACE with DUMMY) in parallel on two different databases. The original job completed in 8 minutes whereas the one with my changes finished in 35 minutes.

Here is one of the LOAD statements that I provided in SYSIN:
Code:
LOAD DATA REPLACE LOG NO INDDN SYSREC00 NOCOPYPEND INTO TABLE ABC.TABLE1;
                                   


Can anyone please help me understand why the performance must have degraded ?

Thanks in advance !
Back to top
View user's profile Send private message

dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Tue Sep 01, 2009 7:33 pm    Post subject:
Reply with quote

Which version of DB2 you are using?
If DB2 v9, you can use TRUNCATE statement.
Back to top
View user's profile Send private message
dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Tue Sep 01, 2009 7:37 pm    Post subject:
Reply with quote

If you insist on using LOAD REPLACE with DUMMY , perhaps you should put the log of your loading job here. We can analyse the performance issue from the log.
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Wed Sep 02, 2009 3:02 pm    Post subject:
Reply with quote

just a guess : check your DSNDBD VSAMs

Maybe LOAD REPLACE cleans up your VSAM (extents, extra VSAMS) and delete * doesn't.
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 Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts CONTIG for performance? JPVRoff JCL & VSAM 8 Fri Jun 09, 2017 8:39 am
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us