ITPub博客

首页 > 数据库 > Oracle > 1Z0-053 V13.02 Q190

1Z0-053 V13.02 Q190

原创 Oracle 作者:cow977 时间:2016-09-28 21:24:47 0 删除 编辑
190.You have control-file autobackups enabled. When starting your database from SQL*Plus, you receive the following error message:
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file C:\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\INITORCL.ORA
Using RMAN, how would you respond to this error?
A. Issue the startup nomount command and then issue the restore parameter file command from the RMAN prompt.
B. Issue the startup nomount command and then issue the restore spfile command from the RMAN prompt.
C. Issue the startup nomount command and then issue the restore spfile from autobackup command from the RMAN prompt.
D. Issue the startup nomount command and then issue the restore spfile from backup command from the RMAN prompt.
E. Issue the restore spfile from autobackup command from the RMAN prompt.
Answer: C

使用FROM MEMORY子句可以创建系统范围内的当前参数设置。
SQL> CREATE PFILE[= 'pfile_name' ] FROM{ { SPFILE [= 'spfile_name'] } | MEMORY} ;
SQL> CREATE SPFILE[= 'spfile_name' ] FROM{ { PFILE [= 'pfile_name' ] } | MEMORY } ;
恢复丢失的服务器参数文件
恢复服务器参数文件的最简单方法是使用FROM MEMORY子句,该子句可以使用系统范围内的当前参数设置来创建文本初始化参数文件(PFILE) 或服务器参数文件(SPFILE)。
在RAC 环 境中,所创建的文件包含来自每个实例的参数设置。
在实例启动期间,所有参数设置均记录到alert.log文件中。在Oracle Database 11g中,alert.log参数转储文本是使用有效的参数语法编写的。这便于对参数进行剪切,并将其粘贴到单独的文件中,从而用作后续实例的PFILE。
在实例启动时,PFILE 或SPFILE 的名称被写入到alert.log。使用未知的客户机PFILE 时,预警日志也会对此加以提示。
要支持其它功能,必须将COMPATIBLE初始化参数设置为11.0.0.0 或更高。

从题中列出的文件名来看,initorcl.ora应该是ORCL实例的PFILE,按照ORACLE对参数据文件的查找顺序,实例的SPFILE也是不存在的,需要从自动备份文件中恢复。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/81227/viewspace-2125715/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 1Z0-053 V13.02 Q115
下一篇: 1Z0-053 V13.02 Q199
请登录后发表评论 登录
全部评论

注册时间:2011-03-02

  • 博文量
    698
  • 访问量
    893873