oracle提示错误1033,ora-1033

oracle提示错误1033,ora-1033 制造问题和解决问题

 

文章标签: oracle提示错误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.

联机日志损坏,不能做完整修复时,用的。

相当于把所有的联机日志重新“格式化”。

这是会丢失数据的。

posted @   山䂥进城  阅读(209)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 通过 API 将Deepseek响应流式内容输出到前端
· AI Agent开发,如何调用三方的API Function,是通过提示词来发起调用的吗
点击右上角即可分享
微信分享提示