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: shutdown abort & consistent=Y

Re: shutdown abort & consistent=Y

From: Doug Cha <dcha_at_shell2.ba.best.com>
Date: 04 Feb 1999 13:35:08 GMT
Message-ID: <36b9a20c$0$16677@nntp1.ba.best.com>


A commit will not return until the transaction has been written to the redo logs. It is not possible to have a committed transaction waiting in the redo buffer and not in the redo log.

Shutdown abort will roll back any uncomitted transactions on the next startup. Committed transactions will remain commited since they are recorded in redo. It is okay to shutdown abort, then restart and shutdown normal/immediate.

Eric Hanson <ehanson_at_gr.com> wrote:

: This is not entirely correct.  A shutdown abort does not perform a checkpoint
: and the buffers are not flushed prior to shutdown.  This means any transactions
: in the redo buffer but not in the redo log file are lost.  Also any transactions
: in the redo log file with the commit still in the redo buffer are rolled back.
: Basically this can be used but you need to know the state of your transactions.

: Eric Hanson

: Sean Fitzgerald wrote:

:> you won't lose anything by doing a shutdown abort followed by a startup
:> restrict because upon the startup, oracle does an instance recovery using
:> the online redo logs. This is a safe practice as long as you know what is
:> happening on your database when you shutdown abort. For example, if you
:> shutdown abort while tablespaces are in backup mode then the db will
:> complain (file xyz needs media recovery.....) upon restart and you will need
:> to take each datafile out of backup mode manually in order to open the db.
Received on Thu Feb 04 1999 - 07:35:08 CST

Original text of this message

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