SPFILE参数文件损坏及解决

rac oracle 11g spfile参数文件损坏,导致数据库节点10.8.25.240起不来,且无法关闭与连接
原因是:恢复db_recovery_file_dest_size默认值0 操作导致,参数文件内容如下
*.SPFILE='+DATA/zdzrac/spfilezdzrac.ora'

解决办法:
在节点10.8.25.239,create pfile='/u01/app/oracle/product/11.2.0.4/dbhome_1/dbs/init0711.ora' from spfile='+DATA/zdzrac/spfilezdzrac.ora';

vi /u01/app/oracle/product/11.2.0.4/dbhome_1/dbs/init0711.ora  复制所有内容

在节点10.8.25.240,vi init0711.ora  粘贴刚刚复制的内容

SQL> startup pfile='/u01/app/oracle/product/11.2.0.4/dbhome_1/dbs/init0711.ora';
SQL>shutdown immediate
SQL>startup
SQL>create spfile from pfile='/u01/app/oracle/product/11.2.0.4/dbhome_1/dbs/init0711.ora';
SQL>shutdown immediate
SQL>startup

注释:如果将节点10.8.25.239与10.8.25.240的db_recovery_file_dest_size值都由4g改为0,发现节点10.8.25.240数据库起不来,报错如下
Total System Global Area 3524177920 bytes
Fixed Size                  2258280 bytes
Variable Size            1275071128 bytes
Database Buffers         2231369728 bytes
Redo Buffers               15478784 bytes
ORA-01105: mount is incompatible with mounts by other instances
ORA-19808: recovery destination parameter mismatch
处理办法是:将参数文件pfile 中的*.db_recovery_file_dest_size=4注释掉,如#*.db_recovery_file_dest_size=4
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值