Oracle EXAData 19c - Shared pool memory utilization is not going down even no process are running

340 Views Asked by At

Using Oracle Exadata 19c for RDS database. We are running numerous queries from java application and also calling many stored procedures. We identified that as the number of processes/sessions are increasing , shared memory pool utilization is started going up. But once processes are completed and sessions are closed/vanish, still shared memory pool utilization is not coming down which was not the case in previous oracle versions.

We need to manually flush the shared memory pool to bring down the SM utilization back to 0.

Does anyone facing same issue or do we have any configuration in place that we are missing ? Can someone please assist?

1

There are 1 best solutions below

2
Connor McDonald On

Unless your machine is under memory pressure, it would be unwise to release memory back the OS just for the sake of doing so. Flushing the shared pool is generally a bad idea unless you have a specific need to do so (eg memory leak, bug etc), but other than that, you want the SGA to be "full" all the time.

Full means buffer cache will as efficient as possible, library cache will reduce parsing etc...A full SGA is a good thing.