ITPub博客

首页 > 数据库 > Oracle > Oracle 11G OCP 1Z0-053 572

Oracle 11G OCP 1Z0-053 572

原创 Oracle 作者:LuiseDalian 时间:2014-11-04 08:37:06 0 删除 编辑
(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.

答案:(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/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6040893