Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: DBMS Failure Issue

Re: DBMS Failure Issue

From: Mladen Gogala <gogala_at_sbcglobal.net>
Date: Sun, 13 Nov 2005 07:19:51 GMT
Message-Id: <pan.2005.11.13.07.19.50.930722@sbcglobal.net>


On Sat, 12 Nov 2005 06:51:49 -0800, Leigh Williams wrote:

> The logwriter writes to the logfile on disk, so it must accumulate a
> block of log records before flushing to the log file. Suppose a
> transaction commits, but the commit record flushing is delayed by the
> log writer waiting to fill a block. What would happen to the
> transaction if DBMS failure occured while waiting for its commit record
> to be flushed? Would it simply be a case of a transaction undo in
> recovery?

Transaction doesn't commit until the commit record is written to the disk. In case of instance failure all transactions which haven't committed are rolled back. The answer to your question is "maybe".

-- 
http://www.mgogala.com
Received on Sun Nov 13 2005 - 01:19:51 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US