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

错误信息:

启动数据库报错,虽然能正常启动,但是每次看到这个ORA就不爽:
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.

Total System Global Area 415236096 bytes
Fixed Size 2021216 bytes
Variable Size 117442720 bytes
Database Buffers 293601280 bytes
Redo Buffers 2170880 bytes
Database mounted.
Database opened.

查看告警日志如下,可知参数log_archive_start已废弃:
Deprecated system parameters with specified values:
log_archive_start
End of deprecated system parameter listing

处理方法:
1、创建pfilie文件
SQL> create pfile ='/home/oracle/pfileorcl.ora' from spfile;

File created.

2、编辑pfile文件,删除废弃参数log_archive_start
[root@rusky oracle]# vi pfileorcl.ora

3、关闭数据库
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.

4、从pfile创建spfile文件
SQL> create spfile from pfile='/home/oracle/pfileorcl.ora';

File created.

5、startup正常
SQL> startup
ORACLE instance started.

Total System Global Area 415236096 bytes
Fixed Size 2021216 bytes
Variable Size 121637024 bytes
Database Buffers 289406976 bytes
Redo Buffers 2170880 bytes
Database mounted.
Database opened.
SQL>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值