ORA-04031: unable to allocate 8388608 bytes of shared memory ("large
Dear Users,
When I run the query with contained nested tables , I am getting this error :
ORA-04031: unable to allocate 8388608 bytes of shared memory ("large
pool","unknown object","hash-join subh","QERHJ Bit vector")
I tried to increase the sort area ,large pool and so on ,but I am encountering the same prob..
I am pasting the .ora file content along with it , I am expectin a solution ...
##############################################################################
# Copyright (c) 1991, 2001 by Oracle Corporation
##############################################################################
###########################################
# Archive
#######################################
log_archive_dest_1='LOCATION=/home/oracle/OraHome1/oradata/ccms/archive'
log_archive_format=%t_%s.dbf
log_archive_start=true
###########################################
# Cache and I/O
###########################################
db_block_size=8192
db_cache_size=67108864
###########################################
# Cursors and Library Cache
###########################################
open_cursors=300
###########################################
# Diagnostics and Statistics
###########################################
background_dump_dest=/home/oracle/OraHome1/admin/ccms/bdump
core_dump_dest=/home/oracle/OraHome1/admin/ccms/cdump
timed_statistics=TRUE
user_dump_dest=/home/oracle/OraHome1/admin/ccms/udump
###########################################
# Distributed, Replication and Snapshot
###########################################
db_domain=""
remote_login_passwordfile=EXCLUSIVE
###########################################
# File Configuration
###########################################
control_files=("/home/oracle/OraHome1/oradata/ccms/control01.ctl", "/home/oracle/OraHome1/oradata/ccms/control02.ctl", "/home/oracle/OraHome1/oradata/ccms/control03.ctl")
###########################################
# MTS
###########################################
dispatchers="(PROTOCOL=TCP)(SER=MODOSE)", "(PROTOCOL=TCP)(PRE=oracle.aurora.server.GiopServer)", "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)", "(protocol=TCP)"
###########################################
# Miscellaneous
###########################################
compatible=9.0.0
db_name=ccms
###########################################
# Network Registration
###########################################
instance_name=ccms
###########################################
# Pools
###########################################
java_pool_size=147440512
#large_pool_size=10485760
shared_pool_size=53470912
shared_pool_reserved_size=2000102
#Above parameter added on 04/03/04
#shared_pool_size = 200010212
log_buffer=163840
###########################################
# Processes and Sessions
###########################################
processes=150
# Redo Log and Recovery
###########################################
fast_start_mttr_target=300
###########################################
# Resource Manager
###########################################
resource_manager_plan=SYSTEM_PLAN
###########################################
# Sort, Hash Joins, Bitmap Indexes
###########################################
#sort_area_size=536870912
sort_area_size=5642880912
###########################################
# System Managed Undo and Rollback Segments
###########################################
undo_management=AUTO
undo_tablespace=UNDOTBS
event="04031 trace name context forever, level 10"
Thanks and Regards
Ramesh
Re: ORA-04031: unable to allocate 8388608 bytes of shared memory ("large
So do you have a large pool or not?
In your init.ora you have:
#large_pool_size=10485760
Run:
show parameter large
and
select * from v$version; and post here the output
Re: ORA-04031: unable to allocate 8388608 bytes of shared memory ("large
Quote:
Originally posted by rameshbabumande
###########################################
# MTS
###########################################
dispatchers="(PROTOCOL=TCP)(SER=MODOSE)", "(PROTOCOL=TCP)(PRE=oracle.aurora.server.GiopServer)", "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)", "(protocol=TCP)"
###########################################
# Sort, Hash Joins, Bitmap Indexes
###########################################
#sort_area_size=536870912
sort_area_size=5642880912
Why are u killing ur SGA? ..
Make it dedicated type, u will not see the error ..
Note :
* Is sort area size of 5GB really necessary ?
* Is Shared Pool Reserved Space of 20M necessary ?
Abhay.