oracle认证辅导:oracle问题解决ORA01219Oracle认证考试
文章作者 100test 发表时间 2009:11:28 16:04:34
来源 100Test.Com百考试题网
"tb42" class="mar10">
之前遇到过这个问题,当时不知怎么解决就OK了,今天又遇到,半天才搞定,参考网友的方法备忘:
造成的原因是log被损坏。
cmd ->. sqlplus
SQL>. 0select group#,sequence#,archived,status from v$log.
GROUP# SEQUENCE# ARC STATUS
---------- ---------- --- ----------------
1 86 NO INACTIVE
2 87 NO INVALIDATED
3 85 NO INACTIVE
alter database clear logfile group 1.
alter database clear logfile group 2.
alter database clear logfile group 3.
shutdown immediate.
startup mount.
SQL>. 0select group#,sequence#,archived,status from v$log.
GROUP# SEQUENCE# ARC STATUS
---------- ---------- --- ----------------
1 88 NO CURRENT
2 0 NO UNUSED
3 0 NO UNUSED
alter database clear logfile group 1.
alter database clear unarchived logfile group 1.
alter database clear logfile group 2.
alter database clear unarchived logfile group 2.
alter database clear logfile group 3.
alter database clear unarchived logfile group 3.
shutdown.
startup mount.
alter database open.
编辑特别推荐:
oracle认证考试费用
查看修改ORACLE10G归档日志空间的限制