SYMPTOMS
查询DBA_TEMP_FILES报错如下图
ORA-01157: cannotidentify/ock data fle 201 -see DBWR trace fle
ORA-01110: data fle 20 1: 'D:APPADMINISTRATORIORADATA MARTIDATAFILE'
01157,00000-"cannotidentify/ock data fle %s -see DBWR trace fle"*Cause: The background process was either unable to find one of the datafles or failed to lock it because the fle was already in use.The database will prohibit access to this fle but other fles will!
be unaffected, However the frst instance to open the database willneed to access all online data fles, Accompanying error fom theoperating system describes why the fle could not be identifed.Action: Have operating system make fle available to database. Then eitheropen the database or dO ALTER SYSTEM CHECK DATAFILES.
查询 v$tempfile 可以看到有一个文件的状态不正常,应该