If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > cpu usage

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-14-03, 11:01
johanbruy johanbruy is offline
Registered User
 
Join Date: Sep 2001
Posts: 2
cpu usage

Hello,

We're having problems with some querries on db2/udb windows 2000 version 7.2.4. One query is consuming all the cpu of the server, is there a possibility to use a parameter to automatic force these queries when they take all resource of the server ? Can i set a parameter of max. cpu-usage ?

Thanks,
Johan
Reply With Quote
  #2 (permalink)  
Old 10-14-03, 11:43
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Johan,
No, not to my knowledge. Large queries do this. You need to examine the query and check why it is consuming so much resources.
Run EXPLAIN or generate an access plan in the Control Center to see what it is doing. Anything like creating indexes can improve this.

HTH

Andy
Reply With Quote
  #3 (permalink)  
Old 10-14-03, 11:52
M_RAS M_RAS is offline
Registered User
 
Join Date: Sep 2003
Location: canada
Posts: 230
Quote:
Originally posted by ARWinner
Johan,
No, not to my knowledge. Large queries do this. You need to examine the query and check why it is consuming so much resources.
Run EXPLAIN or generate an access plan in the Control Center to see what it is doing. Anything like creating indexes can improve this.

HTH

Andy
As far as I know with DB2GOV utility you can force application that consume cpu more than you expectation.

Thanks
Reply With Quote
  #4 (permalink)  
Old 10-14-03, 12:33
Brett Kaiser Brett Kaiser is offline
Window Washer
 
Join Date: Nov 2002
Location: Jersey
Posts: 10,303
Re: cpu usage

Hey,

Why not get the root of the problem and post that bad boy...

Also...it's been a while, doing a lot of sql server...but does this board deal with any OS/390 stuff?

Spocs up there are a bugger...

Or is there a separate OS/390 DB2 board?
Reply With Quote
  #5 (permalink)  
Old 10-14-03, 12:45
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Re: cpu usage

Yes, we do OS/390. Just be sure to mention that fact each time you post a question.

Andy

Quote:
Originally posted by Brett Kaiser
Hey,

Why not get the root of the problem and post that bad boy...

Also...it's been a while, doing a lot of sql server...but does this board deal with any OS/390 stuff?

Spocs up there are a bugger...

Or is there a separate OS/390 DB2 board?
Reply With Quote
  #6 (permalink)  
Old 10-14-03, 13:26
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Check out "Chapter 9. Using the governor" in the Administration Guide: Performance.

This is the version manual, not sure about version 7.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On