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

657.The database is currently open and the temp03.dbf tempfile belonging to the default temporary

tablespace TEMP has been corrupted. What steps should you take to recover from this tempfile loss in an

efficient manner?

A. Allow the database to continue running, drop the TEMP tablespace, and then re-create it with new

tempfiles

B. Shut down the database, restore and recover the tempfile from backup, and then open the database

with RESETLOGS

C. Allow the database to continue running, take the TEMP tablespace offline, drop the missing tempfile,

and then create a new tempfile

D. Allow the database to continue running, add a new tempfile to TEMP tablespace with a new name, and

drop the tempfile that has been corrupted.

Answer: D

在11g中,如果删除临时文件,重启后会自动重新生成。

如果手动恢复,因为临时文件不会影响数据库的运行,所以可以直接添加一个新的临时,把损坏的drop掉。

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