View previous topic :: View next topic
|
Author |
Message |
Somnath Giri
New User
Joined: 14 Oct 2019 Posts: 1 Location: IN
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3054 Location: NYC,USA
|
|
|
|
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 |
|
|
John Poulakos
Active User
Joined: 13 Jun 2012 Posts: 178 Location: United States
|
|
|
|
Run DB2 Stats? |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
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 |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2029 Location: USA
|
|
|
|
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 |
|
|
|