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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Flush

Re: Flush

From: Sybrand Bakker <sybrandb_at_hccnet.nl>
Date: Fri, 27 Aug 2004 16:47:12 +0200
Message-ID: <l5iui0l13gc0lolar2p5k8jucidie9llgj@4ax.com>


On Fri, 27 Aug 2004 09:37:52 -0400, Bill Van Dyk <trash_at_christian-horizons.org> wrote:

>I am testing Ocopy for the purpose of backing up our Oracle database and
> I'm confused by something. When I make some test entries into a
>table, the Oracle data files appear to be unchanged. I assumed that the
>data would eventually flush into the data files, after a few hours or
>so. It's been two days, and still no sign that the data files have been
>updated. (This is a test system with no other users accessing the
>tables.) What gives? How long should it take before the new data is
>written to the actual Oracle data files? Or is it determined by the
>size of the buffers in the log?

The data will be written to disk, as soon as the transaction is committed.
>
>The database is called doris. The only file that has changed, on that
>drive, during the time I entered the test data, is
>\oracle\ora81\network\doris.log.
>

Not sure what this log file is, it looks like sqlnet logging. Doesn't tell anything.

>Second question: for a complete backup, do I copy the log files?
You don't copy the online redo log file, you do copy the archived redo log files.
  And do
>they require "Ocopy"? Am I correct in assuming that the Ocopy utility
>is only required for the .dbf files-- the other Oracle files including
>the *.log and *.ctl files-- can they be copied with a standard dos
>command?

No, you are not correct. The control files definitely need to be copied using OCOPY as they are written to all the time.

Any harm in using Ocopy on them as well? No.

>
>Thanks.

--
Sybrand Bakker, Senior Oracle DBA
Received on Fri Aug 27 2004 - 09:47:12 CDT

Original text of this message

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