ORACLE8.1.7,方式:NOARCHIVELOG,其中一个表空间为SYS_DATA,其中一个DATAFILE坏了,用以下步骤:
svrmgrl>shutdown
svrmgrl>startup mount
svrmgrl>alter database datafile 'F:\sys_data03.dbf' offline drop;
svrmgrl>alter database open;
以上语句均提示正常,但:
SQL>select * from gsvgsgl0;
select * from gsvgsgl0
              *
ERROR 位于第 1 行:
ORA-00376: 此时无法读取文件 18
ORA-01110: 数据文件 18: 'D:\HSMISDATA\XS\NPSYSDATA2.DBF'
说明:'D:\HSMISDATA\XS\NPSYSDATA2.DBF'为表空间SYS_DATA的另一文件!
这是什么原因?

解决方案 »

  1.   

    shutdown normal
    startup mount
    alter database archivelog;
    alter database datafile 'D:\HSMISDATA\XS\NPSYSDATA2.DBF' offline drop;
    alter database open
      

  2.   

    ORA-01111 name for data file string is unknown - rename to correct fileCause: The datafile was missing from a CREATE CONTROLFILE command or BACKUP CONTROLFILE RECOVERY was done with a control file that was saved before the file was created. Action: Rename the MISSING file to the name of the real file.
      

  3.   

    ORA-01110 data file string: 'string'
    Cause: This message reports the file name involved with other messages. Action: See the associated messages for a description of the problem.