【日志】ORA-00362 ORA-01517

-----------------------------------------------------------------
SQL> archive log list
Database log mode           No Archive
ModeAutomatic archival      Disabled
Archive destination         USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence  16
Current log sequence        19
-----------------------------------------------------------------
在noarchive mode 下出现
-----------------------------------------------------------------
SQL> ALTER DATABASE DROP LOGFILE MEMBER2 '/u01/oracle/oradata/wilson/redo03.log';
ALTER DATABASE DROP LOGFILE MEMBER
*
ERROR at line 1:ORA-00362: member is required to form. a valid logfile in group 3
ORA-01517: log member: '/u01/oracle/oradata/wilson/redo03.log'
------------------------------------------------------------------
SQL> select a.group#,a.status,b.member from v$log a,v$logfile b
2 where a.group#=b.group# order by group#
GROUP STATUS   MEMBER
----- -------- --------------------------------------
1     CURRENT   /u01/oracle/oradata/wilson/redo01.log
1     CURRENT   /u01/oracle/oradata/wilson/redo01.rdo
2     INACTIVE  /u01/oracle/oradata/wilson/redo02.rdo
2     INACTIVE  /u01/oracle/oradata/wilson/redo02.log
3     INACTIVE  /u01/oracle/oradata/wilson/redo03.rdo
3     INACTIVE  /u01/oracle/oradata/wilson/redo03.log
-----------------------------------------------------------------
解决方法:多进行几次switch logfile。SQL> alter system switch logfile;
-----------------------------------------------------------------
SQL> alter database drop logfile member
2 '/u01/oracle/oradata/wilson/redo03.log';
Database altered.
=================================================================

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7351078/viewspace-669362/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7351078/viewspace-669362/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值