紧急!不小心在hpux下面把ora817的表空间文件删除了,怎么办?

[复制链接]
查看11 | 回复2 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
我在hpux下面创建了表空间PDATA,并导入了几个表结构,刚才同事误以为垃圾文件,用rm PDATA命令删除了,结果启动ora817服务时,报错:找不到/ul/PDATA,怎么办?sqlplus也登陆不进去了


回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
If tablespace PDATA without any data,just have some table structure,then you can simply try:
svrmgrl>
startup mount;
alter database datafile '/ul/PDATA' offline drop;
alter database open;
drop tablespace PDATA including contents;
and then recreate tablespace PDATA and import table structure again.
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
谢谢,好了!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行