473,406 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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!

Nov 12 '05 #1
4 1806
db2set DB2NTPRICLASS=H
But the bottleneck of your system is not CPU, mostly it maybe memory
and HD.

Nov 12 '05 #2
sh*******@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-
Nov 12 '05 #3
Thanks for your replies! But how do I check these settings that you
mentioned above and how do I change them?

Thanks!

Nov 12 '05 #4
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." <an******@hotmail.com> wrote in message
news:11**********************@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!

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: rbt | last post by:
Would a Python process consume more memory on a PC with lots of memory? For example, say I have the same Python script running on two WinXP computers that both have Python 2.4.0. One computer has...
0
by: Ronen | last post by:
Hi All, I am running a client against a web application installed on a remote server written in C# which involve infragistics for GUI . The .NET framework I use is from version 1.1.4322 and we...
3
by: Ian Taite | last post by:
Hello, I'm exploring why one of my C# .NET apps has "high" memory usage, and whether I can reduce the memory usage. I have an app that wakes up and processes text files into a database...
0
by: Dirk Reske | last post by:
Hello, how can I get the memory and cpu usage of a Process? I get the process infos with Process proc = Process.GetProcessByID(...) which value is the Memory usage, I get in the windows Task...
15
by: Dirk Reske | last post by:
Hello, why doesn't this code work correctly? private int GetCpuUsage(Process proc) { DateTime time1,time2; TimeSpan timediff; double cpu1,cpu2,cpudiff;
5
by: Benny | last post by:
I am having a memory problem with my application. Plain and simple all the program does is runs through a bunch of images and prints them to a PCL Printer. The first part of the application that I...
1
by: Henrik | last post by:
I have a problem with processor load in the enviroment where I'm running the firts installation of my new application. My program is running on a Pentium 4 3.0 GHz, wtih 1 GB DDR SDRAM and 80 GB...
1
by: Daniel | last post by:
is there some per-process-limit on memory in .net processes? is there any way to increase it? i keep getting System.OutOfMemoryException when my box has 8 gigs of unused memory.
3
by: dittytwo | last post by:
Hi all I have been looking around the web and can't seem to find a solution the solution that i have found and manipulated seems to bring back the whole list of currently running process's...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.