[RU]
Источник ошибки: Ядро мониторинга работы СУБД Oracle
Текст сообщения: Monitoring (Oracle SGA pools state)
Информация
Размер областей памяти пространства SGA
Запрос
select s.name "name",
sum(s.summ) "sum"
from (select case
when pool is null then name
when pool is not null then pool
end as name,
round(sum(bytes)/1024/1024,1) as summ
from v$sgastat group by pool, name
) s group by s.name
union all
select name,
round(bytes/1024/1024) as sum
from v$sgainfo
where name in ('Free SGA Memory Available',
'Streams Pool Size',
'Maximum SGA Size')
Решение
Предоставить пользователю права на чтение данных системного каталога, например
grant select any dictionary to <UserName>;
или
grant select on v$sgastat to <UserName>;
grant select on v$sgainfo to <UserName>;
[EN]
Error Source: Oracle DBMS Operation Monitoring Kernel
Message text: Monitoring (Oracle SGA pools state)
Information
Size of SGA memory pools
Query
select s.name "name",
sum(s.summ) "sum"
from (select case
when pool is null then name
when pool is not null then pool
end as name,
round(sum(bytes)/1024/1024,1) as summ
from v$sgastat group by pool, name
) s group by s.name
union all
select name,
round(bytes/1024/1024) as sum
from v$sgainfo
where name in ('Free SGA Memory Available',
'Streams Pool Size',
'Maximum SGA Size')
Solution
Grant the user rights to read system directory data, for example
grant select any dictionary to <UserName>;
or
grant select on v$sgastat to <UserName>;
grant select on v$sgainfo to <UserName>;