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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Query Database while shutdown in progress

RE: Query Database while shutdown in progress

From: <Joel.Patterson_at_crowley.com>
Date: Fri, 29 Jun 2007 07:31:31 -0400
Message-ID: <02C2FA1C9961934BB6D16DE35707B27B03188CD5@jax-mbh-01.jax.crowley.com>


OK, I give... bad morning for a Friday. I'm reading that you said every 3 seconds... then you reply back apologizing for replying from memory and accompany that with documentation that says every 3 seconds? - and use an arrow to highlight the line.    

I definitely cannot walk away missing this, so I apologize if my brain hasn't kicked in yet... got a few things happening already this morning.  

Joel Patterson
Database Administrator
joel.patterson_at_crowley.com
x72546
904 727-2546


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Randy Johnson Sent: Thursday, June 28, 2007 7:30 PM
To: 'oracle-l'
Subject: RE: Query Database while shutdown in progress  

Okay, I stand corrected. That's what happens when you reply from memory.  

My bad.    

CHECKPOINT TUNING AND ERROR HANDLING  

  1. What is a Checkpoint?

   A Checkpoint is a database event which synchronizes the modified data blocks in memory with the datafiles on disk. It offers Oracle the means for ensuring the consistency of data modified by transactions. The mechanism of writing modified blocks on disk in Oracle is not synchronized with the commit of the corresponding transactions.  

    A checkpoint has two purposes: (1) to establish data consistency, and (2) enable faster database recovery. How is recovery faster? Because all database changes up to the checkpoint have been recorded in the datafiles, making it unnecessary to apply redo log entries prior to the checkpoint. The checkpoint must ensure that all the modified buffers in the cache are really written to the corresponding datafiles to avoid the loss of data

    which may occur with a crash (instance or disk failure).   

    Oracle writes the dirty buffers to disk only on certain conditions:  

    A checkpoint is realized on five types of events:  

    During a checkpoint the following occurs:

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jared Still Sent: Thursday, June 28, 2007 1:46 PM
To: randyjo_at_sbcglobal.net
Cc: oracle-l
Subject: Re: Query Database while shutdown in progress  

On 6/27/07, Randy Johnson <randyjo_at_sbcglobal.net> wrote:   

BTW, unless I'm mistaken, checkpoints occur automatically at the least every 3 seconds.  

Gee, I hope not.

LGWR on the other hand... :)

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist 

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.10/876 - Release Date:
6/28/2007 10:56 AM


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.10/876 - Release Date:
6/28/2007 10:56 AM



--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jun 29 2007 - 06:31:31 CDT

Original text of this message

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