oracle提示错误1033,ora-1033 制造问题和解决问题
系統(tǒng)是winxp,使用Imp導(dǎo)入數(shù)據(jù)到用戶user1的時候,關(guān)閉了cmd窗口,結(jié)果在刪除user1的時候,出現(xiàn)了ora-1033錯誤。
解決辦法:
>connect /as sysdba
>shutdown
>startup mount
>alter database recover database until cancel;
if the above command fails try
>recover database using backup controlfile until cancel;"
on success type
>ALTER DATABASE OPEN RESETLOGS;
stop and restart oracle service
open resetlogs:
摘自O(shè)racle官方文檔,供參考:
1。Archives the current online redo logs (if they are accessible) and then erases the contents of the online redo logs and resets the log sequence number to 1. For example, if the current online redo logs are sequence 1000 and 1001 when you open RESETLOGS, then the database archives logs 1000 and 1001 and then resets the online logs to sequence 1 and 2.
2。Creates the online redo log files if they do not currently exist.
3。Reinitializes the control file metadata about online redo logs and redo threads.
4。Updates all current datafiles and online redo logs and all subsequent archived redo logs with a new RESETLOGS SCN and time stamp.
聯(lián)機日志損壞,不能做完整修復(fù)時,用的。
相當于把所有的聯(lián)機日志重新“格式化”。
這是會丟失數(shù)據(jù)的。
總結(jié)
以上是生活随笔為你收集整理的oracle提示错误1033,ora-1033 制造问题和解决问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: InfluxDB常用函数
- 下一篇: jQuery table组织架构图表插件