473,756 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

finding CPU utilization per database or instance

Jag
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 3906
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

4
6783
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).
2
2298
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 with our SQL server. Using PerfMon we monitored the CPU utilization on the server and noticed that...
1
1278
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 completed. I have tried the following: 1) Changed the type returned by the web service to type...
7
2151
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 utilization and drop the same if it is not used. Env: DB2 UDB 8.2 /AIX 5.3
4
9769
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 table view gives the error SQL 1032N, "No start command of the database has been given"....
9
4725
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 classes. Is this possible in an easy way, or do I have to traverse all loaded assemblies and...
0
2208
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 my code that is starting to "spin" and eat up cpu time. Nothing on the site should take more than a...
1
520
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.
1
6630
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 Process\Working Set (I want to measure the physical memory it uses) Any help is appreciated....
0
9287
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10046
Oralloy
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9857
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9722
tracyyun
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7259
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5155
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3817
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
2
3369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.