OCP-1Z0-053-V12.02-572题

572.What is the proper procedure to recover a lost tempfile?

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.

Answer: 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。

原文地址:https://www.cnblogs.com/hzcya1995/p/13316555.html