[转帖]ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
2
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2526 | 回复: 1   主题: [转帖]ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance        上一篇   下一篇 
Grobocknide
注册用户
等级:新兵
经验:66
发帖:2
精华:0
注册:2018-10-9
状态:离线
发送短消息息给Grobocknide 加好友    发送短消息息给Grobocknide 发消息
发表于: IP:您无权察看 2019-9-16 16:23:12 | [全部帖] [楼主帖] 楼主

ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
Oracle 11g for Linux x86_64


因为11g的日志存储位置比较分散,不像10g都在$ORACLE_BASE/admin/$ORACLE_SID/目录下。于是,在参数文件中增加background_dump_dest和user_dump_dest两个参数。

SQL> startup pfile='/home/oracle/init.ora'
ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
ORACLE instance started.
Total System Global Area 1.6602E+10 bytes
Fixed Size 2244872 bytes
Variable Size 1.3019E+10 bytes
Database Buffers 3556769792 bytes
Redo Buffers 23953408 bytes
Database mounted.
Database opened.


出现错误提示说background_dump_dest和user_dump_dest两个参数已经弃用。没有在意,继续执行以下命令:

SQL> create spfile from pfile='/home/oracle/init.ora';
File created.
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 1.6602E+10 bytes
Fixed Size 2244872 bytes
Variable Size 1.3019E+10 bytes
Database Buffers 3556769792 bytes
Redo Buffers 23953408 bytes
Database mounted.
Database opened.
SQL> show parameters background_dump_dest
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
background_dump_dest string /u01/app/oracle/diag/rdbms/rec
koning/reckoning/trace
SQL> show parameters user_dump_dest
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
user_dump_dest string /u01/app/oracle/diag/rdbms/rec
koning/reckoning/trace


出现错误提示信息"ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance"。查看background_dump_dest和user_dump_dest两个参数,发现没有变更成功。

删除参数文件中的background_dump_dest和user_dump_dest两个参数,并重启数据库。数据库正常运行。

阅读11g官方文档,发现background_dump_dest和user_dump_dest两个参数在11中废弃了,由新参数diagnostic_dest所取代。以下是参数说明:

USER_DUMP_DEST
USER_DUMP_DEST specifies the pathname for a directory where the server will write debugging trace files on behalf of a user process.
NOTE
This parameter is ignored by the new diagnosability infrastructure introduced in Oracle Database 11g Release 1, which places trace and core files in a location controlled by the DIAGNOSTIC_DEST initialization parameter.
BACKGROUND_DUMP_DEST
BACKGROUND_DUMP_DEST specifies the pathname (directory or disc) where debugging trace files for the background processes (LGWR, DBWn, and so on) are written during Oracle operations. An alert file in the directory specified by BACKGROUND_DUMP_DEST logs significant database events and messages. Anything that affects the database instance or global database is recorded here. The alert file is a normal text file. Its filename is operating system-dependent. For platforms that support multiple instances, it takes the form alert_sid.log, where sid is the system identifier. This file grows slowly, but without limit, so you might want to delete it periodically. You can delete the file even when the database is running.
NOTE
This parameter is ignored by the new diagnosability infrastructure introduced in Oracle Database 11g Release 1, which places trace and core files in a location controlled by the DIAGNOSTIC_DEST initialization parameter.
DIAGNOSTIC_DEST
As of Oracle Database 11g Release 1, the diagnostics for each database instance are located in a dedicated directory, which can be specified through the DIAGNOSTIC_DEST initialization parameter. The structure of the directory specified by DIAGNOSTIC_DEST is as follows:
<diagnostic_dest>/diag/rdbms/<dbname>/<instname>
This location is known as the Automatic Diagnostic Repository (ADR) Home.For example, if the database name is proddb and the instance name is proddb1, the ADR home directory would be diagnostic_dest>/diag/rdbms/proddb/proddb1.
The following files are located under the ADR home directory:
Trace files - located in subdirectory <adr-home>/trace
Alert logs - located in subdirectory <adr-home>/alert. In addition, the alert.log file is now in XML format, which conforms to the Oracle ARB logging standard.
Core files - located in the subdirectory <adr-home>/cdumd
Incident files - the occurrence of each serious error (for example, ORA-600, ORA-1578,ORA-7445) causes an incident to be created. Each incident is assigned an ID and dumping for each incident (error stack, call stack, block dumps, and so on) is stored in its own file, separated from process trace files. Incident dump files are located in <adr-home>/incident/<incdir#>. You can find the incident dump file location inside the process trace file.




赞(0)    操作        顶端 
联动大白
注册用户
等级:列兵
经验:91
发帖:0
精华:0
注册:2015-5-27
状态:离线
发送短消息息给联动大白 加好友    发送短消息息给联动大白 发消息
发表于: IP:您无权察看 2019-10-15 0:30:00 | [全部帖] [楼主帖] 2  楼

为了方便大家阅读,我对文章中错误号来解释一下吧!

Error Id: ORA-32004

Title: obsolete and/or deprecated parameter(s) specified

Description:

obsolete and/or deprecated parameter(s) specified

Action:

See alert log for a list of parameters that are obsolete. or deprecated. Remove them from the SPFILE or the server side PFILE.

Cause:

One or more obsolete and/or parameters were specified in the SPFILE or the PFILE on the server side.


Error Id: ORA-32006

Title: %s initialization parameter has been deprecated

Description:

%s initialization parameter has been deprecated

Action:

Consult Oracle documentation to find new parameters to use instead.

Cause:

A deprecated parmeter was specified at startup


也许你已明白,但对一个人有用也是我存在的理由!^_^ By:持之以恒的大白

-- 来自: 北京联动北方科技有限公司



赞(0)    操作        顶端 
总帖数
2
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论