Lee,

Are you sure you're specifying the right process? When I use truss -p on
my DBWR, it gives exactly what you need. In the following test, I used
truss (strace on my Linux machine) to show what DBWR did in response to
a "create table test as select * from dual; drop table test;" executed
in another session:

 09:25:31 $ ps -ef | grep dbw
oracle    1133     1  0 Oct09 ?        00:00:01 ora_dbw0_V901
cvm      12013 11962  0 09:29 pts/0    00:00:00 grep dbw
 09:25:32 $ strace -p 1133 -e trace=write,pwrite
--- SIGALRM (Alarm clock) ---
..
--- SIGALRM (Alarm clock) ---
pwrite(17, "[EMAIL PROTECTED]"...,
4096, 12234752) = 4096
--- SIGALRM (Alarm clock) ---
..
--- SIGALRM (Alarm clock) ---
 09:27:09 $

By doing a "man pwrite", I can see the explanation of the pwrite return
value of 4096: 

  RETURN VALUE
       On success,  the  number  of  bytes  read  or  written  is
       returned  (zero indicates that nothing was written, in the
       case of pwrite, or end of file, in the case of pread),  or
       -1  on  error,  in which case errno is set to indicate the
       error.

Therefore, my DBWR is writing 4,096 bytes at a time.


Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com

Upcoming events:
- Performance Diagnosis 101: 10/28 Phoenix, 11/19 Sydney
- SQL Optimization 101: 12/8-12 Dallas
- Hotsos Symposium 2004: March 7-10 Dallas
- Visit www.hotsos.com for schedule details...


-----Original Message-----
Robertson Lee - lerobe
Sent: Tuesday, October 21, 2003 9:34 AM
To: Multiple recipients of list ORACLE-L

Hi,


Oracle 9.2.0.3
AIX 5L

Is there a way of finding the block sizes that are being written from
the
database. We are experiencing write waits now, after solving our read
issues.

We have looked at truss -p on AIX and it doesn`t seem to show this.

Regards

Lee






**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Robertson Lee - lerobe
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Cary Millsap
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to