ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

Oracle 11G版本已不再支持一些旧的参数,如果设置的话会报ORA-32004错误, 通过这个命令可以还原参数设置'alter system reset parameter_name scope=spfile;',执行后重启库生效。

如设置旧的参数后,还原 “standby_archive_dest”参数设置:

SQL> select * from v$version;
 
BANNER
 --------------------------------------------------------------------------------
 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
 PL/SQL Release 11.2.0.1.0 - Production
 CORE 11.2.0.1.0 Production
 TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
 NLSRTL Version 11.2.0.1.0 - Production

 

SYS#ora11g> show parameter standby_archive_dest;                                  

NAME                                 TYPE                   VALUE
------------------------------------ ---------------------- ------------------------------
standby_archive_dest                 string                 ?/dbs/arch


SYS#ora11g> alter system set standby_archive_dest='/orachivelog' scope=spfile;


SYS#ora11g> shut immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS#ora11g>
SYS#ora11g> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.

Total System Global Area  368263168 bytes
Fixed Size                      1336596 bytes
Variable Size                  289409772 bytes
Database Buffers           71303168 bytes
Redo Buffers                  6213632 bytes
Database mounted.
Database opened.

SYS#ora11g>alter system reset standby_archive_dest scope=spfile;
SYS#ora11g> shut immediate;
SYS#ora11g> startup  open;
ORACLE instance started.
Total System Global Area  368263168 bytes
Fixed Size                      1336596 bytes
Variable Size                  289409772 bytes
Database Buffers           71303168 bytes
Redo Buffers                  6213632 bytes
Database mounted.
Database opened.

=================================================================================

版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任! 谢谢合作!

QQ: 164798858@qq.com
Sina: weibo.com/kaijunfeng
Yahoo: fffygapl@yahoo.com.cn


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值