正如标题中所述,我想根据以下信息填写Apex报告:
show sga
show parameter
sql plus
中存在的命令有没有人知道在这个或它引用的表格的背景中发生的select语句?
答案 0 :(得分:2)
可以通过此选择模拟显示参数:
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:
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