`
longgangbai
  • 浏览: 7269693 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

ORA-32004: obsolete and/or deprecated parameter(s) specified

 
阅读更多

ORA-32004: obsolete and/or deprecated parameter(s) specified

问题原因:
   log_archive_start参数在oracle 9i以前使用,在oracle9i以后不推荐使用.
   host oerr ora 3200432004, 00000, "obsolete and/or deprecated parameter(s) specified"
   // *Cause:  One or more obsolete and/or parameters were specified in
   //          the SPFILE or the PFILE on the server side.
   // *Action: See alert log for a list of parameters that are obsolete.
   //          or deprecated. Remove them from the SPFILE or the server
   //          side PFILE.
oops ,10g 不支持该参数了? 原来在 10g 中,当打开归档模式(archive log mode) ,则 ARCH 进程被隐性的自动设定。
10g 中也就不会出现 9i 以前那种数据库已经在归档模式,但是自动归档没有被设定的情况了。
这也算是 Oracle 修正的一个小Bug。如果是从 9i 升级到 10g 的话,不注意可能会有点小问题
的。要解决该问题,需要重置 log_archive_start 参数。
ALTER SYSTEM RESET log_archive_start SCOPE=SPFILE SID='*';

解决方法:
启动数据库时,报如下错误:
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE 例程已经启动。

Total System Global Area  171966464 bytes
Fixed Size                   787988 bytes
Variable Size             145488364 bytes
Database Buffers           25165824 bytes
Redo Buffers                 524288 bytes
数据库装载完毕。
数据库已经打开。
SQL> ALTER SYSTEM RESET log_archive_start SCOPE=SPFILE SID='*';

系统已更改。

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

Total System Global Area  171966464 bytes
Fixed Size                   787988 bytes
Variable Size             145488364 bytes
Database Buffers           25165824 bytes
Redo Buffers                 524288 bytes
数据库装载完毕。
数据库已经打开。

查看不推荐使用的过期参数信息如下:

 SELECT NAME, description   FROM v$parameter   WHERE isdeprecated = 'TRUE';

 
 备注:在不同版本中可能的参数设置过期信息.

 查看Oracle 10g中过期不推荐参数以及替换参数:
 http://download.oracle.com/docs/cd/B13789_01/server.101/b10763/changes.htm#i638194
 
 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics