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

Long running jobs


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mailsaurabh.tripathi

New User


Joined: 22 May 2008
Posts: 56
Location: hyderabad

PostPosted: Thu Jul 15, 2010 12:37 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 15, 2010 1:12 am
Reply with quote

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
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Thu Jul 15, 2010 6:43 pm
Reply with quote

Improve Performance by Reducing Your Other Time : davebeulke.com/?p=1046
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 15, 2010 6:55 pm
Reply with quote

great link, thx GuyC
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Thu Jul 15, 2010 8:30 pm
Reply with quote

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
View user's profile Send private message
mailsaurabh.tripathi

New User


Joined: 22 May 2008
Posts: 56
Location: hyderabad

PostPosted: Fri Jul 16, 2010 2:40 am
Reply with quote

Thank You GuyC..I wish i had Dave's insight icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 16, 2010 2:47 am
Reply with quote

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
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 Finding and researching jobs All Other Mainframe Topics 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Running a Job with the Default User ID JCL & VSAM 2
Search our Forums:

Back to Top