sga_target与db_block_buffers参数冲突

本文介绍了解决Oracle 10g数据库启动时出现ORA-00824错误的方法。此错误通常发生在启用了自动SGA管理并设置了SGA_TARGET参数,但参数文件中还包含了已废弃的db_block_buffers参数。文章提供了详细的步骤来解决这个问题。

SUN 6900  20CPU,80G内存

ORACLE 10203,装了三个实例

首先修改PROJECT

由于SA是默认安装MAX-SHM-MEMORY只有19.6G

# projadd -U oracle -G dba -c 'Ora DB' -p 162 user.oracle
# projmod -sK 'project.max-shm-memory=(priv,50g,deny)' user.oracle

然后分别修改3个实例的SGA_MAX_SIZE和SGA_TARGET参数

发现第三个实例修改后重起报如下错误:

SQL> startup
ORA-00824: cannot set sga_target due to existing internal settings, see alert lo
g for more information

搜索METALINK:

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2 to 10.2
This problem can occur on any platform.

Symptoms

Startup of 10g Database Instance fails with ORA-00824 Error

SQL> connect / as sysdba
Connected to an idle instance.
SQL> startup
ORA-00824: cannot set sga_target due to existing internal settings

Cause

If you enable automatic SGA Management by setting SGA_TARGET >0 and also have db_block_buffers(Obsolete parameter) in your parameter file (pfile/spfile)

Startup of Database fails with ORA-00824 Error

Solution

A) Either you need to disable the Automatic SGA Mangement by setting SGA_Target=0


==OR==

B) Replace the db_block_buffers parameter with db_cache_size parameter

STEPS TO RESOLVE

1. Make an OS copy of the spfile if you do not have a pfile for this database
2. Edit the copy of the spfile to remove the binary stuff before the first parameter
3. Remove the binary stuff after the last parameter.
4. Edit parameters needed to be changed.
5. Save the file and note name and location.
6. Start sqlplus and connect / as sysdba
7. Issue startup pfile = ''
8. Create spfile from pfile.

Errors

ORA-824cannot set sga_target due to existing internal settings

处理办法,找到之前 备份过的PFILE把DB_BLOCK_BUFFERS去掉,然后重建SPFILE,在修改以上2个参数,问题解决

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16856446/viewspace-628511/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/16856446/viewspace-628511/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值