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: Difference between alter system and alter database?

Re: Difference between alter system and alter database?

From: konsultant_1 - konsultancIT.pl <konsultant_1_at_konsultancIT.pl>
Date: Wed, 11 Jun 2003 13:55:25 +0200
Message-ID: <3EE718AD.5010003@konsultancIT.pl>


Peter wrote:
> What is the difference between alter system and alter database?
> When do you use one over the other?
>
> 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:55:25 CDT

Original text of this message

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