In some other databases (like Oracle and SQL Server), there is a view
that show all SQL's currently executing, who is executing the SQL, and
what the SQL is waiting on (wait on read, wait on lock, wait while
writing to backup transaction log, etc.). What, if any, command can do
this in UDB?
Thanks. 2 1298
Rick wrote: In some other databases (like Oracle and SQL Server), there is a view that show all SQL's currently executing, who is executing the SQL, and what the SQL is waiting on (wait on read, wait on lock, wait while writing to backup transaction log, etc.). What, if any, command can do this in UDB?
Look into the GET SNAPSHOT command. You have a number of options there
from a DYNAMIC SQL SNAPSHOT, to a SNAPSHOT FOR ALL APPLICATIONS, that
will give you the information you are seeking.
Go to the online (web) Information Centre and search on GET SNAPSHOT and
you should fine much of the information you require.
Link: http://publib.boulder.ibm.com/infoce.../v8//index.jsp
Bob
Rick wrote: In some other databases (like Oracle and SQL Server), there is a view that show all SQL's currently executing, who is executing the SQL, and what the SQL is waiting on (wait on read, wait on lock, wait while writing to backup transaction log, etc.). What, if any, command can do this in UDB?
Thanks.
Rick, there is a tool called db2top that does most of what you're asking
for. I think it's still in a beta/prototype phase, so your mileage may
vary, but here is the link: http://www.alphaworks.ibm.com/tech/db2top.
In addition, most of the DB2 snapshot monitor data is now accessible
through SQL (via table UDFs), so you might want to look into that as well.
Regards,
Miro This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ken Lindner |
last post by:
I have a need to become familiar with SQL Server 2000 for work.
Needless to say I am new to SQL Server any version, but not IT in
general. My employer has provided me with the SQL Server 2000...
|
by: Mortrek |
last post by:
Hi.
We have a .NET programmer using our SQL server. The database is roughly
8GB at this point, full of all of our inventory, payroll data, etc. for
running reports.
This is on a dual-xeon...
|
by: Fred |
last post by:
Hello,
Our website is currently developed in ASP/Mysql 4.
The dedicated servers on which it is currently hosted arrive at saturation.
Here is their configuration:
- 1 server PIV 2,8Ghz 1GB...
|
by: Dave |
last post by:
I have a form with a label that should show an invoice number. The invoice
number should be generated by sql Server using an autoincremented technique.
However, after reading several articles, it...
|
by: Divakar |
last post by:
Hi,
How can we find which SQL statement is executing when "list application
show detail" shows "UOW Executing" against an application.
This topic was touched upon earlier by one of the member....
|
by: Doug |
last post by:
Hi,
I wanted to start a general discussion more for getting some thoughts
on what other people think/practice out there just to see how far (if
at all) I'm off base on my own thoughts.
My...
|
by: Ronald S. Cook |
last post by:
I've always been taught that stored procedures are better than writing SQL
in client code for a number of reasons:
- runs faster as is compiled and lives on the database server
- is the more...
|
by: buyisiwekhumalo |
last post by:
how to make sure that reports are automatically refreshed everyday without executing a new report everyday (i.e selecting a new report) and waiting for a page to load.
Users get irritated while...
|
by: Frinavale |
last post by:
I have a peculiar problem...
Background:
I have a function that I don't want the user to execute more than once while they are waiting for it to process; therefore, I disable all of the...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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,...
|
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...
|
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...
|
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,...
| |