How to troubleshoot ORA-04031 error?
884659Jan 3 2013 — edited Jan 4 2013I'm getting ORA-04031 errors such as the this one:
ORA-04031: unable to allocate 264 bytes of shared memory ("shared pool","unknown object","PCUR^a9c5b70f","kglob")
Here is the server's information:
OS: RHEL
MEMORY: 48 GB
There is another database on the same server.
Here is the information about the database which has the ORA-04031 errors:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Database size (sum of datafiles) is about 2 GB.
SGA_TARGET = 0
SGA_MAX_SIZE = 224M -- Since SGA_TARGET = 0, does SGA_MAX_SIZE still control the maximum size of SGA?
SHARED_POOL_SIZE = 128M
SHARED_POOL_RESERVED_SIZE = 6710886
LOG_BUFFER = 4890624
LARGE_POOL_SIZE = 0
DB_CACHE_SIZE = 64M
DB_BLOCK_SIZE = 8192
JAVA_POOL_SIZE = 24M
SESSION_CACHED_CURSORS = 50
STATISTICS_LEVEL = TYPICAL
MEMORY_TARGET = 0
MEMORY_MAX_TARGET = 0
CPU_COUNT = 16
SQL AREA has 57% GETHITRATIO, 39939 RELOADS, and 1885 INVALIDATIONS.
Should I just increase SHARED_POOL_SIZE?
Thanks for any help.