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

来源:互联网 发布:瓦尔登湖 知乎 译本 编辑:程序博客网 时间:2024/05/19 02:04

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production 启动数据库的时候遇到了,ORA-32004但不影响数据库的使用。
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

为了避免这个错误的出现可以reset相关的参数

 

如:在Oracle 11g中手工设置了log_archive_start 为true,在启动时就会出现ORA-32004

从10g以后当数据库为归档模式时,oracle会自动启动归档进程。不在需要设置log_archive_start参数。

alter system reset log_archive_start scope=spfile;


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

 

SQL> show parameter log_archive_start

NAME                       TYPE           VALUE
------------------------- --------          --------
log_archive_start   boolean      FALSE 

 

SQL> alter system set log_archive_start=true scope=spfile;

系统已更改。

 

SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。

SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE 例程已经启动。

Total System Global Area  535662592 bytes
Fixed Size                  1375792 bytes
Variable Size             272630224 bytes
Database Buffers          255852544 bytes
Redo Buffers                5804032 bytes
数据库装载完毕。
数据库已经打开。
SQL> alter system reset log_archive_start scope=spfile;

系统已更改。

SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。

Total System Global Area  535662592 bytes
Fixed Size                  1375792 bytes
Variable Size             272630224 bytes
Database Buffers          255852544 bytes
Redo Buffers                5804032 bytes
数据库装载完毕。
数据库已经打开。
SQL>

 

 

 

 

 

 

 

原创粉丝点击