zoukankan      html  css  js  c++  java
  • ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

    开启归档日志时候启动报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';

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

  • 相关阅读:
    Java 泛型
    Github
    软件工程----前端
    前端全局缓存的三种方式
    关于IDE的选择
    模拟placeholder
    小程序request封装
    小程序实现大转盘抽奖----踩坑之路
    关于this的理解
    小程序背景图片bug
  • 原文地址:https://www.cnblogs.com/xmao/p/12106628.html
Copyright © 2011-2022 走看看