View previous topic :: View next topic
|
Author |
Message |
mailsaurabh.tripathi
New User
Joined: 22 May 2008 Posts: 56 Location: hyderabad
|
|
|
|
Hi
I'm using CA insight to monitor threads. I have a job whic is running for a very long time.query being used is fine. Now there in the response time, there is a row 'Other DB2 Time' which shows that it is here that most of the time is consumed. Can someone let me know, what the reasons accountable for this?
Regrds
Saurabh |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
One reason may be the process is waiting on something in use.
The query may not be fine if it processes to many rows or tries to acquire a high number of locks. . . |
|
Back to top |
|
|
GuyC
Senior Member
Joined: 11 Aug 2009 Posts: 1281 Location: Belgium
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
great link, thx GuyC |
|
Back to top |
|
|
GuyC
Senior Member
Joined: 11 Aug 2009 Posts: 1281 Location: Belgium
|
|
|
|
you're welcome.
The article is just two days old.
Pure coincidence that it answers the question so clearly. (or is mailsaurabh.tripathi Dave Beulke in disguise?) |
|
Back to top |
|
|
mailsaurabh.tripathi
New User
Joined: 22 May 2008 Posts: 56 Location: hyderabad
|
|
|
|
Thank You GuyC..I wish i had Dave's insight |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Something less than elegant you might try - is to run the problem process at a time when there is no other DB2 activity (possibly in the early a.m. on a weekend).
If the process runs acceptably when it runs alone, then the search is on for the processes that interfere with it. Keep in mind that it is probably interefering with other processes as well.
If the process still has the same problem, it is time to look at the query(ies) or the database definitions. |
|
Back to top |
|
|
|