Database Memory & 4030/4031 (MOSC)

MOSC Banner

What are your favorite monitoring queries for SGA memory problems?

edited Sep 22, 2010 7:15PM in Database Memory & 4030/4031 (MOSC) 3 commentsAnswered
 Hi,

If you have a favorite script you use, post it here.  Describe why it is helpful and any insights, tips, hints about use of the query or queries and what the data tells you about potential ORA-4031 problems.

For example, on Oracle 8 and higher, there is a view to breakdown actual memory "health" in the Shared Pool--v$sql_shared_memory.

col alloc_class heading "Allocation"
col total format 999,999,999,999 heading "Total"
col average format 999,999,999.99 heading "Average"
col maximum format 999,999,999 heading "Maximum"

select alloc_class, sum(chunk_size) total, avg(chunk_size) average, max(chunk_size) maximum
from v$sql_shared_memory group by alloc_class

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center