2012-06-08 50 views

回答

2

顯示參數可以通過這個選擇模擬:

select 'Total System Global Area' as "Memory", 
     sum(VALUE) as "Value", 
     'bytes' as unit 
from V$SGA 
union all 
select NAME, 
     VALUE, 
     'bytes' 
from V$SGA 

select name, 
     case type 
     when 1 then 'boolean' 
     when 2 then 'string' 
     when 3 then 'integer' 
     when 4 then 'parameter file' 
     when 5 then 'reserved' 
     when 6 then 'big integer' 
     else to_char(type) 
     end as type, 
     value, 
     description, 
     update_comment 
from v$parameter 
where name like '%foo%' 

顯示SGA可以使用此語句來模擬