ORACLE_基础二十(Archiving Mode)

NOARCHIVELOG Mde



ARCHIVELOG Mode

Changng the Archiving Mode


第五部 全备是  恢复的起始点



Auto And Manual archiving


Specify Multi-ARCn Process

1. The dynamic parameter

   LOG_ARCHIVE_MAX_PRCESSED controls the number of archive processes started at instance startup

2.A maximum of ten ARCn processes can be specified

3. The number of ARCn processes can be changed with ALTER SYSTEM






Enable After Instance Startup


Diabling Auto Archiving


Manually Archiving


ALTER SYSTEM ARCHIVE LOG


Specifying the Destination

1.Use LOG_ARCHIVE_DEST_n to specify up t ten archival destinatons

2 . Use LOG_ARCHIVE_FORMAT to include the log sequence number and thread nunmber as part of the filename


Multiple Destinations

LOG_ARCHIVE_DEST_n

 

Specify a Mini Local Dests

1.LOG_ARCHIVE_MIN_SUCCEED_DEST parameter

    LOG_ARCHIVE_MIN_SUCCEED_DEST=2

2. An online redo log group can ben reused only if :

   a.Archiving has been done to all mandatoary locations

   b. The number of local locations  archived is greater than or equal to the value of the    

        LOG_ARCHIVE_MIN_SUCCEED_DEST parameter



Controlling Archiving

1.An archival destination can be disabled by using the dynami initializating parameter

  LOG_ARCHIVE_DEST_STATE_n=DEFER

2. Archiving to a destination can ben enabled again

  LOG_ARCHIVE_DEST_STATE_n=ENABLE


Specify the filename format



Related DD

V$ARCHIVD_LOG
V$ARCHIVE_DEST

V$LOG_HISTORY
V$DATABASE

V$ARCHIVE_PROCESSES

Command Line: ARCHIVE LOG LIST





  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值