ORA-01516 nonexistent log file, datafile or tempfile 'string'
Cause: An attempt was made to use ALTER DATABASE to either rename a log file or datafile, or change attributes of a datafile or temporary file. The attempt failed because the specified file is not known to the database's control file or is not a type supported for the request不存在的数据文件

解决方案 »

  1.   

    用户所拥有的数据文件:
    SQL> select name from v$datafile;NAME
    ----------------------------------------------------------------------------------------------------
    E:\ORACLE\ORADATA\WOWS\SYSTEM01.DBF
    E:\ORACLE\ORADATA\WOWS\RBS01.DBF
    E:\ORACLE\ORADATA\WOWS\USERS01.DBF
    E:\ORACLE\ORADATA\WOWS\TEMP01.DBF
    D:\ORACLE\ORADATA\WOWS\TOOLS01.DBF
    E:\ORACLE\ORADATA\WOWS\INDX01.DBF
    D:\ORACLE\ORADATA\WOWS\DR01.DBF
    E:\ORACLE\ORADATA\WOWS\OEM_REPOSITORY.ORA
      

  2.   

    我的数据文件被删除了,不能启动,我想删除该表空间
    首先shutdown
    然后startup mount
    然后使该文件offline(失败)(alter database datafile 'E\DDD.DBF' OFFLINE
    再次
    alter database open
    最后删除该表空间
    alter tablespace test
      

  3.   

    "首先shutdown
    然后startup mount
    然后使该文件offline(失败)(alter database datafile 'E\DDD.DBF' OFFLINE
    再次
    alter database open
    最后删除该表空间
    alter tablespace test"
    是在 noarchivelog 的操作。
      

  4.   

    SVRMGR>SVRMGR> alter  database noarchivelog;
    alter  database noarchivelog
    *
    ORA-01157: ????/?????? 10 - ??? DBWR ????
    ORA-01110: ???? 10?'E:/DDD.DBF'
    SVRMGR>
      

  5.   

    我的数据文件被删除了,不能启动,我想删除该表空间->
    DROP TABLESPACE <TSNAME> INCLUDING CONTENTS;
      

  6.   

    我已经解决了
    alter database create datafile oldfile as newfile
    recover datafile newfile
    建立一个新的数据文件
    无法测试了