IT猫扑网文章教程

分类分类

ORACLE删除数据文件后无法启动

2015-06-28 00:00作者:网管联盟

  查看数据库的状态: select status from v$instance;

  查看表空间:select * from v$tablespace;

  改变表空间数据文件:alter database rename file &filepath& to &newfilepath&;

  删除表空间及其数据文件: drop tablespace tablespace_name including contents and datafiles;

  启动数据库为mount状态:startup mount

  改变数据库为open状态:alter database open; alter database open resetlogs;

  设置数据文件为离线状态:alter database datafile filenumber offline drop;

  以上斜体字部分需要使用实际的名字代替。

展开全部

相关文章

说两句网友评论
    我要跟贴
    取消