Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Block size written
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 dbw09:25:32 $ strace -p 1133 -e trace=write,pwrite --- SIGALRM (Alarm clock) ---
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
-----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
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Robertson Lee - lerobe INET: lerobe_at_acxiom.co.uk 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: ListGuru_at_fatcity.com (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: cary.millsap_at_hotsos.com 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: ListGuru_at_fatcity.com (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).Received on Tue Oct 21 2003 - 10:34:31 CDT