Hello friends,
We are getting timeouts on application from database (RAC - 12.1.0.2.0 two machines on Linux 2.6.32-431.el6.x86_64) after certain number of execution having sql and pl/sql. Whether we run application on 500 tx/sec or 800 tx/sec, we get timeouts relatively. After few timeouts application recovers. If we restart database the scenario occurs after around 2 -3 million transactions after that it can occur randomly.
Assuming there was some problem in SGA, Initially SGA was auto tuned so we tried it to set manual but we are still facing the issue. Currently SGA is manual and v$sgainfo stat is following:
NAME BYTES RES CON_ID
-------------------------------- ---------- --- ----------
Fixed SGA Size | 7659928 | No | 0 |
Redo Buffers | 126554112 | No | 0 |
Buffer Cache Size | 50600083456 | Yes | 0 |
In-Memory Area Size | 0 | No | 0 |
Shared Pool Size | 5502926848 | Yes | 0 |
Large Pool Size | 939524096 | Yes | 0 |
Java Pool Size | 939524096 | Yes | 0 |
Streams Pool Size | 671088640 | Yes | 0 |
Shared IO Pool Size | 536870912 | Yes | 0 |
Data Transfer Cache Size | 0 | Yes | 0 |
Granule Size | 134217728 | No | 0 |
Maximum SGA Size | 58787364864 | No | 0 |
Startup overhead in Shared Pool | 3914611248 | No | 0 |
Free SGA Memory Available | 0 | | 0 |
Output from the query
select component, current_size/1024/1024 "CURRENT_SIZE", min_size/1024/1024 "MIN_SIZE", user_specified_size/1024/1024 "USER_SPECIFIED_SIZE",
last_oper_type "TYPE" from v$memory_dynamic_components;
component current_size MIN_SIZE USER_SPECIFIED_SIZE TYPE
shared pool | 5248 | 4736 | 5248 | GROW |
large pool | 896 | 896 | 896 | STATIC |
java pool | 896 | 896 | 896 | STATIC |
streams pool | 640 | 640 | 640 | STATIC |
SGA Target | 0 | 0 | 0 | STATIC |
DEFAULT buffer cache | 47744 | 47744 | 47744 | SHRINK |
KEEP buffer cache | 0 | 0 | 0 | STATIC |
RECYCLE buffer cache | 0 | 0 | 0 | STATIC |
DEFAULT 2K buffer cache | 0 | 0 | 0 | STATIC |
DEFAULT 4K buffer cache | 0 | 0 | 0 | STATIC |
DEFAULT 8K buffer cache | 0 | 0 | 0 | STATIC |
DEFAULT 16K buffer cache | 0 | 0 | 0 | STATIC |
DEFAULT 32K buffer cache | 0 | 0 | 0 | STATIC |
Shared IO Pool | 512 | 0 | 512 | GROW |
Data Transfer Cache | 0 | 0 | 0 | STATIC |
In-Memory Area | 0 | 0 | 0 | STATIC |
PGA Target | 11264 | 11264 | 11264 | STATIC |
ASM Buffer Cache | 0 | 0 | 48768 | STATIC |
In the above output we see the shared pool is growing.we checked v$sga_resize_ops for the same too.
Please provide your valuable suggestions/feedback.