方法
|
初始化参数
|
主机
|
例子
|
1
|
Log_archive_dest_n
N是1到10的数
|
Local或remote
|
LOG_ARCHIVE_DEST_1 = 'LOCATION=/disk1/arc'
LOG_ARCHIVE_DEST_2 = 'SERVICE=standby1'
Service后面指定的是
tnsnames.ora
中的名字
|
2
|
Log_archive_dest和log_archive_duplex_dest
|
Local only
|
LOG_ARCHIVE_DEST = '/disk1/arc'
LOG_ARCHIVE_DUPLEX_DEST = '/disk2/arc'
|
参数
|
含义
|
%t
|
文件名中包含进程号
|
%s
|
文件名中包含sequence号
|
%r
|
文件名中包含resetlog id
|
使用%T或者%S或者%R
|
文件中左边用0来补齐
|
Trace等级
|
意思
|
0
|
禁用归档文件跟踪,这是默认设置
|
1
|
重做日志文件跟踪
|
2
|
每个归档日志路径归档状态跟踪
|
4
|
Track archival operational phase
|
8
|
Track archivelog destination activity
|
16
|
Track detailed archivelog destination activity
|
32
|
Track archivelog destination parameter modifications
|
64
|
Track ARC
n process state activity
|
128
|
Track FAL (fetch archived log) server related activities
|
256
|
Track RFS Logical Client
|
512
|
Track LGWR redo shipping network activity
|
1024
|
Track RFS Physical Client
|
2048
|
Track RFS/ARCn Ping Heartbeat
|
4096
|
Track Real Time Apply
|
8192
|
Track Redo Apply (Media Recovery or Physical Standby)
|