您的位置:首页 > 数据库 > Oracle

ORA-00093:_shared_pool_reserved_min_alloc must be between 4000 and 612xxx的另一种解决方案

2016-11-17 16:47 597 查看
修改sql共享内存后,大小超过_shared_pool_reserved_min_alloc控制保留池中最小的分配大小,默认大小为4400,其取值范围为4000bytes到60M之间(当然这是基于当前共享池大小)报错数据库无法重启。

修改/u01/app/oracle/admin/orcl/pfile/init.ora.5302016102522文件中的shared_pool_size,

# Pools
###########################################
java_pool_size=50331648
large_pool_size=8388608
shared_pool_size=93886080

然后以dba身份登录oracle,强制加载

startup force pfile=/u01/app/oracle/admin/orcl/pfile/init.ora.5302016102522' 

成功了,过程如下

[oracle@iZwz94iiauukqd0ixxirbZ ~]$ sqlplus /nolog

SQL> connect sys / as sysdba

Enter password: 

Connected to an idle instance.

SQL>
startup force pfile='/u01/app/oracle/admin/orcl/pfile/init.ora.5302016102522' 

ORACLE instance started.

Total System Global Area 4158865408 bytes

Fixed Size    2219912 bytes

Variable Size 1912602744 bytes

Database Buffers 2231369728 bytes

Redo Buffers   12673024 bytes

Database mounted.

Database opened.

SQL> show parameter shared_pool

NAME     TYPE
VALUE

------------------------------------ ----------- ------------------------------

shared_pool_reserved_size     big integer 5033164

shared_pool_size     big integer 96M

SQL> 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐