Unix Technical Forum

increase cpu usage for a db2 process

This is a discussion on increase cpu usage for a db2 process within the DB2 forums, part of the Database Server Software category; --> Hi, I'm running DB2 UDB v 7.2 FP 9 on WinXP and I'm new to DB2. Currently, I have ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 04:50 AM
Andy S.
 
Posts: n/a
Default increase cpu usage for a db2 process

Hi,

I'm running DB2 UDB v 7.2 FP 9 on WinXP and I'm new to DB2.

Currently, I have a Java program running on the DB2 server that is
executing a lot of stored procedueres that are doing a large number of
SELECT statements, doing computation on the data and then altering
every row of data.

The CPU usage of the db2syscs process however, is only 6-9%, with
SYSTEM IDLE taking up the remaing CPU percentage. Runstats and a reorg
have been very recently done on the tables and indexes that the stored
procs access.

I want to improve the performance of the stored procedures - can I
force DB2 to utilize more CPU % and if so, how should this be done?

Thanks!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 04:50 AM
shenanwei@gmail.com
 
Posts: n/a
Default Re: increase cpu usage for a db2 process

db2set DB2NTPRICLASS=H
But the bottleneck of your system is not CPU, mostly it maybe memory
and HD.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 04:50 AM
Jurgen Haan
 
Posts: n/a
Default Re: increase cpu usage for a db2 process

shenanwei@gmail.com wrote:
> db2set DB2NTPRICLASS=H
> But the bottleneck of your system is not CPU, mostly it maybe memory
> and HD.
>


Network connections are also very important.
And indeed memory and HD, check your swap, if it's being used often, you
lack memory, and for the disks check I/O settings (16/32 bits and DMA
settings).

-R-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 04:50 AM
Andy S.
 
Posts: n/a
Default Re: increase cpu usage for a db2 process

Thanks for your replies! But how do I check these settings that you
mentioned above and how do I change them?

Thanks!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 04:50 AM
Mark Yudkin
 
Posts: n/a
Default Re: increase cpu usage for a db2 process

As well as the DB2 monitopring tools, you could start with Start -> All
Programs -> Control Panel -> Administrative Tools -> Performance to see what
system bottlenecks you have.

"Andy S." <andys506@hotmail.com> wrote in message
news:1117039918.319121.204090@g47g2000cwa.googlegr oups.com...
> Thanks for your replies! But how do I check these settings that you
> mentioned above and how do I change them?
>
> Thanks!
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:58 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com