ora-00821、ora-00093

00821, 00000, "Specified value of sga_target %sM is too small, needs to be at least %sM"
// *Cause: The specified value of sga_target is too small for the SGA to
//         accommodate all of the necessary SGA components such as the 
//         log buffer, buffer pools, shared pool, etc. 
// *Action: Set sga_target to the recommended value or reduce the values
//          of any SGA component size parameters you have specified.
00093, 00000, "%s must be between %s and %s"
// *Cause: The parameter value is not in a valid range.
// *Action: Modify the parameter value to be within the specified range.

原因:数据库修改process值超过sga的大小时,出现此报错,导致数据库重启失败
处理过程:创建一个pfile

create pfile='$ORACLE_HOME/dbs/temp_init.ora' from spfile;

–$ORACLE_HOME/dbs/temp_init.ora:根据具体情况修改
修改temp_init.ora的sga值,报错时会有一个needs to be at least **M
原值+**值=新值,保存
使用temp_init.ora启动数据库

startup pfile='$ORACLE_HOME/dbs/temp_init.ora'

待数据库启动完成后,检查一下连接性即可

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值