A. Restore the backup copy of the tempfile from the backup media.
B. Re-create the tempfile with the create tempfile command.
C. Copy an existing tempfile from another database.
D. Re-create the tempfile with the create tablespace command.
E. Re-create the tempfile with the alter tablespace command.
答案:(E)
解析:
临时数据文件丢失,并不会影响到数据库的正常运行。
可以使用alter tablespace temp add tempfile'/u01/app/oracle/oradata/test0924/temp01.dbf'size 10m
这样的语句来重新创建临时数据文件。
在我的11.2.0.3环境里,我删除/u01/app/oracle/oradata/test0924/temp01.dbf,之后重新启动数据库,数据库又自动恢复了temp01.dbf。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1319568/ ,如需转载,请注明出处,否则将追究法律责任。