oracle提示错误1033,ora-1033 制造问题和解决问题
系統是winxp,使用Imp導入數據到用戶user1的時候,關閉了cmd窗口,結果在刪除user1的時候,出現了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:
摘自Oracle官方文檔,供參考:
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.
聯機日志損壞,不能做完整修復時,用的。
相當于把所有的聯機日志重新“格式化”。
這是會丟失數據的。
總結
以上是生活随笔為你收集整理的oracle提示错误1033,ora-1033 制造问题和解决问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: InfluxDB常用函数
- 下一篇: jQuery table组织架构图表插件