473,473 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

UDB V8 FP9a "log data" monitor elements

What is the relationship between the snapshot elements:
Log pages written
Number write log IOs
Number partial page log IOs

There doesn't appear to be any information in my PDF System monitor
guide or the online information center.

When a COMMIT is issued; a log page containing updates must be written
to disk before control is returned to the application program. This
should frequently cause partial page I/O. This log page may be written
multiple times until it fills up, depending on volume of updates/commit.

I'm looking for answers to the following questions:
1. Is partial page I/Os included in write log I/Os?
2. What is counted in Log pages written? Full pages only? Full+partial?

Phil Sherman
Nov 12 '05 #1
3 2844
See below. #####

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Phil Sherman" <ps******@ameritech.net> a écrit dans le message de news:
Gh***************@newssvr19.news.prodigy.com...
What is the relationship between the snapshot elements:
Log pages written
Number write log IOs
Number partial page log IOs

There doesn't appear to be any information in my PDF System monitor guide
or the online information center.

When a COMMIT is issued; a log page containing updates must be written to
disk before control is returned to the application program. This should
frequently cause partial page I/O. This log page may be written multiple
times until it fills up, depending on volume of updates/commit.

I'm looking for answers to the following questions:
1. Is partial page I/Os included in write log I/Os? ###### Yes. 2. What is counted in Log pages written? Full pages only? Full+partial? ###### Full and partial.
I believe that if you are the only app. connected and you would run from the
CLP the following:
connect to sample (autocommit on from CLP)
update employee set bonus=bonus+1 where empno='000010' (Ran eight
successive executions)
get snapshot for database on sample
I get:
Log pages written = 8
Log write time (sec.ns) = 0.000000004
Number write log IOs = 8
Number read log IOs = 0
Number partial page log IOs = 8
Number log buffer full = 0

Write Log I/Os and Partials are equal.

HTH, Pierre.
Phil Sherman


Nov 12 '05 #2
Hi Phil:

It is documented but not completely.

Anyway, here is the writeup on "Log Pages Written" element:

log_writes - Number of Log Pages Written monitor element
Description: The number of log pages written to disk by the logger.
Usage: You may use this element with an operating system monitor to
quantify the amount of I/O on a device that is attributable to database
activity.
Note: When log pages are written to disk, the last page might not be
full. In such cases, the partial log page remains in the log buffer,
and additional log records are written to the page. Therefore log pages
might be written to disk by the logger more than once. You should not
use this element to measure the number of pages produced by DB2.
<<<<<<<<<<< the DOC is confusing -- Above it says that partial page
remains in the log buffer, but below is the element which records no.
of partial page log IOs. So db2 does write partial log pages to disk
multiple times till the page is full -- correct ?? >>>>>>>>>>>>>

Number partial page log IOs:
Description: The number of I/O requests issued by the logger for
writing partial log data to the disk.
Usage: Use this element in conjunction with the log_writes,
log_write_time, and num_log_write_io elements to determine if the
current disk is adequate for logging.

Number of write log IOs:
Description: The number of I/O requests issued by the logger for
writing log data to the disk.
Usage: Use this element in conjunction with the log_writes and
log_write_time elements to determine if the current disk is adequate
for logging.
HTH

VIjay

Nov 12 '05 #3
This is exactly what my documentation states. Unfortunately, in
examining it and the names of the data elements, I could make a good
case for the numbers to be either inclusive or exclusive. I just didn't
think of doing what Pierre did and try a simple test - probably because
it was 1am in the morning!

Phil Sherman

UDBDBA wrote:
Hi Phil:

It is documented but not completely.

Anyway, here is the writeup on "Log Pages Written" element:

Nov 12 '05 #4

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

Similar topics

0
by: Jonathan Trevor | last post by:
Hi, Spent nearly 8 hours googling and trying code on this yesterday without much success. I'd like to write a .NET application (using .NET primitives, older Win32 calls, or WMI etc) to work out...
3
by: 21novembre | last post by:
Hi all, I made a question several days before to describe my strange trouble of mysqldump. But I still can't figour it out. Well, I just want to ask another question whether I could just backup...
6
by: Jon Davis | last post by:
I recently learned how to do an <OBJECT> alternative to <IFRAME> in current browsers using: <object id="extendedhtml" type="text/html" data="otherpage.html" width="250" height="400"></object> ...
0
by: Klemens | last post by:
what do entry's like this in db2diag.log indicate? ------------------------------------------- 2004-01-14-09.07.52.650000 Instance:WWS Node:000 PID:3512(db2syscs.exe) TID:1116 ...
6
by: Fan Ruo Xin | last post by:
Last monday, I tried to create a working table, and failed because of 'Log Full'. There were two applications running at that time - one is autoload (during the split phase), another one is "insert...
2
by: Harrie Verveer | last post by:
Hi, I'm building quiet a large webapplication (CMS) in ASP.NET. On localhost the application runs fine. For publishing we use 2 hosting providers at the moment (let's call those 'A' and 'B')....
6
by: P. Prosper | last post by:
Hello, Sorry for the cross-posting, I first posted this message to the vb.6 NG (wrong group) <g>. Are there any add-in or tools out there (for VB.NET ) that would allow one to drag and drop...
11
by: sofeng | last post by:
I'm not sure if "data hiding" is the correct term, but I'm trying to emulate this object-oriented technique. I know C++ probably provides much more than my example, but I'd just like some feedback...
38
by: Sanders Kaufman | last post by:
I'm converting my table-based layouts to css-positioned divs - but the ONLY reason I'm doing it is because it's *considered* a best practice. I don't really see where anything goes hinky when...
0
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...
0
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,...
1
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...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
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...

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.