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: Archiving database logs

Re: Archiving database logs

From: konsultant_1 - konsultancIT.pl <konsultant_1_at_konsultancIT.pl>
Date: Wed, 11 Jun 2003 13:54:28 +0200
Message-ID: <3EE71874.4060402@konsultancIT.pl>


Peter wrote:
> What is the diffence between
> alter database archivelog;
> and alter system archive log start?
>
> I am not sure when to use which.
> Thanks
>

HI,

ALTER DATABASE ARCHIVELOG - this statement you execute in database MOUNT mode switching between database NOARCHIVELOG and ARCHIVELOG mode.

alter system archive log start [to] - you puts when ARCH process fail or in initSID.ora, paramter LOG_ARCHIVE_START has FALSE.

Generally ALTER DATABASE ARCHIVELOG change database configuration LOG mode.

ALTER SYSTEM ARCHIVE LOG START/STOP[TO] controls the ARCH process. Also by using this command you can change the original archivelogs DESTINATION.

eg: ALTER SYSTEM ARCHIVE LOG START to '/arch2/SID'; then ARCH process after:
ALTER SYSTEM ARCHIVE LOG STOP or fail when filesystem is 100% used is starting generating ARCH files to new location.

-- 

   www.konsultancIT.pl
Oracle&MS-SQL consulting
Received on Wed Jun 11 2003 - 06:54:28 CDT

Original text of this message

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