1Z0-053 V13.02 Q190

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博客 ” ,链接:http://blog.itpub.net/81227/viewspace-2125715/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/81227/viewspace-2125715/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值