当前位置:  数据库>oracle

ORA-32004 的错误处理

    来源: 互联网  发布时间:2017-05-04

    本文导语: 启动数据库时,收到了ORA-32004 的错误,错误多是一些过时且在当前版本中不在使用的参数,如果碰到类似的错误,只需要将其reset即可。   1.出现的错误提示        sys@ORCL> startup     ORA-32004: obsolete and/or deprecated parameter(s) ...

启动数据库时,收到了ORA-32004 的错误,错误多是一些过时且在当前版本中不在使用的参数,如果碰到类似的错误,只需要将其reset即可。

 

1.出现的错误提示   

    sys@ORCL> startup

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

    Oracle instance started.

 

    Total System Global Area  184549376 bytes

    Fixed Size                  1218412 bytes

    Variable Size              83888276 bytes

    Database Buffers           96468992 bytes

    Redo Buffers                2973696 bytes

    Database mounted.

    Database opened.

 

2.查看告警日志获得如下信息 

    sys@ORCL> ho oerr ora 32004        --分析错误

    32004, 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.

   

    --从告警日志中获得如下信息

    Deprecated system parameters with specified values:

      sql_trace

    End of deprecated system parameter listing

 

3.从spfile参数中清除过时的参数后启动正常

    sys@ORCL> alter system reset sql_trace scope=spfile sid='*';

 

    System altered.

 

    sys@ORCL> startup force;

    ORACLE instance started.

 

    Total System Global Area  184549376 bytes

    Fixed Size                  1218412 bytes

    Variable Size              83888276 bytes

    Database Buffers           96468992 bytes

    Redo Buffers                2973696 bytes

    Database mounted.

    Database opened.   

 

4.查看当前版本不再建议使用的参数

    sys@ORCL> select * from v$version where rownum select name,description                   

      2  from v$parameter where isdeprecated='TRUE';

 

    NAME                           DESCRIPTION

    ------------------------------ --------------------------------------------------------------

    lock_name_space                lock name space used for generating lock names for standby/clo

                                   ne database

 

    buffer_pool_keep               Number of database blocks/latches in keep buffer pool

    buffer_pool_recycle            Number of database blocks/latches in recycle buffer pool

    max_commit_propagation_delay   Max age of new snapshot in .01 seconds

    remote_archive_enable          remote archival enable setting

    log_archive_start              start archival process on SGA initialization

    parallel_server                if TRUE startup in parallel server mode

    parallel_server_instances      number of instances to use for sizing OPS SGA structures

    fast_start_io_target           Upper bound on recovery reads

    logmnr_max_persistent_sessions maximum number of threads to mine

    serial_reuse                   reuse the frame segments

    max_enabled_roles              max number of roles a user can have enabled

    global_context_pool_size       Global Application Context Pool Size in Bytes

    plsql_compiler_flags           PL/SQL compiler flags

    sql_trace                      enable SQL trace

    parallel_automatic_tuning      enable intelligent defaults for parallel execution parameters

    drs_start                      start DG Broker monitor (DMON process)

 

5.下面是Oracle 10gR2不再支持的参数 

 

    * ENQUEUE_RESOURCES (undocumented in 10gR2)

    * DBLINK_ENCRYPT_LOGIN

    * HASH_JOIN_ENABLED (undocumented parameter)

    * LOG_PARALLELISM (undocumented parameter)

    * MAX_ROLLBACK_SEGMENTS

    * MTS_CIRCUITS (this is replaced by CIRCUITS)

    * MTS_DISPATCHERS (this is replaced by DISPATCHERS)

    * MTS_LISTENER_ADDRESS

    * MTS_MAX_DISPATCHERS (this is replaced by MAX_DISPATCHERS)

    * MTS_MAX_SERVERS (this is replaced by MAX_SHARED_SERVERS)

    * MTS_MULTIPLE_LISTENERS

    * MTS_SERVERS (this is replaced by SHARED_SERVERS)

    * MTS_SERVICE

    * MTS_SESSIONS (this is replaced by SHARED_SERVER_SESSIONS)

    * OPTIMIZER_MAX_PERMUTATIONS (undocumented parameter)

    * ORACLE_TRACE_COLLECTION_NAME

    * ORACLE_TRACE_COLLECTION_PATH

    * ORACLE_TRACE_COLLECTION_SIZE

    * ORACLE_TRACE_ENABLE

    * ORACLE_TRACE_FACILITY_NAME

    * ORACLE_TRACE_FACILITY_PATH

    * PARTITION_VIEW_ENABLED (undocumented parameter)

    * PLSQL_NATIVE_C_COMPILER

    * PLSQL_NATIVE_LINKER

    * PLSQL_NATIVE_MAKE_FILE_NAME

    * PLSQL_NATIVE_MAKE_UTILITY

    * ROW_LOCKING (undocumented parameter)

    * SERIALIZABLE (undocumented parameter)

    * TRANSACTION_AUDITING (undocumented parameter)

    * UNDO_SUPPRESS_ERRORS

   

6.下面是Oracle 10gR2不建议使用参数 

    * LOGMNR_MAX_PERSISTENT_SESSIONS (Oracle Streams uses it)

    * MAX_COMMIT_PROPAGATION_DELAY

    * REMOTE_ARCHIVE_ENABLE

    * SERIAL_REUSE

    * SQL_TRACE

    * BUFFER_POOL_KEEP [replaced by DB_KEEP_CACHE_SIZE]

    * BUFFER_POOL_RECYCLE [replaced by DB_RECYCLE_CACHE_SIZE]

    * GLOBAL_CONTEXT_POOL_SIZE

    * LOCK_NAME_SPACE

    * LOG_ARCHIVE_START

    * MAX_ENABLED_ROLES

    * PARALLEL_AUTOMATIC_TUNING

    * PLSQL_COMPILER_FLAGS [replaced by PLSQL_CODE_TYPE and PLSQL_DEBUG]   

更多Oracle相关信息见 专题页面


    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • Oracle 10g之ORA-32004问题
  • 如何得到带有ora的行的下一行
  • 如何配置 linux 下 oracle 的 listener .ora 和
  • 浅析如何在tnsnames.ora中配置监听
  • Orcle的package中访问其它Schema的表报错ORA-00942解决方法
  • oracle远程连接服务器出现 ORA-12170 TNS:连接超时 解决办法
  • [Oracle] 浅析令人抓狂的ORA-01555问题
  • 解决报错ora-32035的方法分析
  • aq.executeQuery: ORA-00020: maximum number of processes (59) exceeded
  • ORA-00947:Not enough values (没有足够的值)的深入分析
  • solaris10 安装 ora9.2.0.1 时报错
  • 在UNIX下,我的ORA817该怎么样才可以自己启动呀?
  • 基于ORA-12170 TNS 连接超时解决办法详解
  • 安装oracle出现error:ora-01031:insufficient privilleges的解决
  • 谁能帮忙解释一下: ORA-01000 : maximun open cursors exceeded
  • 关于Oracle游标的问题(ORA-01000: maximum open cursors exceeded)
  • 我在Linux7。3下面装了一个Oracle8i,但是现在启动不起来了,总是报错ORA-01031: insufficient privileges
  • zilong28提问:Tomcat3.2报错内容是Error occurs when connecting DB: ORA-00020: maximum number of processes(59) exceeded 我应该如何解决,先谢了
  • ORA-28002 Oracle 11g存在密码过期问题解决方案
  • Oracle ORA-22908(NULL表值的参考)异常分析与解决方法
  • 如何解决ORA-01843与NLS_DATE_FORMAT问题


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,