暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

How do I recover from ... loss of one member of an online redo log group

2011-01-01
589

The Oracle (tm) Users' Co-Operative FAQ

How Do I Recover From Loss of a Member of Online Redo Log Group?


Author's name: Allan W. Tham

Author's Email: allanwtham@hotmail.com

Date written: Mar 4 2002

Oracle version(s): 8.1.7.0.0

I multiplexed my redo logs yet one member file get corrupted. How do I recover from it?


Work for Archive Log Mode ON and OFF

No shutdown is required

1. To investigate what status is the missing redo log is -
    Select * from v$logfile shows which group and member is INVALID
2. From step 1, you will have the full path of the member that went corrupted. Drop this member -
    Alter database drop logfile member 'fullpath/log_filename.log'
3. Add a new member to the group -
    Alter database add logfile member '/fullpath/log_filename.log' reuse to group n; where log_filename.log and group n follow step 1
4. DONE

(Note: the size of the new redo log member should be the same as the other group members if you decide to use the same name and the option REUSE)


Further reading: Oracle9i User-Managed Backup and Recovery Guide



最后修改时间:2020-04-16 15:13:20
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论