LOG_ARCHIVE_DEST_n

The LOG_ARCHIVE_DEST_n initialization parameter defines up to 31 (where n = 1, 2, 3, … 31) destinations, each of which must specify either the LOCATION or the SERVICE attribute to specify where to archive the redo data.

Property Description
Parameter type String
Syntax

LOG_ARCHIVE_DEST_[1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31] =

{ <null_string> |

{ { LOCATION=<path_name> | SERVICE=<service_name> }

[ MANDATORY ]

[ REOPEN[=<seconds>] ]

[ DELAY[=<minutes>] ]

[ ENCRYPTION=ENABLED|DISABLED ]

[ GROUP=<group> ]

[ NOREGISTER ]

[ PRIORITY=<priority> ]

[ TEMPLATE=<template> ]

[ ALTERNATE=<destination> ]

[ MAX_FAILURE=<count> ]

[ SYNC | ASYNC ]

[ AFFIRM | NOAFFIRM ]

[ NET_TIMEOUT=<seconds> ]

[ VALID_FOR=(<redo_log_type,database_role>) ]

[ DB_UNIQUE_NAME ]

[ COMPRESSION={ENABLE|DISABLE|ZLIB|LZO} ]

[ REDO_PRIORITIZATION_WHEN_TRANSPORT_LAGS_BY_SEC=<seconds> ]

}

}

Default value There is no default value.
Modifiable ALTER SESSION, ALTER SYSTEM
Modifiable in a PDB No
Basic Yes

All other attributes except the LOCATION or SERVICE attributes are optional. Note that whether you are specifying the LOCATION attribute or the SERVICE attribute, it must be the first attribute supplied in the list of attributes.

If you choose not to enter any attributes, then you can specify a NULL string by entering the following:

LOG_ARCHIVE_DEST_n=' ';

You set the attributes for the LOG_ARCHIVE_DEST_n initialization parameter to control different aspects of how redo transport services transfer redo data from a production or primary database destination to another (standby) database destination. You can query the V$ARCHIVE_DEST view to see the current attribute settings for each destination (n).

Note: Some of the attributes for this parameter are deprecated, but are being retained for backward compatibility. See “Deprecated Attributes for LOG_ARCHIVE_DEST_n” at the end of this section.

For every LOG_ARCHIVE_DEST_n initialization parameter that you define, you must specify a corresponding LOG_ARCHIVE_DEST_STATE_n parameter. The LOG_ARCHIVE_DEST_STATE_n (where n is an integer from 1 to 31) initialization parameter specifies whether the corresponding destination is currently enabled or disabled.

See Also: “LOG_ARCHIVE_DEST_STATE_n”

Destinations LOG_ARCHIVE_DEST_11 through LOG_ARCHIVE_DEST_31 do not support the SYNC, ARCH, LOCATION, MANDATORY, or ALTERNATE attributes, and cannot be specified as the target of the ALTERNATE attribute.

LOG_ARCHIVE_DEST_11 through LOG_ARCHIVE_DEST_31 can only be used when the COMPATIBLE initialization parameter is set to 11.2.0 or higher.

Values

See Also: Oracle Data Guard Concepts and Administration for detailed descriptions of all the values listed in this section

Deprecated Attributes for LOG_ARCHIVE_DEST_n

The following attributes are deprecated for the LOG_ARCHIVE_DEST_n parameter. They are retained for backward compatibility only.

Table 2-3 Deprecated Attributes on the LOG_ARCHIVE_DEST_n Initialization Parameter

Deprecated Attribute Alternative
ARCH Specify SYNC or ASYNC. ASYNC is the default if neither attribute is specified.
LGWR Specify SYNC or ASYNC. ASYNC is the default if neither attribute is specified.
OPTIONAL Destinations are optional by default.
VERIFY None. This attribute is only used with the deprecated ARCH attribute.

In addition, note the following changes to the ASYNC and SYNC attributes: