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

LOAD JCL for db2 table, taking too long to complete.


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon Oct 14, 2019 8:49 pm
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

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Tue Oct 15, 2019 4:01 am
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: 178
Location: United States

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

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

Moderator


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

PostPosted: Fri Nov 08, 2019 11:46 am
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

Senior Member


Joined: 29 Apr 2008
Posts: 2024
Location: USA

PostPosted: Fri Nov 08, 2019 8:50 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
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 How to load to DB2 with column level ... DB2 6
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top