RE: DBWR pegged out
Date: Wed, 9 Mar 2011 18:16:12 -0500
Oh, is TEMP the name of his temporary tablespace?
So Doug, what is your application doing?
Greg's reference in line is write complete waits
The session waits for a buffer to be written. The write is caused by normal aging or by a cross-instance call.
Wait Time: 1 second
The rollback segment id that contains the transaction that is being rolled back
The transaction flags (options) set for the transaction that is being rolled back
Identifies the reason for waiting
So he asked about a rollback. But I'm not so sure the buffer being written is a rollback or just associated with a rollback. Since it seems to be on TEMP and we naturally suspect that is a temporary tablespace, the only thing I can think of that would have to wait to write on TEMP in a rollback is something on a global temporary table. Otherwise I think all that has to happen on TEMP is freeing the space or direct writes that should have exclusive rights to where they are writing. That seems very unlikely to generate a lot of waits.
I could be completely wrong. But it seems like any rational person would name that rollback buffer write complete waits if it can only be a rollback buffer that you're waiting to have written. If that is the case, shame on you for naming your undo tablespace TEMP.
Something doesn't add up.
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]
On Behalf Of Kevin Closson
Sent: Tuesday, March 08, 2011 9:55 PM
Subject: Re: DBWR pegged out
Stop asking the *right* question! I need my bandwidth allotment to ask
PS. Beer circa EOM March! Be there!
From: Greg Rahn <greg_at_structureddata.org>
Sent: Tue, March 8, 2011 10:51:41 AM
Subject: Re: DBWR pegged out
I'd be asking what "write complete waits" have to due with temp.
Looks to me that its something to do with transactions and
What does the ASH report show?
On Tue, Mar 8, 2011 at 9:59 AM, Kevin Closson <ora_kclosson_at_yahoo.com>
> I'd be asking myself (and oracle perhaps) two questions: 1) why am I
> to TEMP at all and 2) if sessions need to spill to temp on 11.2 why are
> not doing so in the direct path?
> BTW, what class of server is this?
> From: Doug Gernaat <dag_at_its.msstate.edu>
> To: oracle-l_at_freelists.org
> Sent: Tue, March 8, 2011 7:55:04 AM
> Subject: DBWR pegged out
> after oracle suggested bumping up db_writer_processes from 2 to 4, at
> is still getting pegged out. "write complete waits" will become a top time
> drilling down will show:
> SID User Wait state/time Waiting Location
> 23 db_user In waiting (2ms) write complete waits, TEMP
> 30 db_user In waiting (88ms) write complete waits, TEMP
> 179 db_user In waiting (101ms) write complete waits,
> 189 db_user In waiting (0ms) write complete waits, TEMP
> 354 db_user In waiting (109ms) write complete waits,
> 1532 db_user In waiting (6ms) write complete waits,
> and diff users will fall in out of these write complete waits. i always
> TEMP... not any other dfiles.
> also during these times... ora_ckpt will start blocking other sessions. is
> this I/O contention? any suggestions?
> dbwr_io_slaves is set to 0.
> this is 184.108.40.206 on solaris sparc 64.
-- Regards, Greg Rahn http://structureddata.org -- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Wed Mar 09 2011 - 17:16:12 CST