Oracle log_archive_format 参数
2014-11-25 18:04
134 查看
Oracle log_archive_format 参数
SQL>alter system set
log_archive_format='orasid_%t_%s_%r.arc';
其中参数各意义:
%s log sequence number
%S log sequence number, zero
filled
%t thread number,
%T thread number, zero filled
------其中这前4项是可以用在oracle 9i 版本中的
%a activation ID
%d database ID
%r resetlogs ID that ensures unique
names are constructed for the archived log files across multiple
incarnations of the database
Oracle 10g开始,log_archive_format初始化参数必须包含%s, %t 和
%r,以确保生成的归档重做日志名称唯一.
(原因:10g能做穿越resetlog的恢复,所以要加%r。而9i的不能做穿越resetlog的恢复,所以没有%r的参数)
转自:http://www.net527.cn/shujukuguanli/Oracle/2012/0619/23473.html
SQL>alter system set
log_archive_format='orasid_%t_%s_%r.arc';
其中参数各意义:
%s log sequence number
%S log sequence number, zero
filled
%t thread number,
%T thread number, zero filled
------其中这前4项是可以用在oracle 9i 版本中的
%a activation ID
%d database ID
%r resetlogs ID that ensures unique
names are constructed for the archived log files across multiple
incarnations of the database
Oracle 10g开始,log_archive_format初始化参数必须包含%s, %t 和
%r,以确保生成的归档重做日志名称唯一.
(原因:10g能做穿越resetlog的恢复,所以要加%r。而9i的不能做穿越resetlog的恢复,所以没有%r的参数)
转自:http://www.net527.cn/shujukuguanli/Oracle/2012/0619/23473.html
相关文章推荐
- Oracle 11g,开启archive log模式
- oracle 11g spfile 的默认使用参数
- ORACLE 参数文件
- oracle 10g中db_recovery_file_dest和log_archive_dest参数的关系
- DG主备库归档文件名受各自log_archive_format参数影响
- CONFIGURE ARCHIVELOG DELETION PO…
- Nginx 用log_format设置日志格式
- Oracle 参数文件 spfile  pfile
- oracle11R2 log_archive_format
- oracle 10G中log_archive_start参数已经被废弃
- alter system archive current log…
- Oracle 11g Data Guard暂停物理备库的日志传输(log_archive_dest_state_n的defer参数)
- oracle 查看隐含参数脚本
- oracle从10g后废除log_archive_start参数
- oracle 11g 新参数 MEMORY_TARGET
- oracle 10g废材参数 log_archive_start
- 清除Oracle Archive log的方法
- [Oracle Mgmt] Query Archivelog Mode, Change Archivelog Dest, etc.
- oracle archive log list 切换为 noarchivelog
- Oracle学习笔记:LOG_ARCHIVE_FORMAT 的定义及用法