对未备份数据文件还原时出错

[复制链接]
查看11 | 回复9 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
小弟在尝试还原未作备份的数据文件,使用到一下命令:
ALTER DATABASE CREATE DATAFILE
结果却出现如图的错误,请指教指教,各位。
先谢谢了
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
唉,真遗憾居然没人能解答
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
我也遇到过同样的问题,是否ORACLE教课书上写错了?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
斑竹们给看看吧
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
就不存在这个文件呀,
v$recovery_file里有这个文件吗
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
up
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
我也遇到了。我首先删掉了users表空间的数据文件h:\users01.dbf.然后mount,执行alter database create datafile h:\users01.dbf as f:\users01.dbf 然后出现了ORA-01516 错误。我查了一下
ora-01516 nonexistent log file, datafile, or tempfile "string"
Cause: An attempt was made to use ALTER DATABASE to rename a log file, datafile, or tempfile; or to change attributes of a datafile or tempfile (for example, such as resize, autoextend, online/offline, and so on); or to re-create a datafile. The attempt failed because the specified file is not known to the database's control file or is not of a type supported by the request.
Action: Specify the name or number of an existing file of the correct type, as appropriate. Check the relevant V$ table for a list of possible files.
请大侠们指点一下!
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
我首先删掉了users表空间的数据文件h:\users01.dbf
是在数据库中删除的还是在操作系统中模拟误删除?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
我是关闭数据库后模拟误删除。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
我来顶一下吧
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行