Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: LOG_ARCHIVE_DEST
Hi
First - Sample clause in init<SID>.ora:
log_archive_start = TRUE log_archive_min_succeed_dest = 1 log_archive_dest_1 = 'LOCATION=/redologi MANDATORY REOPEN=5' log_archive_dest_2 = 'SERVICE=STANDB.WORLD OPTIONAL REOPEN=120' log_archive_dest_state_1 = enable log_archive_dest_state_2 = enable log_archive_format = ORAWP01%S.arc
Second - In documentation you have read:
Parameter type String Syntax: LOG_ARCHIVE_DEST_[1 | 2 | 3 | 4 | 5] = "null_string" |((SERVICE=tnsnames_service | LOCATION=local_pathname) [MANDATORY | OPTIONAL] [REOPEN[=integer]] )
Parameter class: Dynamic. Scope = ALTER SYSTEM, ALTER SESSION. Default value: None Range of values: Valid keyword definitions (see syntax below)
Note: This parameter is valid only if you have installed Oracle Enterprise Edition. You may continue to use LOG_ARCHIVE_DEST if you have installed Oracle Enterprise Edition. However, you cannot use both LOG_ARCHIVE_DEST_n and LOG_ARCHIVE_DEST, as they are not compatible.
The LOG_ARCHIVE_DEST_n parameters (where n = 1,2,3,4,5) define up to five archive log destinations. The parameter integer suffix is defined as the handle displayed by the V$ARCHIVE_DEST dynamic performance view.
If you do not specify integer, the default value is 300 seconds. If you do not specify REOPEN, the archiver process will never reopen a destination after an error.
Andreas Kesenheimer wrote:
> Hi,
>
> for "feeding" of a standby database I would like to set up a
> second destination for archived redo-logs.
>
> In my documentation (DBA Handbook from ORacle Press) I
> find a pair of two parameters which must be used in "initSID.ora":
>
> LOG_ARCHIVE_DEST_n=<path>
>
> and
>
> LOG_ARCHIVE_STATE_DEST_n=ENABLED
>
> First, second parameter is rejected from server during startup with:
>
> 'ENABLED' is not an allowable value for 'log_archive_dest_state_1'
>
> could anyone tell me what value is allowed (maybe a link to a
> complete reference of parameters and allowed values in initSID.ora
> would help a lot)?
>
> Second, the only destination that is actualy used is that path which
> comes last in my configuration file - no matter what number
> "n" it has.
>
> Any clue?
>
> Thanx in advance.
>
> Andreas
>
>
>
-- Slawomir Cichy (mailto:scichy_at_wp-sa.pl) Wirtualna Polska S.A. http://www.wp.pl ul. Traugutta 115a, 80-237 Gdansk tel. (58) 52 15 625Received on Tue Jan 15 2002 - 09:26:17 CST
![]() |
![]() |