Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
LOAD JCL for db2 table, taking too long to complete.

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

New User


Joined: 14 Oct 2019
Posts: 1
Location: IN

PostPosted: Mon Oct 14, 2019 3:35 pm    Post subject: LOAD JCL for db2 table, taking too long to complete.
Reply with quote

Hi!

I have one DB2 table to be loaded with around 1M records for testing purpose,
it is usually taking 30 to 40 mins to complete. is there any way I can enhance the performance and reduced the time? or is there any way to check the status of the table or how much data have loaded while job is still running?

Thank You!
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8496
Location: Dubuque, Iowa, USA

PostPosted: Mon Oct 14, 2019 8:49 pm    Post subject: Reply to: LOAD JCL for db2 table, taking too long to complete.
Reply with quote

The first question is, why do you think it is taking too long? What subjective measurement(s) do you have to support this claim?

The second question is, you claim it is taking "30 to 40 mins (sic) to complete" -- is this elapsed time or CPU time (the two are VASTLY different)?

The third question is, have you talked to your site support group about your desire to reduce the time? If not, why not -- your site support group knows your site better than anyone on this forum possibly could?
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2298
Location: NY,USA

PostPosted: Tue Oct 15, 2019 4:01 am    Post subject:
Reply with quote

In addition, if unloaded data is from Db2 use the INTERNAL FORMAT option during unload and load, try CA fast load of you at site , if it’s a CPU time then let DBA Look into it and if not then may be you don’t have enough CPU and jobs just waits and that adds up to elapsed time.
Back to top
View user's profile Send private message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 152
Location: United States

PostPosted: Fri Nov 08, 2019 2:21 am    Post subject:
Reply with quote

Run DB2 Stats?
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1203
Location: Bangalore,India

PostPosted: Fri Nov 08, 2019 11:46 am    Post subject:
Reply with quote

Try to run using Enforce no and Run check data afterwards. Also Please check if you have required index in place mainly indexes to support Foreign keys.
Back to top
View user's profile Send private message
sergeyken

Active Member


Joined: 29 Apr 2008
Posts: 603
Location: Maryland

PostPosted: Fri Nov 08, 2019 8:50 pm    Post subject: Re: LOAD JCL for db2 table, taking too long to complete.
Reply with quote

Somnath Giri wrote:
Hi!

I have one DB2 table to be loaded with around 1M records for testing purpose,
it is usually taking 30 to 40 mins to complete. is there any way I can enhance the performance and reduced the time? or is there any way to check the status of the table or how much data have loaded while job is still running?

Thank You!

A primitive solution - it is valid for any type of software debugging, not for database loading only!:
Try to run test loads - step by step - limit the input data to 100 rows, then to 1,000 rows, then to 10,000 rows, then to 100,000 rows, then to 1,000,000 rows. Compare the times needed to process those amounts. Then you can evaluate the time of your real load.

It is so primitive that seems to be a shame the discuss of this issue at the Expert Forum.

Quote:
Hi!

I have a car to be used with around 10 Miles for private purpose, it is usually taking 30 to 40 mins to get to my job. is there any way I can enhance the car performance and reduced the time? or is there any way to check the status of the driving or how much miles have left while my job is already begun?

Thank You!
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 Adding FIND to ISPF Panel display of ... Harold Barnes TSO/ISPF 3 Mon Oct 07, 2019 5:46 pm
No new posts DB2 Query runs very long John F Dutcher DB2 21 Wed Aug 21, 2019 11:44 pm
No new posts Query to Truncate value in table bhaskar_kanteti DB2 2 Mon Aug 12, 2019 3:26 pm
No new posts RACF RANGE TABLE Martin Wickenden All Other Mainframe Topics 1 Mon Jul 08, 2019 9:06 pm
No new posts DB2 table quality rizwanaccy DB2 6 Mon Apr 01, 2019 1:28 pm

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