ORA-00371: not enough shared pool memory, should be atleast 62198988 bytes
2011-11-05 15:05
633 查看
问题如下:
方法一:
首先确认'$ORACLE_HOME/dbs/spfileORCL.ora’下是否存在此文件,注意实例的大小写,如果存在spfileorcl.ora,则仅需修改一下文件名为spfileORCL.ora问题即可解决;
方法二:
1)先从pfile启动
3)pfile创建好之后,可以将里面的shared_pool_size修改为你需要的大小。
4)关闭数据库,从新建的pfile文件启动
ORA-00371: not enough shared pool memory, should be atleast 62198988 bytes
解决过程:方法一:
首先确认'$ORACLE_HOME/dbs/spfileORCL.ora’下是否存在此文件,注意实例的大小写,如果存在spfileorcl.ora,则仅需修改一下文件名为spfileORCL.ora问题即可解决;
方法二:
1)先从pfile启动
SQL> startup nomount pfile='/opt/ora10g/product/10.2.0/db_1/admin/orcl/pfile/init.ora.105201102812';
ORACLE instance started.
Total System Global Area 218103808 bytes
Fixed Size 1218604 bytes
Variable Size 71305172 bytes
Database Buffers 142606336 bytes
Redo Buffers 2973696 bytes
2)从spfile创建新的pfile文件,(后面创建spfile时需要用到此文件)ORACLE instance started.
Total System Global Area 218103808 bytes
Fixed Size 1218604 bytes
Variable Size 71305172 bytes
Database Buffers 142606336 bytes
Redo Buffers 2973696 bytes
SQL> create spfile='/opt/ora10g/product/10.2.0/db_1/dbs/spfileORCL.ora' from pfile='/opt/ora10g/product/10.2.0/db_1/admin/orcl/pfile/init.ora.20111105';
File created.
注意:如果在数据库安装目录下的dbs目录中没有找到spfile.ora文件,可以到目录下的database目录中寻找。*spfile文件一般为SPFILE实例名.ora...如我的实例名是ORCL,那么我的spfile文件为spfileORCL.ora。File created.
3)pfile创建好之后,可以将里面的shared_pool_size修改为你需要的大小。
4)关闭数据库,从新建的pfile文件启动
SQL> shutdown immediate
SQL> startup pfile='/opt/ora10g/product/10.2.0/db_1/admin/orcl/pfile/init.ora.20111105'
ORACLE instance started.
Total System Global Area 218103808 bytes
Fixed Size 1218604 bytes
Variable Size 71305172 bytes
Database Buffers 142606336 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
5)从修改之后的pfile文件创建spfile.SQL> startup pfile='/opt/ora10g/product/10.2.0/db_1/admin/orcl/pfile/init.ora.20111105'
ORACLE instance started.
Total System Global Area 218103808 bytes
Fixed Size 1218604 bytes
Variable Size 71305172 bytes
Database Buffers 142606336 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
SQL> create spfile='/opt/ora10g/product/10.2.0/db_1/dbs/spfileORCL.ora' from pfile='/opt/ora10g/product/10.2.0/db_1/admin/orcl/pfile/init.ora.20111105';
File created.
6)关闭重启,问题解决File created.
SQL> shutdown immediate
SQL> startup
ORACLE instance started.
Total System Global Area 218103808 bytes
Fixed Size 1218604 bytes
Variable Size 71305172 bytes
Database Buffers 142606336 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
SQL> startup
ORACLE instance started.
Total System Global Area 218103808 bytes
Fixed Size 1218604 bytes
Variable Size 71305172 bytes
Database Buffers 142606336 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
相关文章推荐
- ORA-00371 not enough shared pool memory
- ORA-00371: not enough shared pool memory解决方法
- 【ORA】Specified value of MEMORY_TARGET is too small, needs to be at least 3072M解决办法
- ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool","BEGIN :EXEC_STR := SYS.DBMS...","PL/SQL MPCODE","BAMIM
- ORA-27101: shared memory realm does not exist 错误的处理
- ORA-01034 Oracle not available和ORA-27101 shared memory realm does not exist 解决思路
- Checking monitor must be configured to display at least 256 colors Could not ex
- ORA-27101: shared memory realm does not exist 问题解决办法
- ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist
- ORA-04031: unable to allocate 2048024 bytes of shared memory
- ORA-04031:unable to allocate 4120 bytes of shared memory ‘obj stat mem’故障解决
- Matlab中两个矩阵相乘报错:MTIMES is not fully supported for integer classes. At least one input must be scalar
- Oracle - ora-01034:oracle not available ora-27101:shared memory realm does not exist
- 当SID=racdb时 当sys system 分别 报错 ORA-27101: shared memory realm does not exist
- ORA-27101: shared memory realm does not exist 错误的处理
- ora-01034:ORACLE not available ORA-27101:shared memory realm does not exist
- ORA-27101 Shared memory realm does not exist 解决办法
- ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist
- ORA-27101: shared memory realm does not exist
- 故障处理:ORA-01034 - Oracle not available ORA-27101 - shared memory realm does not exist