R
R
Roman_ Outside2015-04-13 18:16:20
Oracle
Roman_ Outside, 2015-04-13 18:16:20

How to see how much memory is allocated for an instance?

What are the ways to find out how much memory is allocated for an instance in Oracle Database 11g r2? Needed to transfer to a new server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danila, 2015-04-14
@new_Roman

one)

select name,display_value 
  from v$parameter 
 where name like 'mem%target' 
    or name like 'pga%' 
    or name like 'sga%';

2)
select decode( grouping(nm), 1, 'total', nm ) nm, round(sum(val/1024/1024)) mb
    from   (
   select 'sga' nm, sum(value) val
     from v$sga
    union all
   select 'pga', sum(value)
   from v$sesstat a, v$statname b
    where b.name = 'session pga memory'
    and a.statistic# = b.statistic#  )
  group by rollup(nm)  ;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question