473,545 Members | 1,288 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

finding CPU utilization per database or instance

hi all,

how can i monitor cpu utilization per database or per instance.
i run snapshot for database and get lots of information which probably can
be used to come up with some
equation. is there anything simpler?
any build in feature ?

please suggest
Nov 12 '05 #1
1 3891
In article <QIAkd.1410$%L1 .903@lakeread07 >,
Jag <ja***********@ hotmail.com> wrote:
hi all,

how can i monitor cpu utilization per database or per instance.
i run snapshot for database and get lots of information which probably can
be used to come up with some
equation. is there anything simpler?
any build in feature ?

I have been trying to do the same using the snapshot API and the best I
can do is to sum up all the CPU used by applications (so get an
applications snapshot). Alternatively, you can use a connections event
monitor and sum up all the CPU usage from the "connection end" events.

I have found two significant issues with DB2 in this area:

- In DB2 V7.x and V8.2 on Solaris 7 and Solaris 8, the system CPU time
used by agents is often misreported by significant amounts (off by
2^30 or 2^31). This is fixed in Solaris 9 (and there are also some
Sun patches for Solaris 8, don't have the details).
- In DB2 V8.2 on Linux/ia64 (Itanium), something similar happens - CPU
time reported for agents is sometimes off by large amounts, e.g. DB2
reports 15,000 CPU seconds used in 0.0001 elapsed seconds - and this
five minutes after starting the instance on a 4-CPU box.

Given this, you may be better off monitoring CPU usage using systemwide
tools, e.g. by looking at the load average or tools llike 'top'. On
servers dedicated to DB2, that will give you equivalent results of
possibly better quality.
Nov 12 '05 #2

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

Similar topics

by: Anks | last post by:
hi I am testing my applet to servlet communication program using appletviewer. as soon as i start the applet the cpu utilization reaches to 100%.I am using apache tomcat 4.1 application server.the os is windows 2000 professional. the same problem occurs online as more people open there applet (ultimately it hangs).
by: Patrick Moore | last post by:
We have a SQL 7.0 Standard Server running on a Windows 2000 Server machine with 2 800mhz Pentium III with 2GB memory. Our front end is Access 97 and 2000 with most ADO connections for the scripts but some DAO for forms and reports. We recently "released" a new version of the "database" that caused a catastrophic event to start happening...
by: John Doe | last post by:
I have written a web service that returns an XmlDocument. The code is similar to the example below, except it returns an XmlDocument rather than an XmlDataDocument. When I run the service from the test harness in VS (or from a client page), CPU utilization on the Web server spikes to over 50% and returns quickly to around 0-5% after it has...
by: reachsamdurai | last post by:
Hello, I'm looking for a method to check the utilization of index by any SQL (Static and Dynamic) at the database level instead of generating the access plan for each SQL. I have inherited a database where index occupies more space than the data and most of the indexes are looking redundant to me hence I would like to check each index...
by: matts.gustavsson | last post by:
I am running a standalone PC (DELL 1,73MHz with 504 MB of RAM) using Windows XPP Service Pack 2 and BD2 version 8.1 (the freeware version!). Right after start of the PC the process db2dasrrm.exe takes all CPU time. This makes the system extremely slow; to start the Control Center takes several minutes. Exploring the database, e.g. to open the...
by: Allan Ebdrup | last post by:
I would like to use reflection to find all classes that inherit from my current class, even if they are in another assembly I want to find them if the current project has a reference to that assembly. The reason for this is that I want to check some attributes of all child classes and have the base class react to this information in the child...
by: elpy | last post by:
Hello, I am running a web site using tomcat 6.0 and am having a problem where tomcat's cpu utilization goes up to 95-97% and the response time for even simple page loads becomes very slow. If I use the manager app and reload a couple of webapps the load will drop back down to the usual 10% cpu utilization. I presume that I have a bug somewhere in...
by: nbharatha | last post by:
Hi, Environment: Only one database per instance however each application is given it's own schema. My objective is to compute the space utilized by each application on the DB2 Database. Following is my approach and request you to suggest / advise for correctness.
by: Kaheru | last post by:
memory utilization increase? This is because when i try to keep track of the CPU utilization and memory utilization of my FTP server process (ftpserver.exe), the CPU utilization increase, but the memory utilization decrease. Why is this happening? PS: CPU Utilization is taken from Process\% Processor Time Memory Utilization is taken from...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.