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

php中文网
发布: 2016-06-07 17:28:30
原创
1557人浏览过

ora-32004: obsolete or deprecated parameter(s) specified for rdbms instance

Linux公社

首页 → 数据库技术

背景:

阅读新闻

ora-32004: obsolete or deprecated parameter(s) specified for rdbms instance

[日期:2013-04-22] 来源:Linux社区  作者:sunjiapeng [字体:]

环境:

OEL+Oracle11.2.0.1

ORACLE_SID=orcl2

问题描述:

重启数据库时出现如下情况:

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

Total System Global Area 418484224 bytes
Fixed Size 1336932 bytes
Variable Size 314575260 bytes
Database Buffers 96468992 bytes
Redo Buffers 6103040 bytes
Database mounted.
Database opened.

SQL>

错误信息:ora-32004: obsolete or deprecated parameter(s) specified for rdbms instance

[oracle@DBA2 ~]$ oerr ora 32004
32004, 00000, "obsolete or deprecated parameter(s) specified for %s instance"
// *Cause: Obsolete or deprecated parameters for this instance type
// 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.

检查alert文件有下面的提示:

Spfile /u/oracle/product/11.2/dbs/spfileorcl2.ora is in old pre-11 format and compatible >= 11.0.0; converting to new H.A.R.D. compliant format.

和:

Deprecated system parameters with specified values:
sql_trace

由于这个库是自己用的实验测试库,前一阶段一直在做SQL的语法分析和执行计划相关的实验,所以打开了sql_trace

燕雀Logo
燕雀Logo

为用户提供LOGO免费设计在线生成服务

燕雀Logo 101
查看详情 燕雀Logo

查看数据库弃用的系统参数:

SQL> select name from v$parameter where isdeprecated = 'TRUE';


NAME
--------------------------------------------------------------------------------
lock_name_space
instance_groups
resource_manager_cpu_allocation
active_instance_count
buffer_pool_keep
buffer_pool_recycle
log_archive_start
standby_archive_dest
log_archive_local_first
parallel_server
parallel_server_instances


NAME
--------------------------------------------------------------------------------
fast_start_io_target
serial_reuse
max_enabled_roles
remote_os_authent
global_context_pool_size
cursor_space_for_time
plsql_v2_compatibility
plsql_debug
background_dump_dest
user_dump_dest
commit_write


NAME
--------------------------------------------------------------------------------
sql_trace
parallel_automatic_tuning
parallel_io_cap_enabled

25 rows selected.

 

解决方案:

通过修改pfile启动参数来重建spfile:

[oracle@DBA2 dbs]$ vi initorcl2.ora

将其中的sql_trace项注释掉或者直接删除

SQL>create pfile from spfile;

然后重新启动数据库:

SQL> startup
ORACLE instance started.

Total System Global Area 418484224 bytes
Fixed Size 1336932 bytes
Variable Size 314575260 bytes
Database Buffers 96468992 bytes
Redo Buffers 6103040 bytes
Database mounted.
Database opened.

linux

  • 0
  • Oracle 10g更改用户名称的操作方法

    手动创建数据库的整体流程 Oracle 11g

    相关资讯       ORA-32004 

  • ORA-32004错误 数据库无法启动 解  (10/27/2013 17:17:03)
  • ORA-32004: obsolete and/or   (12/03/2012 10:02:08)
  • 图片资讯      

    本文评论   查看全部评论 (0)

    评论声明

    最新资讯

    本周热门

    Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
    本站(LinuxIDC)所刊载文章不代表同意其说法或描述,,仅为提供更多信息,也不构成任何建议。


    Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号

    最佳 Windows 性能的顶级免费优化软件
    最佳 Windows 性能的顶级免费优化软件

    每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

    下载
    来源:php中文网
    本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
    最新问题
    开源免费商场系统广告
    热门教程
    更多>
    最新下载
    更多>
    网站特效
    网站源码
    网站素材
    前端模板
    关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
    php中文网:公益在线php培训,帮助PHP学习者快速成长!
    关注服务号 技术交流群
    PHP中文网订阅号
    每天精选资源文章推送
    PHP中文网APP
    随时随地碎片化学习

    Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号