错误情况:ORA-01033: ORACLE initialization or shutdown in progress
错误分析:由于删除数据文件,启动服务以后,连接报错ORA-01033: ORACLE initialization or shutdown in progress;
解决办法:
SQL> startup mount
ORACLE 例程已经启动。
Total System Global Area 612368384 bytes
Fixed Size 1250428 bytes
Variable Size 104860548 bytes
Database Buffers 499122176 bytes
Redo Buffers 7135232 bytes
数据库装载完毕。
–ARCHIVELOG模式命令,文件名要大写
SQL> alter database datafile 'C:/TEST.DBF' offline;
–NOARCHIVELOG模式命令
SQL> alter database datafile 'C:/TEST.DBF' offline drop;
alter database open;
–查询数据文件联、脱机状态
SQL> select file#,name,status from v$datafile;
SQL> drop tablespace test;
表空间已丢弃。
4487

被折叠的 条评论
为什么被折叠?



