Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Long running jobs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Long running jobs
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

Site Director


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

PostPosted: Thu Jul 15, 2010 1:12 am    Post subject:
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    Post subject:
Reply with quote

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

Global Moderator


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

PostPosted: Thu Jul 15, 2010 6:55 pm    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Fri Jul 16, 2010 2:47 am    Post subject:
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    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 Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us