码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2019-12-27 13:28:31      阅读:70      评论:0      收藏:0      [点我收藏+]

标签:png   bool   开启   boolean   设置   mamicode   archive   pfile   方法   

开启归档日志时候启动报ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.

Total System Global Area  574619648 bytes
Fixed Size                  8623208 bytes
Variable Size             339741592 bytes
Database Buffers          218103808 bytes
Redo Buffers                8151040 bytes
Database mounted.
Database opened.

 解决方法1:

1、alter system reset log_archive_start scope=spfile;
因为我们oracle在10g之后归档日志就是自动启动,不需要设置开启。
SQL> show parameter log_archive_start

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_start                    boolean     FALSE
SQL> alter system set log_archive_start=true scope=spfile;

System altered.

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

Total System Global Area  574619648 bytes
Fixed Size                  8623208 bytes
Variable Size             339741592 bytes
Database Buffers          218103808 bytes
Redo Buffers                8151040 bytes
Database mounted.
Database opened.
SQL> alter system reset log_archive_start scope=spfile;

System altered.

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  574619648 bytes
Fixed Size                  8623208 bytes
Variable Size             339741592 bytes
Database Buffers          218103808 bytes
Redo Buffers                8151040 bytes
Database mounted.
Database opened.

解决方法2:如果不是这个log_archive_start影响的,那可以查看告警日志

技术图片

 

 可以看到是加入了这个过期参数影响的,直接执行

alter system reset log_archive_start scope=spfile sid=‘*‘;

 参数过期参数语句

SELECT  NAME, DESCRIPTION FROM V$PARAMETER V WHERE V.ISDEPRECATED=TRUE;

每个版本的过期参数不一样,可以通过查看过期查看来查看错误

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

标签:png   bool   开启   boolean   设置   mamicode   archive   pfile   方法   

原文地址:https://www.cnblogs.com/xmao/p/12106628.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!